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 114. Memory Map: "Style" changed to ASCII
14.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 BCR to the PLC. iVu BCR 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 13: 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
Gated Trigger
00005
4
reserved
00006
5
Set BCR String
00007
6
Set BCR Mask
00008
7
reserved
00009
8
reserved
iVu Plus BCR Gen2 Series Sensor
118
www.bannerengineering.com - Tel: + 1 888 373 6767