7i76e + 7i83 Smart Serial

More
05 Aug 2022 16:17 - 05 Aug 2022 16:21 #249127 by jochen91
Hi Folks,
I'm trying to get the 7i76e + 7i83 combination to work.

At the Moment i did not write anything to my .hal File. My goal so far is that the 7i83 just shows up in the Hal components when i start the machine.

I think it has do to something with sserial_port_0=00xxxx what do i have to change to get things going?

The follwoing snippet is the begining of my existing hal file. At the moment the maschine runs flawlessly but i want to reconfigure my servo drives for analog input/speed control.

Oh and what is the purpose of the LEDs CR7/CR8? It is not mentioned in the MAN.

Thanks for the help!

loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=4 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"
setp    hm2_7i76e.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.z,pid.s
loadrt abs names=abs.spindle
loadrt lowpass names=lowpass.spindle

addf hm2_7i76e.0.read         servo-thread
addf motion-command-handler   servo-thread
addf motion-controller        servo-thread
addf pid.x.do-pid-calcs       servo-thread
addf pid.z.do-pid-calcs       servo-thread
addf pid.s.do-pid-calcs       servo-thread
addf abs.spindle              servo-thread
addf lowpass.spindle          servo-thread
addf hm2_7i76e.0.write        servo-thread
Last edit: 05 Aug 2022 16:21 by jochen91.

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

More
05 Aug 2022 17:03 #249133 by PCW
Replied by PCW on topic 7i76e + 7i83 Smart Serial
CR7 and CR8 are status LEDs

The red LED should illuminate when power is applied and the green LED should blink when communication is established.

The red LED indicates a fault (and at power up you will at minimum have a watchdog fault)

sserial_port_0=00xxxx is fine so the trouble lies elsewhere
The following user(s) said Thank You: jochen91

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

More
05 Aug 2022 17:39 #249142 by jochen91
Replied by jochen91 on topic 7i76e + 7i83 Smart Serial
So what else might it be? What can i check that the 7i83 shows up in the HAL Configuration ?

CR7 is on permanently.

In the 7i83 manual TXA and TXB is mentioned. In the 7i76e manual they are named RS-422 TX+ / RS-422 TX-

I made the asumption, that TXA is TX+ and TXB is TX-.

Of course 7i83's TX has to be connected to 7i76e's RX.

When connected correctly the 7i83 should show up in the HAL Configration without any change in die .hal itself?

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

More
05 Aug 2022 17:41 - 05 Aug 2022 17:42 #249143 by PCW
Replied by PCW on topic 7i76e + 7i83 Smart Serial
Did you follow the serial cable color chart in the 7I76E manual?
Last edit: 05 Aug 2022 17:42 by PCW.
The following user(s) said Thank You: jochen91

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

More
05 Aug 2022 18:24 - 05 Aug 2022 18:24 #249149 by jochen91
Replied by jochen91 on topic 7i76e + 7i83 Smart Serial
Mhhhhh ähhhh well....

at least now i did... and who would have thought it... it shows up.

So pardon my stupidity and have a nice day ;)

Thank you very much!
Last edit: 05 Aug 2022 18:24 by jochen91.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum