Jyrki K. wrote:
I managed to find out that the controller accepts PLC commands still
some things to figure out.
In matter of fact it does not accept PLC commands.
I got a good deal on eBay for HE-310 and sniffed the protocol.
The HE-310 responds to the DTR signal with this message "0h5_ 0hXX 0hXX 0hYY 0hYY 0hZZ 0hZZ 0hIV 0hIV" _=0 nothing selected, _=1 x-axis, _=2 y-axis, _=4 z-axis and _=8 iv-axis.
Y and Z are mutually exclusive as are X and IV (they all still move with 0h5f as shown on the video but the selected axes are not shown correctly on TNC display)
HE-310 supervises the MPG and if problems are shown then "0hA_ 0h00 0h00 0h00 0h00 0h00 0h00 0h00 0h00" message is sent resulting in emergency stop and axis fault displayed.
The MPG keeps track on the selected axis and lights the axis indicator led on its own as does the TNC. "0h51" selects the X-axis and the led lights up on HE-310 and on the TNC display, "0h58" selects the IV-axis and lights up the led on HE-310 and on the TNC, plus it turns off X-axis led on the HE-310, etc.