Command Response Processing - Omron SYSMAC FH Series User Manual

For communication settings
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

2 Methods for Connecting and Communicating with External Devices
2-3-16

Command Response Processing

About control command response processing, the following timing chart describes the ON/OFF timing
of signals related to commands to be input.
l Timing Chart for Command Execution
The Command Request (EXE) signal is used as the trigger to input and execute various com-
mands such as measurement execution stored in advance in the PLC memory.
The Command Completion (FLG) signal turns ON when execution of the control command is com-
pleted. Use this as the trigger to turn OFF the Command Request (EXE) signal.
Command Area
Response Area
(1)
The PLC sets the command code and command parameters.
(2)
After checking that the BUSY signal and the Command Completion (FLG) signal have turned OFF, the
PLC turns ON the Command Request (EXE) signal again to instruct the Sensor Controller to perform
it.
(3)
When receiving the instruction the Sensor Controller performs the command and turns ON the ACK
signal and the BUSY signal.
(4)
When completing the execution, the Sensor Controller sets the command code, response code, and
response data.
The Command Completion (FLG) signal is turned ON.
(5)
The PLC (user) turns OFF the Command Request (EXE) signal when the Command Completion
(FLG) signal turns ON.
2 - 246
ON
Command Code
OFF
(CMD-CODE)
ON
Command Parameter
OFF
(CMD-PARAM)
ON
Command Execute
(EXE) signal
OFF
ON
Command Code
(CMD-CODE)
OFF
ON
Busy
(BUSY) signal
OFF
ON
Command Reception
(ACK) signal
OFF
ON
Response Code
OFF
(RES-CODE)
ON
Response Data
(RES-DATA)
OFF
ON
Command Completion
(FLG) signal
OFF
*1: A timeout error will occur if you do not turn off the Command Execution (EXE) signal within 10
seconds after the Command Completion (FLG) signal is turned ON.
Command Completion (FLG) signal and BUSY signal will be forcefully turned OFF.
*2: Busy (BUSY) signal is automatically switched ON to OFF when the command execution is completed.
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
(3)
Control command is running.
(1) (2)
(4)
(5)
*1
Specified time in the time out setting.
*2
(6)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents