Command/Response Method - Omron FH series User Manual

Hide thumbs Also See for FH series:
Table of Contents

Advertisement

Command/Response Method

Parallel
Commands are input to the Sensor Controller by turning the DI signals (DI0 through DI7) ON and OFF. There
is no direct response to these commands. Confirm whether a command was received by checking the ACK
signal. With an FZ5-series Controller, you can check the BUSY status signal instead of the ACK signal.
The command code is input with signals DI0 through DI6, and the command is executed by turning ON DI7.
DI7 DI6
DI5
DI4 DI3 DI2 DI1 DI0
Execution Command
Command information
PLC Link, EtherNet/IP, or EtherCAT
Command/response control signals can be exchanged by storing control commands from the PLC to the
Sensor Controller and responses from the Sensor Controller to the PLC in the I/O memory of the PLC. This
enables you to send single measurement and scene switch requests to the Sensor Controller without any
sequence control with communications commands from the PLC.
Memory Areas Used by the Command/Response Control Method
Command Area
You write the control commands to execute for the Sensor Controller to this area.
You read the results of executing the control commands that were written to the Command Area
Response Area
from this area.
PLC
CPU Unit
I/O memory
(communications areas)
(1) Command Area
(5) Response Area
Flow of Communications between the PLC and the Sensor Controller
(1) The PLC (the user) writes a control command to a specified PLC I/O memory area (the Command
Area).
(2) The PLC (the user) then turns ON the EXE bit to send the control command to the Sensor Controller.
(3) The Sensor Controller executes the received control command.
(4) The Sensor Controller returns a response to the PLC after the control command is executed.
(5) The PLC (the user) stores the response in a specified PLC I/O memory area (the Response Area).
The available control commands depend on the communications protocol that is used.
Refer to the
Command List (p.355).
Note
Command-driven character string output is not supported when using EtherNet/IP tag data link communication or
EtherCAT.
To output character strings, send the commands using EtherNet/IP message communication.
Refer to the
Communicating with the Sensor Controller with EtherNet/IP Message Communications (p.264)
Vision System FH/FZ5 Series User's Manual
for Communications Settings (Z342)
Sensor Controller
(2) Command
• Switch Scene Number
• Single Measurement, etc.
(4) Response
OK, etc.
(3) Command is processed.
Control Methods Using an External Device
1
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz5 series

Table of Contents