8 – 34
Module 9104 Receive string through data interface
You must first assign the interface to the PLC and initialize it with Module
9100.
Module 9104 reads a string from the receive buffer of a serial interface in one
of the 16 string memories and resets the receive buffer.
Can only be called in a submit job or spawn job!
Call:
PS
B/W/D/K <Interface>
0: RS232
1: RS422
PS
K/B/W/D <Number of the string in the string buffer (0 to 15)>
CM
9104
Error recognition:
Marker
Value
Meaning
M4203
0
String was received
1
Error code in W1022
W1022
1
Incorrect interface or incorrect string number
12
String too long
14
Interface not assigned
16
Receiving buffer empty
18
Transmission error or input/output not ready
20
Module was not called in a spawn job or submit job
HEIDENHAIN Technical Manual TNC 426, TNC 430