453
Host Link Commands
Section 6-5
Note
1.
When this command is used to write data to the PV area, the Completion
Flags for the timers/counters that are written will be turned OFF.
2.
If data is specified for writing which exceeds the allowable range, an error
will be generated and the writing operation will not be executed. If, for ex-
ample, 510 is specified as the beginning word for writing, and three words
of data are specified, then 512 will become the last word for writing data,
and the command will not be executed because TC 512 is beyond area
boundary.
6-5-13 TC STATUS WRITE –– WG
Writes the status of the Completion Flags for timers and counters in the TC
area, starting from the specified timer/counter (number). Writing is done num-
ber by number.
Command Format
Note
Divide the command when writing the status of more than 118 timer/counters.
Response Format
An end code of 00 indicates normal completion.
Parameters
Write Data (Command)
Specify the status of the Completion Flags, for the number of timers/counters
to be written, in order (from the beginning word) as ON (i.e., “1”) or OFF (i.e.,
“0”). When a Completion Flag is ON, it indicates that the time or count is up.
Note
If data is specified for writing which exceeds the allowable range, an error will
be generated and the writing operation will not be executed. If, for example,
510 is specified as the beginning word for writing, and three words of data are
specified, then 512 will become the last word for writing data, and the com-
mand will not be executed because TC 512 is beyond area boundary.
6-5-14 DM AREA WRITE –– WD
Writes data to the DM area, starting from the specified word. Writing is done
word by word.
Command Format
Note
Divide the command when writing more than 29 words of data.
@
FCS
W
G
x 10
1
x 10
0
x 10
2
*
↵
x 10
1
x 10
0
Node
No.
Header
code
Write data
(1 timer/counter)
Write data
(for number of TC to write)
Beginning timer/counter
(0000 to 0511)
Terminator
x 10
3
ON/
OFF
@
FCS
W
G
x 10
1
x 10
0
x 16
1
x 16
0
*
↵
Node
No.
End code
Header
code
Terminator
@
FCS
W
D
x 10
1
x 10
0
x 10
3
x 10
2
*
↵
x 10
1
x 10
0
x 16
3
x 16
2
x 16
1
x 16
0
Node
No.
Header
code
Beginning word
(0000 to 6143)
Write data (1 word)
Write data
(for number of words to write)
Terminator