Checking Programs; Errors During Cx-Programmer Input; Program Checks With The Cx-Programmer - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

5 Understanding Programming
5-9

Checking Programs

CJ-series programs can be checked at the following four stages.
• Input check during CX-Programmer input operations
• Program check by CX-Programmer
• Instruction check during execution
• Fatal error check (program errors) during execution
5-9-1

Errors during CX-Programmer Input

The program will be automatically checked by the CX-Programmer at the following times.
Timing
When inputting ladder diagrams
When loading files
When downloading files
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.
5-9-2

Program Checks with the CX-Programmer

The user program can be checked in the CX-Programmer. When the program is checked, the user can
specify program check in any of four levels: A, B, or C (in order of the seriousness of the errors) or a
custom check level.
The CX-Programmer does not check range errors for indirectly addressed operands in instructions. If
an instruction's operand data is invalid, the ER Flag will be turned ON during the program execution
check, which is described in the next section. For details, refer to the CS/CJ/NSJ-series Instructions
Reference Manual (Cat. No. W474).
For details on the CX-Programmer's checks, refer to the CX-Programmer Operation Manual (Cat. No.
W446).
5-98
Instruction inputs, operand inputs, programming patterns
All operands for all instructions and all programming patterns
Models supported by the CJ Series and all operands for all instructions
Capacity, etc.
Checked
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents