EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Module 9106 Receive Binary Data through Data Interface

HEIDENHAIN iTNC 530 HSCI
1966 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
July 2013 10.10 Data Transfer by PLC 1923
Module 9106 Receive binary data through data interface
You must first assign the interface to the PLC and initialize it with Module
9100.
Module 9106 reads a block of binary values from one of the two interfaces into
the word memory of the PLC. The transfer is in the form of ASCII-coded
hexadecimal values. Every two ASCII characters from the serial interface
make one byte in the binary block.
The length of the read binary block is returned as the initial variable.
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 first byte in the binary block>
CM 9106
PL B/W/D <>Length of binary block in bytes>
–1: Incorrect module call
Error code:
Marker Value Meaning
M4203 0 Data was received
1 Error code in W1022
W1022 1 Incorrect interface or incorrect byte number or block
too long
4 Block outside value range
11 Odd number of characters or illegal character
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 submit or spawn job

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals