8 – 32
Module 9101 Release data interface
Module 9101 cancels the assignment of an interface to the PLC. The receive
mode of the interface is canceled.
Can only be called in a submit job or spawn job!
Call:
PS
B/D/W/K <Interface>
0: RS232
1: RS422
CM
9101
Error recognition:
Marker
Value
Meaning
M4203
0
Interface was released
1
Error code in W1022
W1022
1
Incorrect interface
14
Interface not assigned
20
Module was not called in a submit job or spawn job
Module 9102 Status of data interface
Module 9102 reads the status information about an interface in bit-coded
form.
The information "interface ready" is updated when the interface is assigned
to the PLC or NC. If the interface is not assigned, the module reads the last
valid status.
Call:
PS
B/W/D/K <Interface>
0: RS232
1: RS422
CM
9102
PL
B/W/D
<Interface status>
–1: Error code in W1022
Bit 0: Interface is assigned
Bit 1: Interface is assigned to PLC
Bit 2: Interface is ready (see above)
Bit 3: Transmit buffer is empty
Bit 4: Error during transmission
Bit 5: Receive buffer is full
Bit 6: Error in reception
Bit 7: ETX was received (not ready to receive)
Bit 8: Internal buffer from Module 9113 still contains
Error recognition:
Marker
Value
Meaning
M4203
0
Status read
1
Error code in W1022
W1022
1
Incorrect interface
characters
HEIDENHAIN Technical Manual TNC 426, TNC 430