Rewriting a setting value of a sensor amplifier – KEYENCE DL-DN1 User Manual
Page 50
3-2 I/O Communication
3-20
- DeviceNet Compatible Network Unit DL-DN1 User’s Manual (GT2) -
3
Co
mm
u
ni
c
a
ting
w
ith t
he G
T
2
s
er
ie
s
Rewriting a Setting Value of a Sensor Amplifier
Available setting values: HIGH setting value, LOW setting value, PRESET setting
value, HH setting value, and LL setting value
Device assignments:
"Rewrite setting value" (page 3-14)
The setting values to be rewritten are those listed above, which are
stored in bank 0. When rewriting the setting values in banks other
than bank 0, use the procedure described in
tings or Status of a Sensor Amplifier" (page 3-24).
When rewriting any setting or parameter other than listed above, use the
procedure described in
"Reading/Writing Settings or Status of a Sensor
This example changes the HIGH setting value of ID01.
It assumes that the operating mode assigned to the device is 3-output mode.
(1) Write the new setting value in the "setting-value rewrite data. "For details of
writable ranges, see
"Command Parameter List for GT2 Series" (page 3-28).
(2) Execute the "request to rewrite setting value" command (0 -> 1).
(3) After the setting value is rewritten, the "setting value rewrite complete" signal flips
from 0 to 1.
(4) If an error occurs during "setting value rewriting " on the sensor amplifier, the
"setting value rewrite error" signal flips from 0 to 1. (The output is an OR sum of
settings.) Check the value entered in the "setting-value rewrite data."
(5) When the "request to rewrite setting value" command is set to 0, the "setting value
rewrite complete" and "setting value rewrite error" parameters flip to 0.
Point
Reference
PLC
(1)
Setting-value rewrite data
1234h
Out area [m+4 to 5]
(2) (5)
Request to rewrite setting value
Out area [m+3] BIT 0
(3)
Setting-value rewrite complete
IN area [n+8] BIT 0
(4)
Setting- value rewrite error
IN area [n+7] BIT 0
Sensor amplifier
Setting-value 1234h
1
0
1
0
1
0