Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 68

Advertising
background image

6 - 32

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(d) Example

(23)DST (Data Store) RR after operation: RR-

(a) Function

The instruciton executes AND between the content of the register R1 and the numeric
value when the ST contact is ON (RR = 1), and stores the result to register R2.

The content of the register R1 remains unchanged before and after the execution of the
instruction.

If the ST contact is OFF (RR = 0), the DST instruction is not executed.

(b) Format B C A Paradym31 Variable Names

(c) Explanation

An ST contact must be entered before the DST instruction.

The DST instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.

The relationship between register and numeric value is shown below.

B: “0” or “1”.

(d) Example

D7

D6

D5

D4

D3

D2

D1

D0

Register R1

B

B

B

B

B

B

B

B

Numeric Value

0

0

0

0

1

1

1

1

Result R2

0

0

0

0

B

B

B

B

Advertising