Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 39

Advertising
background image

6 - 3

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

6.2 Types and List of Instructions

6.2.1 Types of Instructions

With the PLC, the following types of instructions are provided.

(1) Basic Instructions

Relay instruction: 13 types

Register instruction: 37 types

Timer instruction: 2 types

Control instruction: 9 types

Total 61 types

(2) Macro Instructions

Macro instruction: 22 types

Auxiliary instruction: 5 types

6.2.2

List of Instructions

(1) List of Relay Instructions

The list of relay instructions is indicated below.

Instruction

Description

RR after

Operation

Reference

Page

LD

Reads the signal status (0, 1) and sets it to RR.

Ù

LD-NOT

Reads the inversion of signal status (0, 1) and sets it to RR.

Ù

AND

Executes AND between the contact and RR, sets the result
to RR. (Logical product)

Ù

AND-NOT

Executes AND between the inversion of signal status and
RR, and sets the result to RR. (Reverse logical product.)

Ù

OR

Executes OR between the contact and RR, sets the result to
RR. (Logical sum)

Ù

OR-NOT

Executes OR between the inversion of signal status and RR,
and, sets the result to RR. (Reverse logical sum)

Ù

XOR

Sets “not-coincide” between the signal and RR to RR.

Ù

XNR

Sets “coincide” between the signal and RR to RR.

Ù

STR

Enters the content of RR to the stack register and executes
the LD instruction.

Ù

STR-NOT

Enters the content of RR to the stack register and executes
the LD-NOT instruction.

Ù

Advertising