Sample Ladder Program - Omron MicroHAWK V320-F Series User Manual

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

Advertisement

4-5

Sample Ladder Program

A sample ladder program is shown below.
• 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 Match/OK Count, and if they do not match, it is added to the Mis-
match/NG Count.
The following Input and Output Modules are used.
• Input Module: MXL/SLC Input Module (102)
• Output Module: Output Module (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.
Autofocus Multicode Reader MicroHAWK V320-F/V330-F/V420-F/V430-F Series User Manual for Communication Settings (Z407-E1)
4 Controlling Operation and Data Output with PROFINET
=
Master Symbol
Decode Data
<>
Master Symbol
Decode Data
SET
Trigger
RSET
Trigger
RSET
W0.00
++L
OK Count
++L
NG Count
4
4-13

Advertisement

Table of Contents
loading

Table of Contents