Sample Ladder Program - Omron V430-F Series User Manual For Communication Settings

Autofocus multicode reader
Hide thumbs Also See for V430-F Series:
Table of Contents

Advertisement

3 Controlling Operation and Data Output with Ethernet
3-1-8

Sample Ladder Program

A sample ladder program to execute the following operation.
• Input the Trigger Signal to execute Triggered Read.
• The read character string (Decode Data) is compared with the Verification string (Master Symbol)
stored in the PLC.
• If they match, it is added to the OK/Match count, and if they do not match, it is added to the Mis-
match/NG count.
The following Input and Output Assemblies are used.
• Input Assembly: MXL/SLC Input Assembly (102)
• Output Assembly: Output Assembly (197)
W0.00
Decoding
Single read
command bit
Trigger
Trigger
Acknowledge
Data is Ready
(1) When the flag for Triggered is ON, The Trigger Bit turns ON.
(2) The Trigger Acknowledged Bit (for detecting trigger input) is ON.
(3) When the Trigger Acknowledged Bit ON is detected, the Trigger Bit turns OFF.
(4) When Read is completed, the Data is Ready Bit turns ON.
(5) The Read string (Decode Data) is compared with the Verification string (Master Symbol).
(6) If the two strings match, the Match/OK Count is incremented by 1.
(7) If the two strings do not match, the Mismatch/NG Count is incremented by 1.
3 - 14
=
Master Symbol
Decode Data
<>
Master Symbol
Decode Data
V430-F Series Autofocus Multicode Reader User Manual for Communication Settings
SET
Trigger
RSET
Trigger
RSET
W0.00
++L
OK Count
++L
NG Count

Advertisement

Table of Contents
loading

Table of Contents