117
C-mode Command Details Section 4-3
4-3-13 TIMER/COUNTER PV WRITE – – WC
Writes the PVs (present values T0000 to T2047 or C0000 to C2047) of timers/
counters starting from the specified word.
Command Format
Response Format
Limitations Commands are divided with regard to timers and counters. If an attempt is
made to designate across timers and counters, an end code of 15 (entry num-
ber data error) will be returned.
Execution Conditions
End Codes An end code of 14 (format error) will be returned if the length of the command
is incorrect.
An end code of 15 (entry number data error) will be returned if the specified
write data exceeds the data area boundary, the beginning word is not speci-
fied in BCD, or the write data is not hexadecimal. (An end code of A5 will be
returned instead of 15 for non-hexadecimal write data in multiple command
frames.)
@
FCS
WC
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
Unit No. (BCD)
Header
code
TerminatorBeginning word
Timer (0000 to 2047)
Counter (2048 to 4095)
Write data (1 word)
Write data
@
FCS
WC
x 10
1
x 10
0
x 16
1
x 16
0
* ↵
Unit No. (BCD) End codeHeader
code
Terminator
Commands Responses PLC Mode UM Area
Single Multiple Single Multiple RUN MON PROG Write-protected Read-protected
OK OK OK No No OK OK OK OK
End code (Hex) Contents
00 Normal completion
01 Not executable in RUN mode
13 FCS error
14 Format error
15 Entry number data error
18 Frame length error
21 Not executable due to CPU Unit CPU error.
A3 Aborted due to FCS error in transmit data
A4 Aborted due to format error in transmit data
A5 Aborted due to entry number data error in transmit data
A8 Aborted due to frame length error in transmit data