The text of a manual · part 43 of 46
FIS-6801 Industrial Scanner User's Manual, pages 421 to 430
Pages 421 to 430 of 454
The original document is the PDF (7.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Wenglor FIS-6801
Page 421
Appendices Note the following details with “In Read Cycle” and “Actively Scanning” signals: 1. They may be very short-lived. It is possible for the reader to begin and end a read cycle without these signals being seen in active state. 2. They are only valid for normal read cycle operation: continuous, serial, and triggered. They do not reflect operation during bar code configuration, read rate, auto-calibration, or ESP “Setup” mode.
Read Cycle Sequence Counter When this value changes, it indicates a new read cycle report is present. Read cycle report data is only valid when Sequence is not 0. Read cycle reports are only output during normal read cycles: continuous, serial, and triggered. Read cycle reports are not output during bar code configuration, read rate, auto-calibration, or ESP “Setup” mode.
Read Cycle Report: Trigger, Decode/Match, Mismatch, No Read Count These are the historical read cycle result counters. By comparing the values to a previous report, the number of decodes, mismatches and noreads in the current read cycle can be determined.
Read Cycle Report: Decode Data This string has the same format that would be output a serial port or tcp connection, with one difference: preamble and postamble are not added.
FIS-6801 OUT Assembly 0xC6, 198 decimal: Command (OUT= PLC -> FIS-6801) Field #
Data Type
0
U32 U32 (32 bit flags) U32 (32 bit flags)
1 2
Size (# of Data Type Elements 1
Field Name User-Defined Tag
1
Command
1
External Output Control
User Defined Tag This provides the PLC programmer a method of uniquely identifying multiple readers in the system. This field serves no functional purpose in the FIS-6801. The value sent by the PLC for this field is echoed back to the input assemblies.
FIS-6801 Industrial Scanner User’s Manual
A-93
Page 422
Using EtherNet/IP
Command Bit # 0 1 2-7 8 9-15 16 17 18-31
Action Trigger New Master Disable Scanning Reserved Clear Read Cycle Report and Counters Unlatch Outputs Reserved
The PLC programmer should verify that a Command has been received by FIS-6801 by observing the equivalent “echo” field in the IN assemblies. Trigger (0) Edge event-driven. Takes effect when read mode is Serial, Edge, or Level. A transition from 0 to 1 is a rising edge trigger event. A transition from 1 to 0 is a falling edge trigger event. The following sources all induce trigger events in the reader, including: • A serial command from a serial com port • EZ button • External Trigger input signal on connector A • Command:Trigger bit in the OUT assembly If the reader is to be exclusively triggered by the PLC, then all other trigger sources must be kept idle. New Master (1) Edge-event driven. A transition from 0 to 1 is a command to the unit similar to sending the <G> serial command, or activating the New Master input on connector A. When activated, the New Master function instructs the reader to store the next decode in the master symbol database. Disable Scanning (8) Operates the same as the <H> and <I> commands. A transition from 0 to 1 is the same as sending an <I> command, which issues a “disable” event. A transition from 1 to 0 is the same thing as sending an <H> command, which issues an “enable” event. Note that the most recent command, either <H> or <I> serial commands or the Camera Action:DisableScanning command will always override the previous “scanning disable” state. To verify scanning status, observe the DeviceStatus field in asm 0x65.
A-94
FIS-6801 Industrial Scanner User’s Manual
Page 423
Appendices Clear Read Cycle Report and Counters (16) Trigger, Decode/Match, Mismatch, Noread, Decoded Data string, and Sequence. A transition from 0 to 1 is similar to sending the commands <U><W><Y><O>, which clear the historical read cycle counters. Also, the Sequence counter and Decoded Data string will go to 0. Note that if this command is received while a read cycle is active, execution of the command will be delayed until the read cycle has ended, and the read cycle’s information will probably be lost. Unlatch Outputs (17) If any outputs are configured for “Unlatch on Input1”, a transition from 0 to 1 will unlatch the output. See configuration commands K810-812. It is not necessary for Input 1 to be enabled.
External Output Control Bit # 0 1 2 3-31
Pin Name Out1 Out2 Out3 Reserved
0 = open the output contact 1 = close the output contact Note: Not operational at this time.
FIS-6801 OUT Assembly 0xC7, 199 decimal: Serial Command (OUT: PLC -> FIS-6801) Field # 0 1
Data Type U32 U8
Size (# of Data Type Elements 1 256
Field Name Length of Command String (Field 1) Command String
Accessible only by unconnected explicit message. This assembly enables the PLC to send serial commands to the device, similar to a serial port.
Known Issues and Limitations 1. External Output Control has not been implemented yet. 2. There is currently no way to receive serial command responses back from the FIS-6801.
FIS-6801 Industrial Scanner User’s Manual
A-95
Page 424
Using EtherNet/IP
Programming Flow Charts Triggered by PLC, symbol data required, timeout or decode ends read cycle. Setup: Read Cycle Trigger Mode = External Edge or External Level. Symbol Data Output = Enabled globally and for EtherNet/IP. When to Output = As Soon As Possible. End of Read Cycle = Timeout.
A-96
FIS-6801 Industrial Scanner User’s Manual
Page 425
No Read message = Enabled.
Triggered by PLC. Barcode data required. Timeout or decode ends readcycle.
Init: Clear OUT.Command to0
| Reader is idle
Wait for system event “begin bar code reading”
PrevSeg is a separate program tag
Copy variable used to detect new read data
IN.Sequence to “PrevSeq"
Set IN.Command. Trigger OUT.Command. Trigger will also change in response to1
Wait for IN.Sequence to change.
Optional: Use a timeout mechanism to Is limit the time waiting for IN.Sequence
PrevSeq != to change.
IN. Sequence If a timeout occurs, assume a
NOREAD, and initiate error handling.
Yes ¥ Check for NOREAD. Use the string length field to determine Process the number of valid characters.
IN.DecodedData
Clear OUT.Command. Trigger to0
FIS-6801 Industrial Scanner User’s Manual
Wait for reader to recognize the falling trigger.
Is Optional: Use a timeout mechanism to limit the IN.CommandEcho. Trigger time waiting for the echoed Trigger to fall. ==07 If a timeout occurs, initiate error handling.
Appendices
A-97
Page 426
Using EtherNet/IP
NET and MOD LED Indicators MOD (Module) Indicator State
Summary
Steady OFF
No power
Steady GREEN
Device operational
Steady RED
Major fault
Flashing GREEN / Self-test RED
Requirement If no power is supplied to the device, the module status indicator will be steady OFF. If the device is operating correctly, the module status indicator will be steady GREEN. If the device has detected a non-recoverable minor fault, the module status indicator will be steady RED. While the device is performing its power-up testing, the module status indicator will be flashing GREEN / RED.
wenglor Implementation Per requirement Per requirement Safe Mode: Basic comm. only. Scanning system non-functional. Per requirement.
NET (Network) wenglor Implementation No power, no Per requirement. If the device does not have an IP device has IP address Steady OFF address (or is powered off), the network Before acquired an IP status indicator will be steady OFF. address via DHCP. requirement. If the device has no established connections, Per After device has has obtained an IP address, the Flashing GREEN No connections but acquired an IP network status indicator will be flashing address (static or GREEN. DHCP). If the device has at least one established connection (even to the Message Steady GREEN Connected Router), the network status indicator will Per requirement. be steady GREEN. Connection If one or more of the connections in which the device is the target has timed Per requirement. timeout Flashing RED out, the network status indicator will be flashing RED. If the device has detected that its IP Steady RED Duplicate IP address is already in use, the network Not implemented. status indicator will be steady RED. While the device is performing its Flashing GREEN / Self-test power-up testing, the module status Per requirement. RED indicator will be flashing GREEN / RED. Indicator State
A-98
Summary
Requirement
FIS-6801 Industrial Scanner User’s Manual
Page 427
Appendices
Appendix J, Allen-Bradley PLC Setup Allen-Bradley PLC Setup This section was created and run on the following Allen Bradley/Rockwell components: • RSLogix 5000 Version 16 • ControlLogix 5561 processor • 756-ENBT/A EtherNet/IP interface card, firmware version 4.003 or newer. This setup procedure was also followed in RSLogix with a CompactLogix 5332E as the processor, though the final program was not tested with a CompactLogix processor. 1. Create the I/O Configuration for the base system, including the system’s Ethernet interface:
FIS-6801 Industrial Scanner User’s Manual
A-99
Page 428
Allen-Bradley PLC Setup 2. Add FIS-6801 by right-clicking on the Ethernet interface, and select “New Module”:
3. Select “ETHERNET-MODULE Generic Ethernet Module”, and click OK:
A-100
FIS-6801 Industrial Scanner User’s Manual
Page 429
Appendices 4. Configure the following fields: “Name” = A useful name to remember the unit “IP Address” = The IP Address of FIS-6801 “Comm Format” = “Data – DINT” “Input” “Assembly Instance” = Choose either 100 (Small) or 101 (Big) “Input” “Size” = 21 (Small), or 44 (Big) “Output” “Assembly Instance” = 198 “Output” “Size” = 3 “Configuration” “Assembly Instance” = 1 “Configuration” “Size” = 0 (none) 5. Click OK when done. Example: For Small IN (Instance 100, Size 21):
FIS-6801 Industrial Scanner User’s Manual
A-101
Page 430
Allen-Bradley PLC Setup Example: For Big IN (Instance 101, Size 44):
6. Configure the “Required Packet Interval (RPI)” and click OK. 20 ms or slower is strongly recommended. 10 ms is the minimum allowed by FIS-6801:
A-102
FIS-6801 Industrial Scanner User’s Manual