Chapter 4 Communication Protocol
Operating Manual for Communicating Area Sensor
4-13
◎
Example 8. Active upload
Application: Suited for the logistics industry to measure the information about the exterior of a passing
object. The overall area and placement of an object can be calculated based on the fixed scan cycle and
scan result of each cycle. The overall volume can be calculated from the two groups of products. It can also
be used for correction applications in the printing and textile industries.
Description of automatic upload operation procedure:
1. After product is set in measurement mode, power is turned off and then turned on again. After
success, it will flash once every 2 seconds. (Product only needs to be set once.)
Executed action
ASCII
RTU
Switch to measurement mode
:0106008A00026D
01 06 00 8A 00 02 29 E1
2. Setting upload data content
Executed action
ASCII
RTU
Non-shading/shading state of
each beam
:0106008C00006D
01 06 00 8C 00 00 48 21
3. Set scan cycle to scan time (Note 1) + data upload time (Note 2) + delay time setting (default value is
0).
Executed action (ex)
ASCII
RTU
Delay time 1 (0.1msec) = 32
:0106008D00204C
01 06 00 8D 00 20 18 39
Delay time 2 (1msec) = 10
:0106008E000A61
01 06 00 8E 00 0A 69 E6
4. Active upload function
Executed action
ASCII
RTU
Active upload function
:0106008B00016D
01 06 00 8B 00 01 38 20
Description of setting automatic scan cycle:
Scan cycle = beam scan time + data upload time + delay time 1 + delay time 2.
For beam scan time, refer to Table 4-1.
Data upload time depends on total bytes of uploaded data and communication format. Refer to
Table 4-2 and Table 4-3.
Delay time 1: Unit is 0.1msec multiplied by set value.
Delay time 2: Unit is 1msec multiplied by set value.
…
Setting
upload
data
Active
upload
Enable
Setting
delay time
Parameters can be
read/written after power-on.
Power
-on
Switching
to mode 2
Fixed scan cycle
Beam
scan
Data
upload
Delay
time 1
Delay
time 2
Beam
scan
Data
upload
Delay
time 1
Delay
time 2