3 cyclic communication 3-19 – KEYENCE DL-EP1 User Manual
Page 49
3-3 Cyclic communication
3-19
3
C
om
m
uni
ca
tin
g
w
ith
the
G
T2
S
er
ies
- EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (GT2) -
Reading comparator values (P.V. values) from sensor amplifiers
Comparator values (P.V. values) are read from the IN area to which the ID number of
each sensor amplifier is assigned.
Device assignments:
"Monitor Data (84 Words (168 Bytes)) Assembly Instance
(Instance ID): 64H" (Page 3-9)
This example shows how to read the comparator values from the sensor amplifiers
ID01, ID02, and ID03.
(1)When the comparator value of a sensor amplifier is updated, the new comparator
value is entered into the IN area via cyclic communication.
If the comparator value is correct, the parameter range is -199.9999 to 199.9999.
If the current value is over range, under range, or invalid, the previous value is
retained without updating the current value. Use the value with the comparator
value property.
(2)The properties of the comparator value (Current Value n Over Range (each bit of
IN area [6]), Current Value n Under Range (each bit of IN area [8]), and Current
Value n Invalid (each bit of IN area [10]) are entered. If the comparator value of a
sensor amplifier is "over", "under," or "invalid," the bit corresponding to the ID
number of that sensor amplifier is set to 1.
*For the GT2 Series, the comparator value is stored in the current value 0.
PLC
(2)
Comparator value property
Each bit of IN [6, 8,10]
Comparator value of ID 01
1234
4567
6789
IN area [48 to 51]
Comparator value of ID 02
2345
5678
7890
IN area [52 to 55]
Comparator value of ID 03
3456
8901
IN area [56 to 59]
Sensor amplifier
Comparator value of ID 01
1234
4567
6789
Comparator value of ID 02
2345
5678
7890
Comparator value of ID 03
3456
8901
(1)