Module 9107 Read From Receiving Buffer - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

December 2001

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
<Read binary value>
Error recognition:
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 spawn job or submit job
Data Transfer by PLC
8 – 37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents