Page 1 of 27
TABLE OF CONTENTS
1.
INTRODUCTION ....................................................................................................5
1.1
Overview.............................................................................................................................................................5
1.2
Definiti ons...........................................................................................................................................................5
1.3
1.4
1.5
LED Operation..................................................................................................................................................6
1.6
Serial Operation................................................................................................................................................6
2.1
2.2
2.3
4.2
***Notes on interpreting data from the scale in the INPUT Assembly (IMPLICIT Messaging)............9
4.3
Output (O2T) Instance Attributes (Instance 112) * * * OUTPUT Assembly = Implicit data
TO scale * * * ................................................................................................................................................................11
***Notes on writing data to the scale in the OUTPUT Assembly (IMPLICIT Messaging)....................11
4.4
4.5
6.1
Class Attributes...............................................................................................................................................14
6.2
Instance Attributes.........................................................................................................................................14
6.3
7.1
Class Attributes...............................................................................................................................................15
7.2
Instance Attributes.........................................................................................................................................15
7.3
8.2
8.3
***Notes on reading / writing scale data using the Scale Object (EXPLICIT Messaging).....................16
8.4
9.1
9.2
9.3
***Notes on reading / writing variables(Setpoint Targets) data using the Target Setpoint Object
(EXPLICIT Messaging).............................................................................................................................................20
10
10.1
10.2
10.3
10.4
10.5
10.6
11
12
WEBSERVER.......................................................................................................24
12.1
12.2
12.3
12.4
Diagnostics (diagnostics.htm)......................................................................................................................27
1. Introduction
1.1
Overview
This is a description of the software functionality fo r the GSE Scale System Exlink OEM. This document
doesnt describe any hardware functionality or details of EtherNet/IP, MODBUS TCP, MODBUS RTU or
PROFINET IO.
1.2
Definitions
The following table has a description of all of the data types used.
USINT
UINT
UDINT
INT
STRING
SHORT STRINGNN
BYTE
WORD
DWORD
REAL
1.3
1.4
Reference Documents
ODVA Volume 1: CIP Common Specification, Edition 3.1 2006 ODVA
ODVA Volume 3: DeviceNet Adaptation of CIP, Edition 1.3 2006 ODVA
Open DeviceNet Vendor Association, Inc. (ODVA)
ODVA is an independent supplier organization that manages the DeviceNet and EtherNet/IP specification
and supports the worldwide growth of the Common Industrial Protocol (CIP).
1.5
LED Operation
1.6
Transmissions from the Exlink to the GSE Scale flicker the Green LED
Transmissions from the GSE Scale to the Exlink flicker the Red LED
Serial Operation
The serial communication is fixed at 19200 baud, 8 bits, No Parity with 1 stop Bit
The Modbus Node address is fixed at 1
The default poll rate is once per 100 milliseconds
Writes are queued and inserted instead of a read.
Writes return success immediately.
On write failure, the error counter increases and the original register content returns.
The default timeout is 500ms
2.2
Revision
DeviceNet
Data Type
UINT
Data Value
Access Rule
Get
DeviceNet
Data Type
UINT
UINT
UINT
USINT
USINT
WORD
UDINT
Data Value
Access Rule
50DEC
00HEX
10860
01
01
See Below
Unique
32 Bit Value
GSE Scale
Get
Get
Get
Get
2.3
Name
Name
5
6
Vendor Number
Device Type
Product Code Number
Product Major Revision
Product Minor Revision
Status
Serial Number
Product Name
SHORT
STRING32
Get
Get
Get
Common Services
Service Code
05HEX
0EHEX
Implemented for
Class Level
Instance Level
No
Yes
No
Yes
Service Name
Reset
Get_Attribute_Single
4.2
Name
Revision
Max Instance
DeviceNet
Data Type
UINT
UINT
Data Value
Access Rule
2
150
Get
Get
Data Value
Access Rule
Get
Name
Input Data (58 bytes)
DeviceNet
Data Type
UINT[29]
Modbus Register
40011
40013
40014
40015
40017
40018
40019
40021
40022
40023
40025
40026
40027
40029
40030
40031
40033
40034
40035
40037
40038
40039
40041
40042
40003
40004
40005
40006
40007
Description
Gross Scale #1
Net Scale #1
Scaling/Status Bitmap Scale #1
Gross Scale #2
Net Scale #2
Scaling/Status Bitmap Scale #2
Gross Scale #3
Net Scale #3
Scaling/Status Bitmap Scale #3
Gross Scale #4
Net Scale #4
Scaling/Status Bitmap Scale #4
Gross Scale #5
Net Scale #5
Scaling/Status Bitmap Scale #5
Gross Scale #6
Net Scale #6
Scaling/Status Bitmap Scale #6
Gross Scale #7
Net Scale #7
Scaling/Status Bitmap Scale #7
Gross Scale #8
Net Scale #8
Scaling/Status Bitmap Scale #8
Setpoints 1-16 Status
Setpoints 17-32 Status
Setpoints 33-48 Status
Setpoints 49-64 Status
Setpoints 131-138 Status
***Notes on interpreting data from the scale in the INPUT Assembly (IM PLICIT Messaging)
1.
2.
3.
The Gross and Net of the scales is communicated as the number of scale graduations in
calibration units. i.e. scale calibrated by .02 lbs: data of 250 = 5 lbs (250 x .02)
Setpoints Status are 16 bit bitmaps (some GSE Models have fewer Setpoint blocks so the
unavailable setpoints will just be duplicates of the lower numbered Setpoint data words). A data
value of 17 in word 24 would indicate that Setpoints #5 and # 1 are ON (0000000000010001).
Scaling / Status Bitmaps: see Table 4.2.0.
LSB
2
3
4
Overload
Underload
Motion
Center of Zero
5
6
7
8
Motion Delayed
Command Running
Neg. Gross Polarity
Negative Net Polarity
A / D Error
9..13
0 0.00001
1 0.00002
2 0.00005
3 0.0001
4 0.0002
5 0.0005
6 0.001
7 0.002
8 0.005
14..15
Future
MSB
9
10
11
12
13
14
15
16
17
0.01
0.02
0.05
0.1
0.2
0.5
1
2
5
18
19
20
21
22
23
10
20
50
100
200
500
INTEGERS:
DEFAULT SETUP: With
the exceptions of Count,
#Accums, Status (Int /
UInt) and free-fall time
(always .01 sec.), All
Integer / UInt values are
returned as the number of
graduations based on the
calibration setting for scale
#1 (P111).
Future
10
4.3
Name
DeviceNet
Data Type
UINT[15]
Data Value
Access Rule
Get
Modbus Register
40012
40016
40020
40024
40028
40032
40036
40040
40003
40004
40005
40006
40007
40008
40009
Description
Tare Scale #1
Tare Scale #2
Tare Scale #3
Tare Scale #4
Tare Scale #5
Tare Scale #6
Tare Scale #7
Tare Scale #8
Setpoints 1-16 Status
Setpoints 17-32 Status
Setpoints 33-48 Status
Setpoints 49-64 Status
Setpoints 131-138 Status
All ZERO and TARE
Run Macros
***Notes on writing data to the scale in the OUTPUT Assembly (IMPLICIT Messaging)
1. To send a Tare value to Scale #2: set the data in word #1 to the number of scale graduations in
calibration units. i.e. scale calibrated by .5 lbs: word #1 data set to 25 = 12.5 lbs (25 x .5)
2. Words #8 to #12 are 16 bit bitmaps of blocks of setpoints (some GSE Models have fewer
Setpoints so the unavailable setpoints will just be duplicates of the lower numbered bitmaps). To
Activate a Setpoint set its bit: a value of 8 would set Setpoint #4 to ON (0000000000001000). 9
would set Setpoint #1 and #4 ON (0000000000001001). Setting the data to 0 would turn ALL
Setpoints in this bitmap to OFF.
3. Word #13 is similar to the setpoints. Bits 1 to 8 Zero scales 1 to 8 respectively: a value of 2
would Zero scale #2 (0000000000000010), 15 would Zero scales 1, 2, 3 and 4 (00001111). Bits 9
to 16 Tare scales 1 to 8 respectively: Hi byte 1 (256) would cause a Tare on scale #1
(0000000100000000).
4. Word #14 is again a similar bitmap that can start Macros 1 to 16: a data value of 4 would start
Macro #3 (0000000000000100).
4.4
11
4.5
Common Services
Service
Code
0EHEX
10HEX
Implemented for
Class Level
Instance Level
Yes
Yes
Yes
Yes
Service Name
Get_Attribute_Single
Set_Attribute_Single
12
13
Class Attributes
Attribute ID
1
6.2
Data Type
UINT
Data Value
1
Access Rule
Get
Default
Data Value
1
0
0
Access Rule
Instance Attributes
Attribute ID
1
2
3
4
6.3
Name
Revision
Name
Data Type
1
Status
Configuration Capability 2
Configuration Control3
Physical Link Object4
Structure of:
Path Size
Path
Interface Configuration5
Structure of:
IP Address
Network Mask
Gateway Address
Name Server
Name Server 2
Domain Name Size
Domain Name
Host Name 6
Structure of:
Host Name Size
Host Name
DWORD
DWORD
DWORD
UINT
Array Of WORD
Get
Get
Get
Get
2
0x20F6
0x2401
Get
UDINT
UDINT
UDINT
UDINT
UDINT
UINT
STRING
0
0
0
0
0
0
0
Get
UINT
STRING
0
0
Common Services
Service Code
0EHEX
10HEX
Implemented for
Class Level
Yes
No
Service Name
Instance Level
Yes
Yes
Get_Attribute_Single
Set_Attribute_Single
See section 5-3.2.2.1 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
See section 5-3.2.2.2 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
3
See section 5-3.2.2.3 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
4
See section 5-3.2.2.4 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
5
See section 5-3.2.2.5 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
6
See section 5-3.2.2.6 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
2
14
Class Attributes
Attribute ID
1
7.2
Data Type
UINT
Data Value
1
Access Rule
Get
Instance Attributes
Attribute ID
1
2
3
7.3
Name
Revision
Name
Data Type
7
Interface Speed
Interface Flags 8
Physical Address9
UDINT
DWORD
USINT Array[6]
Default
Data Value
100
3
0
Access Rule
Get
Get
Get
Common Services
Service Code
0EHEX
Implemented for
Class Level
Yes
Service Name
Instance Level
Yes
Get_Attribute_Single
See section 5-4.2.2.1 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
See section 5-4.2.2.2 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
9
See section 5-4.2.2.3 of Volume 2: EtherNet/IP Adaptation of CIP from ODVA for more details on this attribute.
8
15
(100 decimal)- 8
Instances)
8.2
101
65HEX
102
103
104
105
106
107
108
109
110
66HEX
67HEX
68HEX
69HEX
6A HEX
6BHEX
6CHEX
6DHEX
6EHEX
Name
Revision
Max Instance
Number Registers to poll
(Immediate Response)
Polling Interval (milliseconds)
Setpoints 1-16 Status
Setpoints 17-32 Status
Setpoints 33-48 Status
Setpoints 49-64 Status
Setpoints 131-138 Status
All ZERO and TARE
Run Macros
Weight / 1000 Pieces
DeviceNet
Data Type
UINT
UINT
UINT
Data Value
1
8
12-100
Access
Rule
Get
Get
Get / Set
UINT
WORD
WORD
WORD
WORD
WORD
WORD
WORD
UINT
10-60000
0
0
0
0
0
0
0
0
Get / Set
Get / Set
Get / Set
Get / Set
Get / Set
Get / Set
Get / Set
Get / Set
Get / Set
DeviceNet
Data Type
INT
INT
INT
WORD
Data Value
Access
Rule
Get
Get / Set
Get
Get
8.3
Name
Gross Weight
Tare Weight
Net Weight
Scaling / Status Bitmap
0
0
0
0
Common Services
Service Code
0EHEX
10HEX
32HEX
33HEX
14
16
50
51
Implemented for
Class Level
Instance Level
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Service Name
Get Attribute Single
Set Attribute Single
Read Modbus Registers
Write Modbus Registers
***Notes on reading / writing scale data using the Scale Object (EXPLICIT Messaging)
1. Activate Setpoint: Instance 0, Attributes 103 to 107 are 16 bit bitmaps of blocks of setpoints
(some GSE Models have fewer Setpoints so the unavailable setpoints will just be a duplicate of a
the lower numbered block). To Activate a Setpoint set its bit: Service 16 Class 100 Instance
0 Attribute 103 data value of 9 would set Setpoint #1 and #4 ON (0000000000001001).
Setting the data to 0 would turn ALL Setpoints in this bitmap to OFF.
Read Setpoint Status: Service 14 Class 100 Instance 0 Attribute 103 a returned data value
of 34 would indicate Setpoints #6 and #2 are on. (0000000000100010)
2.
Zero and Tare: Service 16 Class 100 Instance 0 Attribute 108 is similar to the setpoints.
Bits 1 to 8 Zero scales 1 to 8 respectively: a value of 2 would Zero scale #2 (0000000000000010),
15 would Zero scales 1, 2, 3 and 4 (00001111). High Byte Bits 9 to 16 Tare scales 1 to 8
respectively: High byte of 1 (256) would cause a Tare on scale #1 (0000000100000000).
3.
Run Macro(s): Service 16 Class 100 Instance 0 Attribute 108 is again a similar bitmap that
can start Macros 1 to 16: a data value of 4 would start Macro #3 (0000000000000100).
16
4.
Weight / 1000 Pieces: To read and write the APW for counting we use the weight of 1000 pieces
expressed in number of scale graduations in calibration units. i.e. scale calibrated by .5 lbs:
data set to 25 = 12.5 lbs (25 x .5). Service 16 or 14 Class 100 Instance 0 Attribute 100
5.
Reading Gross or Net Weight: Service 14 Class 100 Instance 1 to 8 Attribute 1 or 3 The
data is expressed as the number of scale graduations in calibration units. i.e. scale calibrated
by .02 lbs: data set to 100 = 2.00 lbs (100 x .02)
6.
Reading Tare Weight: Service 14 Class 100 Instance 1 to 8 Attribute 2 The data is
expressed as the number of scale graduations in calibration units. i.e. scale calibrated by .02
lbs: data set to 100 = 2.00 lbs (100 x .02)
Setting the Tare Weight: Service 16 Class 100 Instance 1 to 8 Attribute 2
7.
Service Code:
Class ID:
Instance ID:
Data:
0x32
0x64
0x00
Word Index
0
1
Description
Starting Address
Length to Read
(in words)
Description
Service Code
Class = Scale Class
Instance = Class Level
Service Data
1.
2.
Starting Address
Length to Read (in words)
10
Value
0x32
0x64
0x00
0x37
0x00
0x05
0x00
Description
Service Code
Class ID
Instance ID
Starting Address (LSB)
Starting Address (MSB)
Length (LSB)
Length (MSB)
The normal scan list is defined by Number of Registers to Poll for Immediate Response stored in register 40001.
17
8.3.2 Response
Description
Data:
Word Index
0
Description
Register Value
Register Value
Response Data
1 to N Registers based on request
8.4
Value
0xNN
0xNN
0xNN
0xNN
0xNN
0xNN
0xNN
0xNN
0xNN
0xNN
Description
Register 40055 (LSB)
Register 40055 (MSB)
Register 40056 (LSB)
Register 40056 (MSB)
Register 40057 (LSB)
Register 40057 (MSB)
Register 40058 (LSB)
Register 40058 (MSB)
Register 40059 (LSB)
Register 40059 (MSB)
8.4.1 Request
All requests not included in the normal scan list11 are immediately forwarded to the scale.
Service Code:
Class ID:
Instance ID:
Data:
0x33
0x64
0x00
Word Index
0
1
2
Description
Starting Address
Length to Read
(in words)
Register Value
Register Value
Description
Service Code
Class = Scale Class
Instance = Class Level
Service Data
1.
2.
3.
Starting Address
Length to Write (in words)
1 to N Registers
Value
0x33
0x64
0x00
0x21
0x00
0x03
0x00
0xNN
0xNN
Description
Service Code
Class ID
Instance ID
Starting Address (LSB)
Starting Address (MSB)
Length (LSB)
Length (MSB)
Register 40033 (LSB)
Register 40033 (MSB)
The normal scan list is defined by Number of Registers to Poll for Immediate Response stored in register 40001.
18
9
10
11
12
0xNN
0xNN
0xNN
0xNN
8.4.2 Response
No data is returned on the response, just success or the error code.
19
9.2
Revision
Max Instance
DeviceNet
Data Type
UINT
UINT
Data Value
DeviceNet
Data Type
INT
Data Value
1
16
Access
Rule
Get
Get
9.3
Name
Name
Target Setpoint
Access
Rule
Get / Set
Common Services
Service
Code
0EHEX
10HEX
Implemented for
Class Level
Instance Level
Yes
Yes
No
Yes
Service Name
Get Attribute Single
Set Attribute Single
***Notes on reading / writing variables(Setpoint Targets) data using the Target Setpoint
Object (EXPLICIT Messaging)
1. The variables identified as Target Setpoint are configured in the scale to be aware of how the scale is
configured for calibration. This means that values for these variables must be communicated as the
number of scale graduations in calibration units. i.e. scale calibrated by .02 lbs: data set to 100 = 2.00
lbs (100 x .02). Variables can be used for purposes other than Setpoint Target values.
Reading the value: Service 14 Class 101 Instance 1 to 16 Attribute 1
Setting the value: Service 16 Class 101 Instance 1 to 16 Attribute 1
20
Implemented for
Class Level
No
Service Name
Instance Level
Yes
Modbus
Register
40011
40013
40014
40015
40017
40018
40019
40021
40022
40023
40025
40026
40027
40029
40030
40031
40033
40034
40035
40037
40038
40039
40041
40042
40003
40004
40005
40006
40007
Description
Gross Scale #1
Net Scale #1
Scaling/Status Bitmap Scale #1
Gross Scale #2
Net Scale #2
Scaling/Status Bitmap Scale #2
Gross Scale #3
Net Scale #3
Scaling/Status Bitmap Scale #3
Gross Scale #4
Net Scale #4
Scaling/Status Bitmap Scale #4
Gross Scale #5
Net Scale #5
Scaling/Status Bitmap Scale #5
Gross Scale #6
Net Scale #6
Scaling/Status Bitmap Scale #6
Gross Scale #7
Net Scale #7
Scaling/Status Bitmap Scale #7
Gross Scale #8
Net Scale #8
Scaling/Status Bitmap Scale #8
Setpoints 1-16 Status
Setpoints 17-32 Status
Setpoints 33-48 Status
Setpoints 49-64 Status
Setpoints 131-138 Status
21
Modbus
Register
40012
40016
40020
40024
40028
40032
40036
40040
40003
40004
40005
40006
40007
40008
40009
40010
Description
Tare Scale #1
Tare Scale #2
Tare Scale #3
Tare Scale #4
Tare Scale #5
Tare Scale #6
Tare Scale #7
Tare Scale #8
Setpoints 1-16 Status
Setpoints 17-32 Status
Setpoints 33-48 Status
Setpoints 49-64 Status
Setpoints 131-138 Status
All ZERO and TARE
Run Macros
Weight / 1000 Pieces
N21:100
12
Modbus
Register
40001
40002
40100
Description
Register 40001
Register 40002
Register 40100
The normal scan list is defined by Number of Registers to Poll for Immediate Response stored in register 40001.
22
11 PROFINET IO TBD
23
12 Webserver
12.1 Main Page (index.htm)
24
25
26
27