EasyManua.ls Logo

Fagor CNC 8035 - Page 304

Fagor CNC 8035
470 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 8035
8.
PLC PROGRAMMING
Consulting instructions
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·304·
The PLC updates the real values of the inputs at the beginning of the cycle, taking the values of
the physical inputs.
The image values of the inputs, outputs and marks are updated after executing the program cycle.
Examples:
DFU I23 DFU B3R120 DFU AUXEND
Comparison
CPS
Used to compare two operands, checking whether the first one is greater than (GT), greater than
or equal to (GE), equal to (EQ), not equal to (NE), smaller than or equal to (LE) or less than (LT)
the second one.
The following may be used as operands: Timers (internal count), Counters (internal count),
Registers, CNC-PLC communication registers and numbers (#) within ±2147483647 or between
0 and $FFFFFFFF.
The programming format of the different combinations is:
If the required condition is met, the consulting instruction returns a logic value "1" and a "0" if
otherwise.
Programming examples:
CPS C12 GT R14 = M100
If the internal count of counter "C12" is GREATER than the value of register R14, the PLC
will assign the value of "1" to mark M100 and a "0" if otherwise.
CPS T2 EQ 100 = TG1 5 2000
When the time elapsed on the counter T2 is EQUAL to the value of 100, timer T5 will be
activated working as a monostable and with a time constant of 2 seconds.
I3 phy = I3 physical I3 rea = I3 real I3 ima = I3 image
CPS T 1/256 GT T 1/256
C 1/256 GE C 1/256
R 1/559 EQ R 1/559
#NE#
LE
LT

Table of Contents

Related product manuals