All data is initially transferred as "INT" data type. An ASCII string looks like gibberish in this format. Changing the
"style" to ASCII instead of "Decimal" reveals the correct string data.
Figure 204. Memory Map: "Style" changed to ASCII
15.5 Modbus/TCP
The Modbus/TCP protocol provides device information using register and coil banks defined by the slave device. This
section defines the register and coil banks. By specification, Modbus/TCP uses TCP port 502.
The following registers are used to send values back and forth from the iVu to the PLC. iVu read-only output data can be
read as Input Registers (30000) using Modbus function code 04 (Read Input Registers). Because some devices like the
Modicon family of PLCs cannot access data using the 30000 range of registers, the same values can also be read from
Holding Registers (40000) using Modbus function code 03 (Read Holding Registers).
The Input Bits can be set as Coils using Modbus function code 05 (Force Single Coil). The state of the Input ACK Bits and
Status Bits can be read as Inputs (10000) using Modbus function code 02 (Read Input Status).
Modbus Function Codes Supported
01: Read Coil Status
02: Read Input Status
03: Read Holding Registers
04: Read Input Registers
05: Force Single Coil
06: Preset Single Register
07: Read Exception Status
16: Preset Multiple Registers
Table 33: Input Bits (Coils 00001-00016)
05: Force Single Coil
Register
Bit Position
WORD Name
00001
0
Product Change
00002
1
Teach Latch
00003
2
Trigger
00004
3
Barcode models only
00005
4
reserved
00006
5
reserved
00007
6
reserved
00008
7
reserved
00009
8
reserved
iVu Plus TG and Color Gen2 Image Sensors
152
www.bannerengineering.com - Tel: + 1 888 373 6767