Conditional Binary Instructions - Fagor CNC 8060 Installation Manual

Hide thumbs Also See for CNC 8060:
Table of Contents

Advertisement

I n s t a l l a t i o n m a n u a l .
4.4.2

Conditional binary instructions.

There are 3 instructions: SET, RES and CPL, that are used to change the status of the
indicated resource.
The programming format is:
= SET
= RES
= CPL
= SET
If expression = "1", it sets the resource to "1".
If the result of the logic expression is a "1", it sets the indicated resource to "1". If the result
is "0", it does not change the resource.
CPS T2 EQ 100 = SET B0R100
When the timing of timer T2 reaches 100 milliseconds, it sets bit 0 of register R100 to
"1".
= RES
If expression = "1", it sets the resource to "0".
If the result of the logic expression is a "1", it sets the indicated resource to "0". If the result
is "0", it does not change the resource.
I12 OR NOT I22 = RES M55 = NOT RES M65
When the result of the logic expression is a "1", the PLC sets "M55 = 0"; but does not
change M65. If the result of the logic expression is a "0", the PLC does not change M55;
but it sets "M65 = 0".
= CPL
If expression = "1", it complements the resource.
If the result of the logic expression is a "1", it complements the status of the indicated
resource. If the result is "0", it will not change the resource.
DFU I8 OR DFD M22 = CPL B12R35
Every time an up-flank is detected at input I8 or down-flank of mark M22, the PLC
complements the state of bit 12 of register R35.
I 1/1024
O 1/1024
M 1/8192
MSG 1/1024
ERR 1/1024
B 0/31 R 1/1024
CNC-PLC mark
4.
CNC 8060
CNC 8065
(R
: 1709)
EF
·353·

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cnc 80658060 t power8060 l8060 m fl8060 t fl8060 m power ... Show all

Table of Contents