FG_D6_CCLINK_EN_02 / 2020-06-17
Writing of the parameters
The writing of the parameters is carried out by data exchange in the corresponding area depending on
the configuration mode of the slave. Each parameter is identified by one identifier. See identifiers
tables.
This table is an example based on the reading of two parameters:
—
Test time (identifier number 3)
—
Stabilization time (identifier number 2)
—
Select the program on which the parameters have
to be modified
—
Write in the parameter area depending on the
configuration mode of the slave, the number of
parameters followed by their identifiers and their
wanted value:
Example:
On network:
0002(h) 0003(h) 03E8(h) 0000(h) 0002(h) 07D0(h)
0000(h)
0002(h) = two parameters
0003(h) = test time identifier
000003E8(h) = 1000 => 1 second
0002(h) = stabilization time identifier
000007D0(h) = 2000 => 2 second
—
Activate the “Write parameters” command:
Write at the address 00(h), the value 0040(h)
Byte 0 = 40(h) (Y006(h) = 1)
Byte 1 = 00(h)
Acknowledgement
Command echo:
—
Byte 0 = 40(h) (X006(h) = 1)
—
Byte 1 = 00(h)
Command error code:
—
Byte 2 = FF(h)
—
Byte 3 = FF(h)
(if command error code = FFFF(h), command is in
progress)
Running “Write parameters” command
Command finished
Command echo:
—
Byte 0 = 40(h) (X006(h) = 1)
—
Byte 1 = 00(h)
Command error code if the command is correctly
carried out:
—
Byte 2 = 00(h)
—
Byte 3 = 00(h)
OR if an error occurred during the command:
—
Byte 2 = 40(h) (X016(h) = 1)
—
Byte 3 = 00(h)