December 2001 Data Transfer by PLC 8 – 35
Module 9105 Transmit binary data through data interface
You must first assign the interface to the PLC and initialize it with Module
9100.
Module 9105 transmits a block of binary values from the word memory of the
PLC to one of the two interfaces. The transfer is in the form of ASCII-coded
hexadecimal values. Every byte in the source block makes two ASCII
characters at the interface.
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 (0 to 1023)>
PS K/B/W/D <Length of the binary block (0 to 63)>
CM 9105
Error recognition:
Marker Value Meaning
M4203 0 Data was transmitted
1 Error code in W1022
W1022 1 Incorrect interface or incorrect byte number or block
too long
4 Block outside value range
13 Interface not ready or no connection
14 Interface not assigned
15 Transmit buffer not empty
20 Module was not called in a submit job or spawn job