Installation manual.
CNC 8060
CNC 8065
PLC PROGRAMMIN
G
.
4.
Action instructions.
·353·
(R
EF
: 1709)
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.
Summary of Contents for CNC 8060
Page 1: ...Ref 1709 8060 8065 CNC Installation manual...
Page 10: ...BLANK PAGE 10...
Page 14: ...BLANK PAGE 14...
Page 20: ...BLANK PAGE 20...
Page 32: ...BLANK PAGE 32...
Page 36: ...BLANK PAGE 36...
Page 38: ...BLANK PAGE 38...
Page 40: ...BLANK PAGE 40...
Page 41: ...PART 1 INSTALLATION MANUAL...
Page 42: ...BLANK PAGE 42...
Page 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Page 533: ...PART 2 CONCEPTS...
Page 534: ...BLANK PAGE 534...
Page 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Page 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Page 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Page 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...