Here's a what I teached my ChatGPT to answer so far as ChatGPT
apparently used my previous false information from here to answer me:
The Heidenhain HE-310 handwheel communicates with the TNC 155 CNC
controller using a serial protocol. Here's a detailed breakdown:
Communication Process:
Trigger Pulse: Every 6 ms, the TNC 155 sends a 12 µs pulse via the
DTR line, signaling the HE-310 to send data.
HE-310 Response: After receiving the pulse, the HE-310 sends a
9-byte packet to the TNC 155.
Packet Structure:
Fault Indicator:
If a fault is detected, the first byte's most significant nibble
is set to 1010 (hex 0xA).
The lower nibble represents the axis in fault:
0xA1: X-axis fault
0xA2: Y-axis fault
0xA4: Z-axis fault
0xA8: IV-axis fault
0xA0: General fault with the HE-310
Normal Operation:
First byte: The lower nibble indicates the active axis:
0x51: X-axis
0x52: Y-axis
0x54: Z-axis
0x58: IV-axis
Remaining bytes: These likely represent incremental encoder data
or other control information.
Special Case:
0x5F: This special packet allows for simultaneous control of all
4 axes (X, Y, Z, and IV), although the TNC 155’s axis selection display
will show random selections when this happens.
Handwheel Switch Behavior:
The HE-310 handwheel includes a switch at the bottom that
enables/disables the handwheel encoders.
When the switch is not pressed, the handwheel is disabled to
prevent accidental movements.
In this state, the HE-310 sends a default packet:
0x50 if no internal error is present.
0xA0 if there is an internal error.
Axis Control:
The HE-310 can control up to 4 axes: X, Y, Z, and IV.
The IV axis can be configured as:
Rotary axes: A, B, or C.
Linear axes: U, V, or W.
The user can select one or two axes to control at a time.
X and IV axes are mutually exclusive, as are Y and Z axes.
Serial Communication Configuration:
Baud Rate: 38400
Parity: Even
Stop Bits: 1
Data Bits: 8
Transmit-Only: The HE-310 only transmits data; it does not receive
any data apart from the DTR pulse used to trigger communication.
Summary:
The HE-310 handwheel protocol allows communication between the handwheel
and TNC 155, transmitting axis movement and fault information. The
handwheel can control up to four axes with specific encoder data and
mutual exclusions between certain axes. The handwheel can also be
disabled using a bottom switch to prevent accidental movements, with the
system responding accordingly based on the switch status.