C-mode Command Details
Parameters
Limitations
Execution Conditions
Commands
Single
Multiple
OK
No
End Codes
126
Note "SP" represents a space (20 Hex).
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.
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.
Responses
Single
Multiple
RUN
OK
No
OK
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.
End code (Hex)
00
04
13
14
15
16
18
21
23
PLC Mode
MON
PROG
Write-protected
OK
OK
Normal completion
Address over
FCS error
Format error
Entry number data error
Command not supported
Frame length error
Not executable due to CPU Unit CPU error.
User memory protected
Section 4-3
UM Area
Read-protected
OK
No
Contents
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 07-2009 and is the answer not in the manual?