Inputting, Modifying, And Checking The Program; Setting And Reading From Program Memory Address - 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

Inputting, Modifying, and Checking the Program

7–5–1

Setting and Reading from Program Memory Address

Key Sequence
Example
128
Once a program has been converted to mnemonic code, it is ready to be in-
put into the PC and checked. Mnemonic code is keyed into Program Memory
addresses from the Programming Console. Checking the program involves a
syntax check to see that the program has been written according to syntax
rules before trial execution and finally correction under actual conditions can
begin.
The operations required to input a program are explained below. Operations
to modify programs that already exist in memory are also provided in this
section, as well as the procedure to obtain the current scan time.
When inputting a program for the first time, it is generally input from Program
Memory address 0000. As this address appears when the display is cleared,
it is not necessary to input it.
When inputting a program starting from other than 0000 or to read or modify
a program that already exists in memory, the desired address must be desig-
nated. To designate an address, press CLR and then input the desired ad-
dress. Leading zeros of the address need not be input, i.e., when specifying
an address such as 0053 you need to enter only 53. The contents of the des-
ignated address will not be displayed until the down key is pressed.
Once the down key has been pressed to display the contents of the desig-
nated address, the up and down keys can be used to scroll through Program
Memory. Each time one of these keys is pressed, the next or previous word
in Program Memory will be displayed.
If Program Memory is read in RUN or MONITOR mode, the ON/OFF status
of any bit displayed will also be shown.
If the following mnemonic code has already been input into Program Memory,
the key inputs below would produce the displays shown.
Address
Instruction
0200
LD
0201
AND
0202
TIM
0203
LD
Data
0000
0001
00
#0123
0100
Section 7–5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents