12.1.2
Command Block for the COMMREQ Function
The Command Block starts at the reference specified in COMMREQ parameter IN. The
length of the Command Block depends on the amount of data sent to the device.
The Command Block contains the data to be communicated to the other device, plus
information related to the execution of the COMMREQ. The Command Block has the
following structure:
address
Length (in words)
a 1
Wait/No Wait Flag
a 2
Status Pointer Memory
a 3
Status Pointer Offset
a 4
Idle Timeout Value
a 5
Maximum Communication Time
a 6 to
a 133
Data Block
12.1.3
Example of the COMMREQ Function
In the example, when %M0021 is ON, a Command Block located starting at %R0032 is
sent to port 2 (communications task 20) of the CPU (rack 0, slot 0). If an error occurs
processing the COMMREQ, %Q0110 is set.
%R0032
%M0021
| |
COMM_
REQ
IN
CONST
0000
SYSID
CONST
00020
TASK
FT
%Q0110
( )
Serial I/O / SNP / RTU Protocols
GFK-1503E User Manual 227
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......