Checking Programs; Cx-Programmer - Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Checking Programs

1-3
Checking Programs
1-3-1

CX-Programmer

Classification by
Function
Subroutines
Data Shift
Ladder Step Control
Data Control
Block Program
Damage Diagnosis
Instructions with a differen-
tiation option
Note
(1) Block programs can be used in a step ladder program section.
(2) A block program can be used in an interlock section (between IL and ILC).
The block program section will not be executed when the interlock is ON.
(3) A block program section can be used between MULTIPLE JUMP (JMP0)
and MULTIPLE JUMP END (JME0).
(4) A JUMP instruction (JMP) and CONDITIONAL JUMP instruction
(CJP/CJPN) can be used in a block program section. JUMP (JMP) and
JUMP END (JME) instructions, as well as CONDITIONAL JUMP
(CJP/CJPN) and JUMP END (JME) instructions cannot be used in the
block program section unless they are used in pairs. The program will not
execute properly unless these instructions are paired.
CP-series programs can be checked at the following stages.
• Input check during CX-Programmer input and other operations
• Program check by CX-Programmer
• Instruction check during execution
• Fatal error check (program errors) during execution
The program will be automatically checked by the CX-Programmer at the fol-
lowing times.
Timing
When inputting ladder
diagrams
When loading files
When downloading files Models supported by the CP Series and all operands for all
During online editing
The results of checking are output to the text tab of the Output Window. Also,
the left bus bar of illegal program sections will be displayed in red in ladder
view.
Mnemonic
SBN(092) and RET(093)
SFT
STEP(008) and
SNXT(009)
PID
BPRG(096)
FPD(269)
@XXX
%XXX
Checked contents
Instruction inputs, operand inputs, programming patterns
All operands for all instructions and all programming pat-
terns
instructions
Capacity, etc.
Section 1-3
Instruction
SUBROUTINE ENTRY
and SUBROUTINE
RETURN
SHIFT
STEP DEFINE and STEP
START
PID CONTROL
BLOCK PROGRAM
BEGIN
FAILURE POINT DETEC-
TION
Instruction with upward dif-
ferentiation
Instruction with downward
differentiation
41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents