C-mode Commands
Type
Header
code
I/O memory
WR
writing
WL
WH
WC
WD
WJ
WE
Timer/counter SV
R#
reading
R$
R%
Timer/counter SV
W#
changing
W$
W%
CPU Unit status
MS
SC
MF
Forced
KS
set/reset
KR
FK
KC
PLC model code
MM
reading
Testing
TS
Program area
RP
accessing
WP
Name
CIO AREA WRITE
LR AREA WRITE
HR AREA WRITE
TIMER/COUNTER PV WRITE Writes the specified timer/counter PV data in word units
DM AREA WRITE
AR AREA WRITE
EM AREA WRITE
TIMER/COUNTER SV READ
1
TIMER/COUNTER SV READ
2
TIMER/COUNTER SV READ
3
TIMER/COUNTER SV
CHANGE 1
TIMER/COUNTER SV
CHANGE 2
TIMER/COUNTER SV
CHANGE 3
STATUS READ
STATUS CHANGE
ERROR READ
FORCED SET
FORCED RESET
MULTIPLE FORCED
SET/RESET
FORCED SET/RESET CAN-
CEL
PLC MODEL READ
TEST
PROGRAM READ
PROGRAM WRITE
Function
Writes the specified data in word units beginning with the
designated CIO word.
Writes the specified data in word units beginning with the
designated LR word.
Writes the specified data in word units beginning with the
designated HR word.
beginning with the designated word.
Writes the specified data in word units beginning with the
designated DM word.
Writes the specified data in word units beginning with the
designated AR word.
Writes the specified data in word units beginning with the
designated EM word.
Reads in four digits BCD the constant SV that is written as
an operand of the designated timer/counter instruction.
Finds the specified timer/counter instruction, beginning
with the designated program address, and reads the con-
stant SV in four digits or the word in which the SV is
stored.
Finds the specified timer/counter instruction, beginning
with the designated program address, and reads the con-
stant SV in four digits (BCD) or the word in which the SV
is stored.
Changes the SV of the specified timer/counter instruction
to a new constant SV.
Finds the specified timer/counter instruction, beginning
with the designated program address in the user program,
and changes the constant SV in four digits (BCD) or the
word in which the SV is stored to a new constant SV or
storage word.
Finds the specified timer/counter instruction, beginning
with the designated program address in the user program,
and changes the constant SV in four digits (BCD) or the
word in which the SV is stored to a new constant SV or
storage word.
Reads the CPU Unit's operating conditions (operating
mode, forced set/reset status, and fatal errors).
Changes the CPU Unit's operating mode.
Reads the CPU Unit's error information (i.e., all fatal or
non-fatal errors currently in effect).
Forcibly sets one designated bit.
Forcibly resets one designated bit.
Forcibly sets/resets/cancels multiple designated bits.
Cancels all forced set/reset status.
Reads the model code of the CPU Unit.
Returns, just as it is, a single block that was sent from the
host computer.
Reads, in one batch, the contents of the CPU Unit's user
program at the machine language (object) level.
Writes into the CPU Unit's user program area the
machine language (object) sent from the host computer.
Section 1-2
3
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 07-2009 and is the answer not in the manual?