Checking The Program - Omron SYSMAC C20P Operation Manual

Sysmac programmable controllers
Hide thumbs Also See for SYSMAC C20P:
Table of Contents

Advertisement

Inputting, Modifying, and Checking the Program
7–5–3

Checking the Program

Key Sequence
Error Messages
132
Message
Cause and correction
****REPL ROM
An attempt was made to write to ROM or to write-protected
RAM. Be sure a RAM Unit is mounted and that its write-pro-
tect switch is set to OFF.
****PROG OVER
The instruction at the last address in memory is not NOP(00).
Erase all unnecessary instructions at the end of the program
or use a larger Memory Unit.
****ADDR OVER
An address was set that is larger than the highest memory in
Program Memory. Input a smaller address
****SETDATA ERR
Data has been input in the wrong format or beyond defined
limits, e.g., a hexadecimal value has been input for BCD.
Reinput the data.
****I/O NO. ERR
A data area address has been designated that exceeds the
limit of the data area, e.g., an address is too large. Confirm
the requirements for the instruction and reinput the address.
Once a program has been input, it should be checked for syntax to be sure
that no programming rules have been violated. This check should also be
performed if the program has been changed in any way that might create a
syntax error.
To check the program, input the key sequence shown below. If an error is
discovered, the check will stop and a display indicating the error will appear.
Press SRCH to continue the check. If an error is not found, the program will
be checked through the first END(01), with a display indicating when each 64
instructions have been checked (e.g., display #1 below).
CLR can be pressed to cancel the check after it has been started, and a dis-
play like display #2, in the example, will appear. When the check has reached
the first END, a display like display #3 will appear.
A syntax check can be performed on a program only in PROGRAM mode.
The following table provides the error types, displays, and explanations of all
syntax errors. The address where the error was generated will also be dis-
played.
Message
Meaning and appropriate response
?????
The program has been destroyed. Reinput the program.
NO END INSTR
There is no END(01) in the program. Write END(01) at the
final address in the program.
CIRCUIT ERR
The number of logic blocks and logic block instructions does
not agree, i.e., either LD or LD NOT has been used to start a
logic block whose execution condition has not been used by
another instruction or a logic block instruction has been used
that does not have the required number of logic blocks (i.e.,
unused execution conditions). Check your program.
IL–ILC ERR
IL(02) and ILC(03) are not used in pairs. Correct the program
so that each IL(02) has a unique ILC(03). Although this error
message will appear if more than one IL(02) is used with the
same ILC(03), the program will be executed as written. Make
sure your program is written as desired before proceeding.
Section 7–5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents