A-1-30 Other Instructions - Omron CJ2 CPU - REV 10-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

Instruction
Mnemonic
Code
FAILURE
FPD
269
POINT
DETECTION
A-1-30
Other Instructions
Instruction
Mnemonic
Code
SET CARRY
STC
040
@STC
CLEAR
CLC
041
CARRY
@CLC
SELECT EM
EMBC
281
BANK
@EMBC
EXTEND
WDT
094
MAXIMUM
@WDT
CYCLE TIME
SAVE CON-
CCS
282
DITION
@CCS
FLAGS
LOAD CON-
CCL
283
DITION
@CCL
FLAGS
CONVERT
FRMCV
284
ADDRESS
@FRMCV
FROM CV
CJ2 CPU Unit Software User's Manual
Symbol/Operand
Diagnoses a failure in an instruction block by monitoring the
FPD(269)
time between execution of FPD(269) and execution of a
diagnostic output and finding which input is preventing an
C
output from being turned ON.
T
R
C: Control word
T: Monitoring time
Execution
R: 1st register
condition A
word
Next instruction block
Logic diagnosis block*
Logic diagnosis
execution condition C
Logic diagnosis function
Determines which input in C
prevents output B from going ON.
Symbol/Operand
Sets the Carry Flag (CY).
STC(040)
Turns OFF the Carry Flag (CY).
CLC(041)
Changes the current EM bank.
EMBC(281)
N
N: EM bank
number
Extends the maximum cycle time, but only for the cycle in which
WDT(094)
this instruction is executed.
T
T: Timer setting
Saves the status of the condition flags.
CCS(282)
Reads the status of the condition flags that was saved.
CCL(283)
Converts a CV-series PLC memory address to its equivalent
FRMCV(284)
CS/CJ-series PLC memory address.
S
D
S: Word contain-
ing CV-series
memory address
D: Destination
Index Register
Function
Time monitoring function:
Starts timing when execution condition A goes
ON. Generates a non-fatal error if output B
isn't turned ON within the monitoring time.
T
R
Error-processing
block (optional)
Diagnostic output B
Function
Appendices
Execution
Location
condition
Output
Required
Execution
Location
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
A-69

Advertisement

Table of Contents
loading

Table of Contents