EasyManua.ls Logo

Fagor CNC 8055i FL EN - Conditioned Binary Actions Instructions

Fagor CNC 8055i FL EN
732 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 8055
CNC 8055i
PLC PROGRAMMING
10.
SOFT: V02.2X
·463·
Action instructions
10.5.2 Conditioned binary actions instructions
There are 3 instructions: SET, RES and CPL, that are used to change the status of the indicated
resource.
Their programming formats are:
=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.
Example: 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.
Example: 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 "0", then 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 does not change the resource.
Example: DFU I8 OR DFD M22 = CPL B12R35
Every time an Up Flank (leading edge) is detected at input I8 or a down flank (trailing edge) in
mark M22 the PLC will complement the status of bit 12 of register R35.
= SET I 1/512
= RES O 1/512
= CPL M 1/5957
B 0/31 R 1/559

Table of Contents

Related product manuals