Module 9107 Read From Receiving Buffer - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

1924

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 code:
Marker
Value
Meaning
M4203
0
Receiving buffer was read
1
Error code in W1022
W1022
1
Incorrect interface or incorrect byte number
11
Illegal character
12
String too long or offset too large
14
Interface not assigned
16
Receiving buffer empty
18
Transmission error or input/output not ready
20
Module was not called in a submit or spawn job
HEIDENHAIN Technical Manual iTNC 530 HSCI

Advertisement

Table of Contents
loading

Table of Contents

Save PDF