Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1803

Hide thumbs Also See for MANUALplus 620:

Advertisement

January 2012
Module 9107 Read from receiving buffer
You must first assign the interface to the PLC and initialize it with Module
9100.
Module 9107 reads two ASCII characters from the receive buffer to one of the
two interfaces and codes them to a binary value.
You can specify an offset that corresponds to the position of the byte to be
read in a binary block read by Module 9106. The contents of the receiving
buffer are retained and can be read by Modules 9104 and 9106.
Can only be called in a submit job or spawn job!
Call:
PS
B/W/D/K <>Interface>
0: RS232
1: RS422
PS
B/W/D/K <>Offset of byte to be read in binary block>
CM
9107
PL
B/W/D
<>Binary value read>
Error recognition:
Marker
Value
NN_GenApiModule
0
Error (M4203)
1
NN_GenApiModule
1
ErrorCode (W1022)
11
12
14
16
18
20
9.11 Data Transfer by PLC
Meaning
Receiving buffer was read
Error code in NN_GenApiModuleErrorCode
(W1022)
Incorrect interface or incorrect byte number
Illegal character
String too long or offset too large
Interface not assigned
Receiving buffer empty
Transmission error or input/output not ready
Module was not called in a spawn job or
submit job
1803

Advertisement

loading