•
ROI Length (X) (Holding Register 30)
•
ROI Width (Y) (Holding Register 31)
•
ROI Height (Z) (Holding Register 32)
2. Toggle the Update ROI Parameters bit (Holding Register 1, bit 0
or
Coil 00001) from 0 to 1.
3. Look for the corresponding Update ROI Parameters ACK bit (Input Register 0, bit 0
or
Holding Register 1001, bit 0
or
Input 10001) to go from 0 to 1.
4. Confirm that the Configuration Error bit (Input Register 1, bit 15
or
Holding Register 1001, bit 15
or
Input 10016) is
still 0.
If it is a 1, read the Configuration Error Code (Holding Register 1022
or
Input Register 22) and correct the error. See
on page 45.
Save Parameters Permanent
—This action tells the sensor to take all editable parameters modifiable over Modbus TCP
and save them in the sensor's permanent memory. This includes the size and position of the Region of Interest, as well as
settings such as Trigger Mode and Output Control Mode.
Reset Application Results
—This action resets all measurement output values to 0 in the Modbus TCP registers.
Trigger
—This action triggers an immediate image acquisition and measurement.
6.2.3 ZMX Sensor Output Values
The ZMX sensor sends output data to the PLC or HMI via a bank of Input Registers (30000).
Some devices, such as the Modicon family of PLCs, cannot access data using the 30000 range of register addresses. For
these devices, the ZMX sensor 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).
Input REG #
Holding REG # WORD NAME
DATA TYPE
RANGE
1
1001
Input ACK & Status bits (Inputs
10001–10016)
16 bits
2
1002
reserved
16-bit UINT
3
1003
16 bit UINT
4
1004
Boot Count
16-bit UINT
1 …. 65535
5–6
1005–1006
Up Time (ms)
32-bit UINT
1 … 4,294,967,295
7–8
1007–1008
Missed Trigger Count
32-bit UINT
0 … 4,294,967,295
9–15
1009–1015
reserved
7 16-bit UINTs
16–17
1016–1017
Frame Number
32-bit UINT
1 … 4,294,967,295
18–19
1018–1019
Invalid Pixel Count (pixels with too
little light received to be able to
measure)
32-bit UINT
0 … 56,576
20–21
1020–1021
Saturated Pixel Count (pixels with too
much light received to be able to
measure)
32-bit UINT
0 … 56,576
22
1022
Configuration Error Code (see
45)
16-bit UINT
23
1023
reserved
16-bit UINT
24
1024
Fill Level %
16-bit UINT
0 … 200
25
1025
Peak Height (mm)
16-bit UINT
0 … 3,500
26
1026
Estimated Item Count
16-bit UINT
0 … 4,294,967,295
27
1027
Output 1 PFM Frequency (Hz)
16-bit UINT
0 | 100 … 600
28
1028
Output 2 PFM Frequency (Hz)
16-bit UINT
0 | 100 … 600
ZMX Series 3D Time of Flight Sensor
www.bannerengineering.com - Tel: + 1 888 373 6767
41