Important Global Variables
Global Variable
Data Type
Used For
Notes
ID40_Input01
S_ID40_Input_type_103
EtherNet/IP
ID-40 Reader 1
ID40_Input02
S_ID40_Input_type_103
EtherNet/IP
ID-40 Reader 2
ID40_Input03
S_ID40_Input_type_103
EtherNet/IP
ID-40 Reader 3
ID40_Input04
S_ID40_Input_type_103
EtherNet/IP
ID-40 Reader 4
ID40_Input05
S_ID40_Input_type_103
EtherNet/IP
ID-40 Reader 5
ID40_Input06
S_ID40_Input_type_103
EtherNet/IP
ID-40 Reader 6
ID40_Output01
S_ID40_Output_type_197 EtherNet/IP
ID-40 Reader 1
ID40_Output02
S_ID40_Output_type_197 EtherNet/IP
ID-40 Reader 2
ID40_Output03
S_ID40_Output_type_197 EtherNet/IP
ID-40 Reader 3
ID40_Output04
S_ID40_Output_type_197 EtherNet/IP
ID-40 Reader 4
ID40_Output05
S_ID40_Output_type_197 EtherNet/IP
ID-40 Reader 5
ID40_Output06
S_ID40_Output_type_197 EtherNet/IP
ID-40 Reader 6
Input_Bit_00
BOOL
Map to Digital Input Bit 00
Trigger Read
Input_Bit_01
BOOL
Map to Digital Input Bit 01
Reset (Clears counters, stops read cycle,
puts readers online)
Output_Bit_00
BOOL
Map to Digital Output Bit 00
Data Valid
Output_Bit_04
BOOL
Map to Digital Output Bit 04
Decode Status (TRUE on Good Read)
DecodeStatus
BOOL
N/A
Decode Status (TRUE on Good Read)
Decode_FullResults
S_ID40_Input_type_103
N/A
Storage of all results from ID-40 that
read the barcode
DecodeStr
STRING[436]
N/A
Storage of Read String
TrigCount
UDINT
Counter
Trigger Count
ReadCount
UDINT
Counter
Successful Read Count
OverrunCount
UDINT
Counter
Overrun Count (read cycle not completed
when next trigger was received)
ReadTime
LINT
Time (In Milliseconds)
Reports time from trigger to result
HMI_ReadTimeout
LINT
Time (In Milliseconds)
Maximum time to attempt decode, Initial
value set to 2,000 milliseconds
36
Technical Note: MicroHAWK ID-40 360
º
Barcode Reading Solution
TECHNICAL
NOTE
Appendix B