Mesa 7i76E+7i77 how to make work together?

More
02 Dec 2019 14:30 #151750 by Fallountam
Of course, I restarted the board.
Now --readhmid tells me:
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 17 IOPort SSerial 0 TXEn5 (Out)
14 18 IOPort SSerial 0 TXData5 (Out)
2 19 IOPort SSerial 0 RXData5 (In)
15 20 IOPort SSerial 0 TXData4 (Out)
3 21 IOPort SSerial 0 RXData4 (In)
16 22 IOPort SSerial 0 TXData3 (Out)
4 23 IOPort SSerial 0 RXData3 (In)
17 24 IOPort MuxedQCountSel 0 MuxSel0 (Out)
5 25 IOPort MuxedQCount 0 MuxQ-A (In)
6 26 IOPort MuxedQCount 0 MuxQ-B (In)
7 27 IOPort MuxedQCount 0 MuxQ-IDX (In)
8 28 IOPort MuxedQCount 1 MuxQ-A (In)
9 29 IOPort MuxedQCount 1 MuxQ-B (In)
10 30 IOPort MuxedQCount 1 MuxQ-IDX (In)
11 31 IOPort MuxedQCount 2 MuxQ-A (In)
12 32 IOPort MuxedQCount 2 MuxQ-B (In)
13 33 IOPort MuxedQCount 2 MuxQ-IDX (In)

IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 34 IOPort SSerial 0 RXData6 (In)
14 35 IOPort SSerial 0 TXData6 (Out)
2 36 IOPort StepGen 8 Step/Table1 (Out)
15 37 IOPort StepGen 8 Dir/Table2 (Out)
3 38 IOPort StepGen 7 Step/Table1 (Out)
16 39 IOPort StepGen 7 Dir/Table2 (Out)
4 40 IOPort StepGen 6 Step/Table1 (Out)
17 41 IOPort StepGen 6 Dir/Table2 (Out)
5 42 IOPort StepGen 5 Step/Table1 (Out)
6 43 IOPort StepGen 5 Dir/Table2 (Out)
7 44 IOPort MuxedQCountSel 6 MuxSel0 (Out)
8 45 IOPort MuxedQCount 3 MuxQ-A (In)
9 46 IOPort MuxedQCount 3 MuxQ-B (In)
10 47 IOPort MuxedQCount 3 MuxQ-IDX (In)
11 48 IOPort MuxedQCount 4 MuxQ-A (In)
12 49 IOPort MuxedQCount 4 MuxQ-B (In)
13 50 IOPort MuxedQCount 4 MuxQ-IDX (In)

it remains to understand what to do next.
Is MuxedQCount the encoder input?

Please Log in or Create an account to join the conversation.

More
02 Dec 2019 14:41 #151751 by PCW
OK that looks like a 7I76E +7I77+7I85 configuration
with P1 being the 7I77 connector

The encoder inputs(channels 0..5) are on the 7I77 card
The following user(s) said Thank You: Fallountam

Please Log in or Create an account to join the conversation.

More
03 Dec 2019 03:36 - 03 Dec 2019 06:10 #151809 by Fallountam
Is it possible to somehow "ping" 77 board and get an answer from it to determine if it works?

And also doubts torment me. The connecting wire 26pin to db25 should have a connection by pin numbers, i.e. 1 to 1, 2 - 2 and so on, or is it more complicated?
Last edit: 03 Dec 2019 06:10 by Fallountam.

Please Log in or Create an account to join the conversation.

More
03 Dec 2019 14:34 #151872 by andypugh

Is it possible to somehow "ping" 77 board and get an answer from it to determine if it works?


The 7i77 is largely passive as you are using it.
If you power the board up, though, and apply field power, I think you will see a few HAL pins mentioning 7i77 in the pin list. These are created by the smart-serial devices on the 7i77.
The following user(s) said Thank You: Fallountam

Please Log in or Create an account to join the conversation.

More
10 Dec 2019 08:07 #152421 by Fallountam
I smoked a few kilograms of the Internet, and here is the result, but I can’t understand which lines can relate to the 77th board.

halcmd: show
Loaded HAL Components:
ID Type Name PID State
470 User halcmd4013 4013 ready
468 RT hm2_eth ready
465 RT hostmot2 ready
462 RT __servo-thread ready
461 RT motmod ready
458 RT trivkins ready
2 User halcmd3222 3222 ready

Component Pins:
Owner Type Dir Value Name
461 bit OUT FALSE axis.0.active
461 bit OUT FALSE axis.0.amp-enable-out
461 bit IN FALSE axis.0.amp-fault-in
461 float OUT 0 axis.0.backlash-corr
461 float OUT 0 axis.0.backlash-filt
461 float OUT 0 axis.0.backlash-vel
461 float OUT 0 axis.0.coarse-pos-cmd
461 bit OUT FALSE axis.0.error
461 float OUT 0 axis.0.f-error
461 float OUT 0 axis.0.f-error-lim
461 bit OUT FALSE axis.0.f-errored
461 bit OUT FALSE axis.0.faulted
461 float OUT 0 axis.0.free-pos-cmd
461 bit OUT FALSE axis.0.free-tp-enable
461 float OUT 0 axis.0.free-vel-lim
461 s32 OUT 0 axis.0.home-state
461 bit IN FALSE axis.0.home-sw-in
461 bit OUT FALSE axis.0.homed
461 bit OUT FALSE axis.0.homing
461 bit OUT FALSE axis.0.in-position
461 bit I/O FALSE axis.0.index-enable
461 s32 IN 0 axis.0.jog-counts
461 bit IN FALSE axis.0.jog-enable
461 float IN 0 axis.0.jog-scale
461 bit IN FALSE axis.0.jog-vel-mode
461 float OUT 0 axis.0.joint-pos-cmd
461 float OUT 0 axis.0.joint-pos-fb
461 float OUT 0 axis.0.joint-vel-cmd
461 bit OUT FALSE axis.0.kb-jog-active
461 float OUT 0 axis.0.motor-offset
461 float OUT 0 axis.0.motor-pos-cmd
461 float IN 0 axis.0.motor-pos-fb
461 bit OUT FALSE axis.0.neg-hard-limit
461 bit IN FALSE axis.0.neg-lim-sw-in
461 bit OUT FALSE axis.0.pos-hard-limit
461 bit IN FALSE axis.0.pos-lim-sw-in
461 bit OUT FALSE axis.0.wheel-jog-active
461 bit OUT FALSE axis.1.active
461 bit OUT FALSE axis.1.amp-enable-out
461 bit IN FALSE axis.1.amp-fault-in
461 float OUT 0 axis.1.backlash-corr
461 float OUT 0 axis.1.backlash-filt
461 float OUT 0 axis.1.backlash-vel
461 float OUT 0 axis.1.coarse-pos-cmd
461 bit OUT FALSE axis.1.error
461 float OUT 0 axis.1.f-error
461 float OUT 0 axis.1.f-error-lim
461 bit OUT FALSE axis.1.f-errored
461 bit OUT FALSE axis.1.faulted
461 float OUT 0 axis.1.free-pos-cmd
461 bit OUT FALSE axis.1.free-tp-enable
461 float OUT 0 axis.1.free-vel-lim
461 s32 OUT 0 axis.1.home-state
461 bit IN FALSE axis.1.home-sw-in
461 bit OUT FALSE axis.1.homed
461 bit OUT FALSE axis.1.homing
461 bit OUT FALSE axis.1.in-position
461 bit I/O FALSE axis.1.index-enable
461 s32 IN 0 axis.1.jog-counts
461 bit IN FALSE axis.1.jog-enable
461 float IN 0 axis.1.jog-scale
461 bit IN FALSE axis.1.jog-vel-mode
461 float OUT 0 axis.1.joint-pos-cmd
461 float OUT 0 axis.1.joint-pos-fb
461 float OUT 0 axis.1.joint-vel-cmd
461 bit OUT FALSE axis.1.kb-jog-active
461 float OUT 0 axis.1.motor-offset
461 float OUT 0 axis.1.motor-pos-cmd
461 float IN 0 axis.1.motor-pos-fb
461 bit OUT FALSE axis.1.neg-hard-limit
461 bit IN FALSE axis.1.neg-lim-sw-in
461 bit OUT FALSE axis.1.pos-hard-limit
461 bit IN FALSE axis.1.pos-lim-sw-in
461 bit OUT FALSE axis.1.wheel-jog-active
461 bit OUT FALSE axis.2.active
461 bit OUT FALSE axis.2.amp-enable-out
461 bit IN FALSE axis.2.amp-fault-in
461 float OUT 0 axis.2.backlash-corr
461 float OUT 0 axis.2.backlash-filt
461 float OUT 0 axis.2.backlash-vel
461 float OUT 0 axis.2.coarse-pos-cmd
461 bit OUT FALSE axis.2.error
461 float OUT 0 axis.2.f-error
461 float OUT 0 axis.2.f-error-lim
461 bit OUT FALSE axis.2.f-errored
461 bit OUT FALSE axis.2.faulted
461 float OUT 0 axis.2.free-pos-cmd
461 bit OUT FALSE axis.2.free-tp-enable
461 float OUT 0 axis.2.free-vel-lim
461 s32 OUT 0 axis.2.home-state
461 bit IN FALSE axis.2.home-sw-in
461 bit OUT FALSE axis.2.homed
461 bit OUT FALSE axis.2.homing
461 bit OUT FALSE axis.2.in-position
461 bit I/O FALSE axis.2.index-enable
461 s32 IN 0 axis.2.jog-counts
461 bit IN FALSE axis.2.jog-enable
461 float IN 0 axis.2.jog-scale
461 bit IN FALSE axis.2.jog-vel-mode
461 float OUT 0 axis.2.joint-pos-cmd
461 float OUT 0 axis.2.joint-pos-fb
461 float OUT 0 axis.2.joint-vel-cmd
461 bit OUT FALSE axis.2.kb-jog-active
461 float OUT 0 axis.2.motor-offset
461 float OUT 0 axis.2.motor-pos-cmd
461 float IN 0 axis.2.motor-pos-fb
461 bit OUT FALSE axis.2.neg-hard-limit
461 bit IN FALSE axis.2.neg-lim-sw-in
461 bit OUT FALSE axis.2.pos-hard-limit
461 bit IN FALSE axis.2.pos-lim-sw-in
461 bit OUT FALSE axis.2.wheel-jog-active
461 s32 OUT 0 motion-command-handler.time
461 s32 OUT 0 motion-controller.time
461 float IN 1 motion.adaptive-feed
461 float IN 0 motion.analog-in-00
461 float IN 0 motion.analog-in-01
461 float IN 0 motion.analog-in-02
461 float IN 0 motion.analog-in-03
461 float OUT 0 motion.analog-out-00
461 float OUT 0 motion.analog-out-01
461 float OUT 0 motion.analog-out-02
461 float OUT 0 motion.analog-out-03
461 bit OUT FALSE motion.coord-error
461 bit OUT FALSE motion.coord-mode
461 float OUT 0 motion.current-vel
461 bit IN FALSE motion.digital-in-00
461 bit IN FALSE motion.digital-in-01
461 bit IN FALSE motion.digital-in-02
461 bit IN FALSE motion.digital-in-03
461 bit OUT FALSE motion.digital-out-00
461 bit OUT FALSE motion.digital-out-01
461 bit OUT FALSE motion.digital-out-02
461 bit OUT FALSE motion.digital-out-03
461 float OUT 0 motion.distance-to-go
461 bit IN TRUE motion.enable
461 bit IN FALSE motion.feed-hold
461 bit IN FALSE motion.feed-inhibit
461 bit OUT FALSE motion.in-position
461 bit OUT FALSE motion.motion-enabled
461 s32 OUT 0 motion.motion-type
461 bit OUT FALSE motion.on-soft-limit
461 bit IN FALSE motion.probe-input
461 s32 OUT 0 motion.program-line
461 float OUT 0 motion.requested-vel
461 bit IN TRUE motion.spindle-at-speed
461 bit OUT FALSE motion.spindle-brake
461 bit OUT FALSE motion.spindle-forward
461 bit I/O FALSE motion.spindle-index-enable
461 bit IN FALSE motion.spindle-inhibit
461 bit IN FALSE motion.spindle-is-oriented
461 bit OUT FALSE motion.spindle-locked
461 bit OUT FALSE motion.spindle-on
461 bit OUT FALSE motion.spindle-orient
461 float OUT 0 motion.spindle-orient-angle
461 s32 IN 0 motion.spindle-orient-fault
461 s32 OUT 0 motion.spindle-orient-mode
461 bit OUT FALSE motion.spindle-reverse
461 float IN 0 motion.spindle-revs
461 float OUT 0 motion.spindle-speed-cmd-rps
461 float IN 0 motion.spindle-speed-in
461 float OUT 0 motion.spindle-speed-out
461 float OUT 0 motion.spindle-speed-out-abs
461 float OUT 0 motion.spindle-speed-out-rps
461 float OUT 0 motion.spindle-speed-out-rps-abs
461 bit OUT FALSE motion.teleop-mode
461 float OUT 0 motion.tooloffset.a
461 float OUT 0 motion.tooloffset.b
461 float OUT 0 motion.tooloffset.c
461 float OUT 0 motion.tooloffset.u
461 float OUT 0 motion.tooloffset.v
461 float OUT 0 motion.tooloffset.w
461 float OUT 0 motion.tooloffset.x
461 float OUT 0 motion.tooloffset.y
461 float OUT 0 motion.tooloffset.z
462 s32 OUT 0 servo-thread.time

Pin Aliases:
Alias Original Name

Signals:
Type Value Name (linked to)

Parameters:
Owner Type Dir Value Name
461 s32 RW 0 motion-command-handler.tmax
461 bit RO FALSE motion-command-handler.tmax-increased
461 s32 RW 0 motion-controller.tmax
461 bit RO FALSE motion-controller.tmax-increased
461 bit RO FALSE motion.debug-bit-0
461 bit RO FALSE motion.debug-bit-1
461 float RO 0 motion.debug-float-0
461 float RO 0 motion.debug-float-1
461 float RO 0 motion.debug-float-2
461 float RO 0 motion.debug-float-3
461 s32 RO 0 motion.debug-s32-0
461 s32 RO 0 motion.debug-s32-1
461 u32 RO 0x00000000 motion.servo.last-period
462 s32 RW 0 servo-thread.tmax
461 float RO 0 tc.0.acc
461 float RO 0 tc.0.pos
461 float RO 0 tc.0.vel
461 float RO 0 tc.1.acc
461 float RO 0 tc.1.pos
461 float RO 0 tc.1.vel
461 float RO 0 tc.2.acc
461 float RO 0 tc.2.pos
461 float RO 0 tc.2.vel
461 float RO 0 tc.3.acc
461 float RO 0 tc.3.pos
461 float RO 0 tc.3.vel
461 u32 RO 0x00000000 traj.active_tc
461 float RO 0 traj.pos_out
461 float RO 0 traj.vel_out

Parameter Aliases:
Alias Original Name

Exported Functions:
Owner CodeAddr Arg FP Users Name
00461 7ff40a2c49c9 00000000 YES 0 motion-command-handler
00461 7ff40a2c70a1 00000000 YES 0 motion-controller

Realtime Threads:
Period FP Name ( Time, Max-Time )
100000 YES servo-thread ( 0, 0 )

Please Log in or Create an account to join the conversation.

More
10 Dec 2019 15:42 #152436 by Todd Zuercher

I smoked a few kilograms of the Internet, and here is the result, but I can’t understand which lines can relate to the 77th board.


Be careful smoking that, that stuff can mess you up ;)
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
10 Dec 2019 15:51 #152438 by bevins
Connect the 7i76e to linuxcnc apply field power and logic power and you will see if it is seeing it.

Please Log in or Create an account to join the conversation.

More
24 Feb 2020 11:01 #158369 by Sviper
Hello

this is my first time working with mesa cards.
I have a 7i76e and a 7i77.
I have already flashed the 7i76e successfully.
The name of the bit file is 7i76e_7i76x1_7i77x1D.bit.
The 7i76e is supplied with 24V via Field Power.
The 7i77 is supplied by the 7i76e via the parallel cable P1.
The Field Power of the 7i77 is supplied with 24V.
I have attached the schematic.
The 7i96e was successfully configured via pncconf. All axes (xyz) are working and also the PNP initiators, inputs and outputs on TB6 are working at the moment.

Has anyone seen an example HAL like the 7i77 on
7i76e is configured?

Is it possible to configure the 7i76e+7i77 in pncconf?
In the configurator I can only select the following:
Board Name 7i76e Internal Data and Firmware 7i76e.
Why can't I select the firmware 7i76+7i77 here?

I can't see the smart serial port of the 7i77 with the IO's in the linuxcnc Hal configurator.
How should it look like in linuxcnc?

Can someone help me?

Thanks for your help
Attachments:

Please Log in or Create an account to join the conversation.

More
24 Feb 2020 12:06 #158374 by tommylight
Since you already have the 7i76e config working, make another config for 5i25/7i77, save it, then open with text editor, find and replace the 5i25 parts with 7i76e, and copy the parts containing 7i77 to the config for the 7i76e.

Please Log in or Create an account to join the conversation.

More
25 Feb 2020 06:49 #158438 by Sviper
Hello

I got my 7i77 working.
I changed the W1 on 7i77 to left. Then the CR16 go to red.
Then I changed the HAL.
The pncconf configuration for the 7i76e write in the Hal sserial_port_0=0xxxx.
I changed it to sserial_port_0=0000.
Then all sserial Ports go to Mode 0 and when I start linuxcnc the CR16 goto green and is blinking.
Now I can see the 7i77 in the Hal configurator and configure encoders, initiators, inputs and outputs.

Thanks
The following user(s) said Thank You: BMac71

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.094 seconds
Powered by Kunena Forum