
4. PMC BASIC INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
122
The type of instructions and contents of processing are listed in the Table
4.1 (a).
Information format 1:
This is used when writing instructions on a coding sheet, punching out
them on a paper tape or displayed on the CRT/MDI or offline programmer.
Information format 2:
This is used when inputting instructions through programmer.
This format is to simplify an input operation.
RN, for instance, means RD.NOT and represents an input operation using
both keys, “R” and “N”.
Details of each basic instruction will be given here.
Table 4.1 (a) Basic instruction and processing
Instruction
No.
Format 1
(coding)
Format 2
(keys of FANUC LADDER)
Contents of processing
1 RD R Reads the status of a specified signal and sets it in ST0.
2 RD.NOT RN Inverts the logical status of a specified signal, reads and sets it in ST0.
3 WRT W Outputs the results of logical operations (status of ST0) to a specified
address.
4 WRT.NOT WN Inverts the results of logical operations (status of ST0) and outputs it to a
specified address.
5 AND A Induces a logical product.
6 AND.NOT AN Inverts the status of a specified signal and induces a logical product.
7 OR O Induces a logical sum.
8 OR.NOT ON Inverts the status of a specified signal and induces a logical sum.
9 RD.STK RS Shifts the stack register left one bit, read and sets the status of a specified
signal in ST0.
10 RD.NOT.STK RNS Shifts the stack register left one bit reads the inveried logical status of a
specified signal, and sets it in ST0.
11 AND.STK AS Sets the logical product of ST0 and ST1, and shifts the stack register right
one bit.
12 OR.STK OS Sets the logical sum of ST0 and ST1, and shifts the stack register right by one
bit.
13 SET SET Calculates the logical OR of the contents of ST0 and the status of the signal
at the specified address and outputs the result to the specified address.
14 RST RST Calculates the logical AND of the inverted contents of ST0 and the specified
address and outputs the result to the address.
4.1
DETAILS OF BASIC
INSTRUCTIONS