06: Preset Single Register or 16: Preset
Multiple
Registers
REG #
WORD NAME
DATA TYPE
2-3
Product Change Number
32-bit Integer
4-6
reserved
16-bit Integer
7-8
FTP Filename String Length
32-bit Integer
9-34
FTP Filename String
String (52 characters)
35-500
reserved
16-bit Integer
13.4.2 Sensor Output Values
The VE Series camera sends output data to the PLC or HMI via a bank of Input Registers (30000). Some devices, like the Modicon family
of PLCs, cannot access data using the 30000 range of register addresses. For these devices, the VE output data is also made available as
Holding Registers (40000). To access this data, use either
function
code 04 (Read Input Registers) or
function
code 03 (Read Holding
Registers).
Table 15: Sensor Output Values (Modbus/TCP Input or Holding Registers)
04: Read Input Registers or 03: Read Holding Registers
Input REG #
Holding REG #
WORD NAME
DATA TYPE
1
1001
Input ACK Bits (see
on page 179,
and also Inputs 10001-16)
16-bit Integer
2
1002
Status Bits (see
also Inputs 10017-32)
16-bit Integer
3-4
1003-4
Error Code
32-bit Integer
5-6
1005-6
Inspection
Number
32-bit Integer
7-8
1007-8
Iteration
Count
32-bit Integer
9-10
1009-10
Pass Count
32-bit Integer
11-12
1011-12
Fail Count
32-bit Integer
13-14
1013-14
Missed Triggers
32-bit Integer
15-16
1015-16
Current
Inspection
Time
Float
17
1017
158)
16-bit Integer
18-500
1018-500
User-defined
page 180
16-bit Integer
13.4.3 Input and Output Bits
Writeable Input Bits are inputs to the VE Series camera (outputs from the PLC or HMI). They are used for basic control of the sensor.
They are accessible using
function
code 6 (Preset Single Register). The same control is also possible using Coils 00001-16,
function
code
05 (Force Single Coil).
Table 16: Input Bits: PLC Holding Register 1, also Coils 00001-16
Coil 16
Coil 15
Coil 14
Coil 13
Coil 12
Coil 11
Coil 10
Coil 9
Coil 8
Coil 7
Coil 6
Coil 5
Coil 4
Coil 3
Coil 2
Coil 1
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
reserved
reserved
reserved
reserved
reserved
reserved
reserved
reserved
Input
String
reserved
reserved
reserved
reserved
Trigger
Teach
Latch
Product
Change
Read-only Input ACK Bits are outputs from the VE Series camera (inputs to the PLC or HMI). They are used to acknowledge each of the
input bits sent from the PLC. For example, if the PLC changes the Trigger bit (from Input Bits, above) from a 0 to a 1, the VE changes the
Trigger ACK bit from a 0 to a 1 in response. This
information
is available as Input Registers or Holding Registers. Use either
function
code
04 (Read Input Registers) or
function
code 03 (Read Holding Registers). The same data can be seen as Inputs (10000) using Modbus
function
code 02 (Read Input Status).
VE Series Smart Camera
www.bannerengineering.com - Tel: 763.544.3164
179