Modbus/Tcp - Banner iVu Plus BCR Gen2 Series Instruction Manual

Hide thumbs Also See for iVu Plus BCR Gen2 Series:
Table of Contents

Advertisement

iVu Plus BCR Gen2 Series Sensor
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.

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
00001
00002
00003
00004
00005
00006
00007
00008
00009
118
Figure 114. Memory Map: "Style" changed to ASCII
Bit Position
0
1
2
3
4
5
6
7
8
www.bannerengineering.com - Tel: + 1 888 373 6767
WORD Name
Product Change
Teach Latch
Trigger
Gated Trigger
reserved
Set BCR String
Set BCR Mask
reserved
reserved

Advertisement

Table of Contents
loading

Table of Contents