10.3.5.1
Parameters of the COMMREQ Function
Input/
Output
Choices
Description
enable
flow
When the function is energized, the
communications request is performed.
IN
R, AI, AQ
IN contains the first word of the command block.
SYSID
I, Q, M, T, G, R, AI, AQ,
constant
SYSID contains the rack number (most
significant byte) and slot number (least
significant byte) of the target device.
TASK
R AI, AQ, constant
TASK contains the task ID of the process on the
target device.
FT
flow, none
FT is energized if an error is detected processing
the COMM REQ:
1. The specified target address is not present
(SYSID).
2. The specified task is not valid for the device
(TASK).
3. The data length is 0.
4. The device’s status pointer address (in the
command block) does not exist.
10.3.5.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 COMM REQ. 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
154
GFK-1503E
VersaMax PLC User Manual
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: ......