132
C-mode Command Details Section 4-3
Response Format
Parameters Program Address (Command)
Designate the program address in six digits decimal (BCD) for beginning the
search for the specified timer/counter instruction.
Timer/Counter Type (Command)
Designate the timer/counter instruction type, in ASCII, for changing the con-
stant SV or the word address in which it is stored.
Timer/Counter Number (Command)
Designate in four digits BCD the timer/counter instruction number for reading
the constant SV. (Index register designation is not possible.)
Constant/Area Classification (Command)
Designate the ASCII characters to express the constant or area classification.
New SV/Word Address (Command)
Designate the newly set constant SV or the word address in which it is stored.
Limitations Timers T2048 to T4095 and counters C2048 to C4095 cannot be changed.
If the SV is a DM or EM indirect address, only indirect BCD designations will
be read and an end code of 16 (command not supported) will be returned if
the indirect designation is not BCD.
The SV can be changed only in cyclic task 0.
The maximum EM bank number that can be specified is 12 (0C Hex).
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 program
address is not BCD, or if the timer/counter type or number is out of range
(including hexadecimal data).
An end code of 15 (entry number data error) will be returned if a constant or
area classification is out of range (including hexadecimal data).
An end code of 16 (command not supported) will be returned if the specified
instruction does not exist in the UM Area.
@W%
x 16
0
x 10
0
x 10
1
x 16
1
* ↵
Unit No. (BCD)
Header
code
TerminatorFCSEnd code
Commands Responses PLC Mode UM Area
Single Multiple Single Multiple RUN MON PROG Write-protected Read-protected
OK No OK No No OK OK No No
End code (Hex) Contents
00 Normal completion
01 Not executable in RUN mode
04 Address over
13 FCS error
14 Format error
15 Entry number data error
16 Command not supported
18 Frame length error
19 Not executable
21 Not executable due to CPU Unit CPU error.
23 User memory protected