EasyManua.ls Logo

Fagor CNC 8060 - Conditional Binary Instructions

Fagor CNC 8060
900 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Installation manual
CNC 8060
CNC 8065
PLC PROGRAMMING.
4.
(REF: 1402)
·253·
Action instructions.
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
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.
= 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.
= 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.
= SET
= RES
= CPL
I 1/1024
O 1/1024
M 1/8192
MSG 1/1024
ERR 1/1024
B 0/31 R 1/1024
CNC-PLC mark
CPS T2 EQ 100 = SET B0R100
When the timing of timer T2 reaches 100 milliseconds, it sets bit 0 of register R100 to
"1".
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".
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.

Table of Contents

Other manuals for Fagor CNC 8060

Related product manuals