No-Protocol Connection; Outline Of No-Protocol Communications - Omron ZW-C1*T User Manual

Displacement sensor zw series confocal fiber type
Hide thumbs Also See for ZW-C1*T:
Table of Contents

Advertisement

6-2 No-protocol Connection

Outline of No-protocol Communications

A system is possible where no-protocol communications is performed between the displacement sensor and
an external device (e.g. PLC) and control from the external device (e.g. PLC) is performed by commands/
responses.
Communications with the external device is possible over Ethernet or the RS-232C interface. This control
system functions in the RUN mode. Communications is not possible in the FUN mode. Also, when a system
error occurs, commands from the external device are accepted, though setting commands are not executed.
● Command/response system
With no-protocol communications, a control command is sent to the displacement sensor from the external
device (e.g. PLC) and the response is sent from the displacement sensor is received by the external device
(e.g. PLC). By this, the measured value is acquired from the displacement value, and bank switch and various
other controls are performed.
External device
(Example: TCP client)
In actual terms, an ASCII character command (e.g. "MS" for acquiring the measured value) is issued from the
external device (e.g. PLC). The displacement sensor returns responses such as "OK", "NG" or a value.
● Serial data output method after application of measured value
When hold is set, immediately after the measured value has been applied, the measured value data from the
displacement sensor is output automatically to the output device (e.g. PLC).
This enables the measurement value data for all tasks to be easily handed over to an external device (e.g.
PLC).
External device
(Example: TCP server)
Data can be output with Ethernet or with RS-232C. Measured value data can be sent to an external device
(e.g. PLC) serially (continuously) in ASCII format or binary format. External device
There is no handshaking for whether or not an external device (e.g. PLC) can receive data.
ZW User's Manual
Command
• Measured value acquisition
• Bank Switching
Response
OK, etc.
Data
Automatic output of
measured value data of four tasks.
Displacement Sensor
(Example: TCP server)
Displacement Sensor
(Example: TCP client)
No-protocol Connection
169

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents