Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 42 of 46

FIS-6801 Industrial Scanner User's Manual, pages 411 to 420

Pages 411 to 420 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 411

Appendices

Setup 2 Address RES REQ STX ETX ACK NAK LRC

0x01 (translates to) Poll Req @ ‘0x1C’, Unit Select @ ‘0x1D’ 0x04 0x05 0x02 0x03 0x06 0x15 enabled

Transfer 1 HOST_TX Scanner_TX HOST_TX Scanner_TX HOST_TX

‘RES’ ‘0x1D’ ‘REQ’ (Select Unit 1 to receive data) ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘STX’ <T> ‘ETX’ ‘LRC’ ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘RES’ (Terminate Transfer 2)

Transfer 2 HOST_TX Scanner_TX Scanner_TX HOST_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ ‘ACK’ ‘RES’ (Terminate Transfer 1)

Starting with a ‘RES’ ensures a clean transaction, without “leftovers” from the previous transaction.

Error Condition 1 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) Scanner_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... Scanner_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... Scanner_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... Scanner_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... Scanner_TX ‘RES’ (Terminate Transfer 1, data is flushed)

FIS-6801 Industrial Scanner User’s Manual

A-83

Page 412

Protocol Commands

Error Condition 2 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) Scanner_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... Scanner_TX ‘REQ’ (Unit requests an ‘ACK’ again) HOST_TX ‘NAK’ (Host rejects data frame) (Retry Event) Scanner_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ (Unit sends again) HOST_TX ‘ACK’ (Host receives data) Scanner_TX ‘RES’ (Terminate Transfer 1)

Error Condition 3 HOST_TX Scanner_TX HOST_TX (Retry Event) Scanner_TX HOST_TX Scanner_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘BAD LRC’ ‘NAK’ (Host rejects bad LRC data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘GOOD LRC’ (Unit sends again) ‘ACK’ (Host receives data) ‘RES’ Terminate Transfer 1)

The protocol makes 3 retry attempts before data is flushed and transfer is aborted.

A-84

FIS-6801 Industrial Scanner User’s Manual

Page 413

Appendices

Appendix G, ASCII Table Dec 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

Mne NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

Ctrl ^@ ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^^ ^_

Dec 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

FIS-6801 Industrial Scanner User’s Manual

Hex 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F

Ch SP ! “ # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

Dec 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

Hex 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F

Ch @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _

Dec 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

Hex 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F

Ch ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ D

A-85

Page 414

Configuring Ethernet TCP/IP

Appendix H, Configuring Ethernet TCP/IP When using Ethernet to deploy FIS-6801s in an application, the host computer must be in the same IP range as the devices. Network settings are accessible in Windows from the Control Panel. The steps below show how TCP/IP settings can be configured. 1. From the Windows Start Menu, open Control Panel and double-click Network Connections.

2. The Network Connections dialog will appear. Double-click the icon for the Local Area Connection being used in the application.

A-86

FIS-6801 Industrial Scanner User’s Manual

Page 415

Appendices

Configuring Ethernet TCP/IP (cont.) 3. The Local Area Connection Status dialog will appear. To check the host computer’s connection settings, click Details on the Support tab. To verify connection status: On the Support tab, click the Details button to bring up a list of Network Connection Details.

4. A connected FIS-6801’s default address information can be verified in ESP by clicking the Search button in the Connection Wizard. Compare the Scanner’s IP address to the host’s IP address to determine whether or not they are in the same subnet range (this can be determined by your I.T. department if you are unsure).

FIS-6801 Industrial Scanner User’s Manual

A-87

Page 416

Configuring Ethernet TCP/IP

Configuring Ethernet TCP/IP (cont.) 5. To change the host computer’s connection settings, click Properties on the General tab. To change TCP/IP settings: On the General tab, click the Properties button to bring up a list of items being used by the current connection. On the Local Area Connection Properties dialog, double-click Internet Protocol (TCP-IP).

6. The Internet Protocol (TCP/IP) Properties dialog will appear.

Select Use the following IP address to set the IP Address, Subnet, and Gateway.

A-88

FIS-6801 Industrial Scanner User’s Manual

Page 417

Appendices

Appendix I, Using EtherNet/IP This Appendix describes the wenglor FIS-6801 Object Model. Throughout this document, this port will referred to as the “EIP”.

Overview The EIP interface will be identified as a Generic Device (0x00). The interface is designed to support remote serial transmit and receive using explicit unconnected messaging.

Necessary Tools The following tools are helpful for configuring the EIP: • EtherNet/IP Messaging Tool – can be a PLC or Software Tool, must be capable of sending explicit messages and establishing Class 1 connections. EIPScan is an example of such a tool. • Terminal emulation or serial communication tool that can connect to a TCP socket, such as HyperTerminal. • ESP – wenglor’s Easy Setup Program. This tool has the ability to find wenglor products on the network, configure their ip address, then configure all application parameters.

EtherNet/IP Terms of Use EtherNet/IP Technology is governed by the Open DeviceNet Vendor Association, Inc (ODVA). Any person or entity that makes and sells products that implement EtherNet/IP Technology must agree to the Terms of Usage Agreement issued by ODVA. See www.odva.org for details.

Device Type The EtherNet/IP device type is 0x00, Generic Device.

Vendor ID wenglor’s Vendor ID is 1095.

Product Code The Product Code is 6800.

FIS-6801 EtherNet/IP Object Model FIS-6801 uses Class 1 connected messaging to communicate most data in three different io assemblies. The user chooses one of two input assemblies, plus the output assembly, to create a Class 1 connection. Connection properties supported: Class: 1 Trigger Mode: Cyclic and Change of State Cyclic Rate: Greater than 20 ms recommended. 10 ms minimum. Size: Fixed Type: Point-to-Point (PLC OUT, O->T), Point-to-Point and Multicast (PLC IN, T->O) Priority: Low, High, and Scheduled FIS-6801 Industrial Scanner User’s Manual

A-89

Page 418

Using EtherNet/IP

Data Types wenglor Data Type U8 U32

AB PLC SINT DINT

STRING32

STRING

ODVA CIP EDS USINT UDINT

Description Unsigned, 8 bit Unsigned, 32 bit A 32 bit length field, followed by UDINT and BYTE[] 8 bit ASCII characters

FIS-6801 Small IN Assembly 0x64, 100 decimal (IN = FIS-6801 -> PLC) Field # 0 1 2

Data Type U32 U32 (32 bit flags) U32 (32 bit flags)

3

U32

4

STRING 32

Size (# of Data Type Elements 1 1 1

1

U32 + U8[64]

Field Name User-Defined Tag Echo Echo from asm OUT 0xC6 Command Echo Echo from asm OUT 0xC6 Output Control Echo Echo from asm OUT 0xC6 Read Cycle Sequence Counter: When this value changes, it indicates the following read cycle report fields have changed. 0 = Read cycle report has been “reset” to “empty”. Read cycle report data is only valid when Sequence is not 0. Read Cycle Report: Decoded Data Up to 64, 8-bit chars The first U32 is the length of the bar code data in the U8[64] field.

Total= 84 U8, or 21 U32 This is a small, lightweight input assembly. It is a subset of the “Big IN Assembly 0x65”. It provides feedback of the output assembly, and the text of any bar codes decoded by the reader. See Big IN Assembly 0x65 for a description of the data fields.

A-90

FIS-6801 Industrial Scanner User’s Manual

Page 419

Appendices

FIS-6801 Big IN Assembly 0x65, 101 decimal (IN = FIS-6801 -> PLC) Field # 0 1 2 3 4 5

Data Type U32 U32 (32 bit flags) U32 (32 bit flags) U32 (32 bit flags) U32 (32 bit flags) U32 (32 bit flags)

Size (# of Data Type Elements 1 1 1

Field Name User-Defined Tag Echo Echo from asm OUT 0xC6 Command Echo Echo from asm OUT 0xC6 Output Control Echo Echo from asm OUT 0xC6

1

External Input Status (Physical Pin State)

1

External Output Status (Physical Pin State)

1

Device Status

6

U32

1

7 8 9 10

U32 U32 U32 U32

1 1 1 1

11

STRING 32

U32 + U8[128]

Read Cycle Sequence Counter: When this value changes, it indicates the following read cycle report fields have changed. 0 = Read cycle report has been “reset” to “empty”. Read cycle report data is only valid when Sequence is not 0. Read cycle report: Trigger count <T> Read cycle report: Decode/Match count <V> Read cycle report: Mismatch count <X> Read cycle report: Noread count <N> Read cycle report: Decoded Data Up to 128, 8-bit chars The first U32 is the length of the bar code data in the U8[128] field.

Total= 176 U8, or 44 U32 This contains more status information, and a longer bar code string, than the “Small IN Assembly 0x64”. This gives the PLC visibility of the device’s discrete io, current operational status, and read cycle counters.

FIS-6801 Industrial Scanner User’s Manual

A-91

Page 420

Using EtherNet/IP

User Defined Tag Echo, Command Echo, Output Control Echo These are a direct echo of the equivalent fields in the OUT assembly. They provide the PLC programmer with a method of verifying that the OUT data has been received by FIS-6801.

External Input Status (Physical Pin State) Bit # 0 1 2-31

Pin Name Trigger New Master Reserved

0 = no current sensed on input 1 = current sensed on input

External Output Status (Physical Pin State) Bit # 0 1 2 3-31

Pin Name Out1 Out2 Out3 Reserved

0 = output contact is open 1 = output contact is closed

Device Status Field # Bit Name 0 Reserved New Master 1 Requested 2-7 Reserved 8 Scanning Disabled 9-15 Reserved 16 In Read Cycle 17 Actively Scanning

A-92

State 1 = New Master Requested 1 = Scanning Disabled 1 = In Read Cycle 1 = Active Scanning

FIS-6801 Industrial Scanner User’s Manual