Coding Right-Hand Instructions - Omron C200H Operation Manual

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Coding Right-hand Instructions

5-5

Coding Right-hand Instructions

100
Writing mnemonic code for ladder instructions is described in Section 4 Writ-
ing and Inputting the Program. Converting the information in the ladder dia-
gram symbol for all other instructions follows the same pattern, as described
below, and is not specified for each instruction individually.
The first word of any instruction defines the instruction and provides any de-
finers. If the instruction requires only a signal bit operand with no definer, the
bit operand is also placed on the same line as the mnemonic. All other oper-
ands are placed on lines after the instruction line, one operand per line and in
the same order as they appear in the ladder symbol for the instruction.
The address and instruction columns of the mnemonic code table are filled in
for the instruction word only. For all other lines, the left two columns are left
blank. If the instruction requires no definer or bit operand, the data column is
left blank for first line. It is a good idea to cross through any blank data col-
umn spaces (for all instruction words that do not require data) so that the
data column can be quickly cycled to see if any addresses have been left
out.
If an IR or SR address is used in the data column, the left side of the column
is left blank. If any other data area is used, the data area abbreviation is
placed on the left side and the address is place on the right side. If a con-
stant to be input, the number symbol (#) is placed on the left side of the data
column and the number to be input is placed on the right side. Any numbers
input as definers in the instruction word do not require the number symbol on
the right side. TC bits, once defined as a timer or counter, take a TIM (timer)
or CNT (counter) prefix.
When coding an instruction that has a function code, be sure to write in the
function code, which will be necessary when inputting the instruction via the
Programming Console. Also be sure to designate the differentiated instruc-
tion with the @ symbol.
Section 5-5

Advertisement

Table of Contents
loading

Table of Contents