126
C-mode Command Details Section 4-3
Note “SP” represents a space (20 Hex).
Parameters Program Address (Command)
Designates the program address in six digits decimal (BCD) for beginning the
search for the specified timer/counter.
Timer/Counter Type (Command)
Designate the timer/counter instruction type for reading the constant SV or the
word address in which it is stored.
Timer/Counter Number (Command)
Designate the timer/counter instruction number for reading the constant SV or
the word address in which it is stored. (Index register designation is not possi-
ble.)
Constant/Area Classification (Response)
The constant or I/O memory area classification is returned, in ASCII, to this
parameter.
SV/Word Address (Response)
The constant SV or the word address in which it is stored is returned to this
parameter.
Limitations Timers T2048 to T4095 and counters C2048 to C4095 cannot be read.
The SV of the first timer/counter found after the designated program address
will be read.
If the SV is outside of range for the timer/counter type or number, an end code
of 16 (command not supported) will be returned.
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.
SV can be read only from cyclic task 0.
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 specified in BCD, or if the timer/counter type or number 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 program.
Commands Responses PLC Mode UM Area
Single Multiple Single Multiple RUN MON PROG Write-protected Read-protected
OK No OK No OK OK OK OK No
End code (Hex) Contents
00 Normal completion
04 Address over
13 FCS error
14 Format error
15 Entry number data error
16 Command not supported
18 Frame length error
21 Not executable due to CPU Unit CPU error.
23 User memory protected