5 program edit window, 1 explanation of items in program edit window, 5program edit window – IAI America DS-S-P1 User Manual
Page 16
![background image](/manuals/350265/16/background.png)
Page 14
5
Program Edit Window
5.1
Explanation of Items in Program Edit Window
From the menu, select Program
→
Edit.
The program selection window is displayed. Select the program you wish to edit, then click OK.
The controller program window opens and has the following items.
Step
Displays the program line number. No input is required.
E
Specify expansion condition using A or O. A = And, O = Or.
N
Designate the reverse input condition. Specifying N reverses the condition. N = Not
Cnd
Designate the input condition. Designate the input/output port and flag. Range is 1~999.
Cmnd
Designate the command. Input by typing the command directly from the keyboard or double-
click to call up the program command list and make a selection. If you key one or more
characters of the desired command before double-clicking on the Cmnd box, the cursor will be
at the corresponding command in the program command list. Hit Enter or double-click on the
desired command to enter the command.
Operand 1, 2
Given below is the data that can be entered in this column.
Numerical values
Numbers such as input/output · flag · variable no., column no., tag no., subroutine no., axis
no., position no., program no., task level, source no., channel no., etc. are entered directly.
Variables
For items where numeric data is designated, numbers can be designated indirectly by entering
a variable no. For example, if 10 is in variable 1, designating *1 is the same as designating 10.
Axis pattern
Specify the axis using binary notation. 0 = not selected, 1 = selected.
Character string
Data enclosed in ‘ ’ marks is considered a character string.
Pst
Indicates the output port or flag that is turned ON when the conditions of each command are
met. The number range that can be entered is 300~999.
Comment
You can add program notes up to 18 characters here. This is useful in creating a program that
is easy to read. This column can be used by itself or left blank as required.
Place the cursor at the comment column, then press Enter to move to the next line.