
Installation manual.
CNC 8060
CNC 8065
PLC PROGRAMMIN
G
.
4.
Action instructions.
·359·
(R
EF
: 1709)
4.4.6
Specific action instructions.
= ERA
Clears a group of resources.
It is used to clear or initialize a group of same-type resources. Indicate the first and last
resource to be erased.
The programming format is:
When erasing a group of I, O, M, MSG, ERR or R, the PLC sets them all to "0".
Erasing a group of timers is like resetting them and erasing a group of counters is like
presetting with a "0" value.
This action is especially handy when executed in the first cycle module (CY1) in order to set
the desired resources to their initial work conditions (states).
=PAR
Parity of a register.
It analyzes the type of parity of a register. If the register has EVEN parity, this instruction sets
the selected mark, message or error to "1" and to "0" if it has ODD parity.
The programming format is:
= CNCRD
= CNCWR
Reading (CNCRD) and writing (CNCWR) of CNC variables.
Used to read (CNCRD) and write (CNCWR) the internal CNC variables. Their programming
format is:
CNCRD (Variable, Register, Mark)
CNCWR (Register, Variable, Mark)
The CNCRD action loads the contents of the variable into the register and the CNCWR action
loads the contents of register into the variable. The mark is set to "1" at the beginning of the
operation and it keeps its value until the end of the operation.
When using CNCRD to read the variables of the arithmetic parameters and those of the OEM,
it returns the value multiplied by 10000 (float mode reading).
When requesting information on a nonexistent variable (for example the position of an
nonexistent axis), it will show the relevant error message. Likewise, when trying to read a
value whose range is greater than that of the PLC register, the CNC will return a zero value
= ERA
I1/1024
O1/1024
M1/8192
MSG1/1024
ERR1/1024
T1/512
C1/256
R1/1024
1/1024
1/1024
1/8192
1/1024
1/1024
1/512
1/256
1/1024
I10 = ERA O5 12
If input "I10=1", the PLC sets outputs O5 through O12 (both included) to "0".
I23 = ERA C15 18
If input "I23 =1", the PLC presets counters C15 through C18 (both included) to "0".
= PAR
R1/1024
R CNC-PLC
M1/8192
MSG1/1024
ERR1/1024
M CNC-PLC
I15 = PAR R123 M222
If input "I15=1", the PLC analyzes register R123 and sets mark M222 to "1" if EVEN
parity or to "0" if ODD parity.
Содержание CNC 8060
Страница 1: ...Ref 1709 8060 8065 CNC Installation manual...
Страница 10: ...BLANK PAGE 10...
Страница 14: ...BLANK PAGE 14...
Страница 20: ...BLANK PAGE 20...
Страница 32: ...BLANK PAGE 32...
Страница 36: ...BLANK PAGE 36...
Страница 38: ...BLANK PAGE 38...
Страница 40: ...BLANK PAGE 40...
Страница 41: ...PART 1 INSTALLATION MANUAL...
Страница 42: ...BLANK PAGE 42...
Страница 58: ...Installation manual CNC 8060 CNC 8065 1 SOFTWARE INSTALLATION Software configuration 58 REF 1709...
Страница 340: ...Installation manual CNC 8060 CNC 8065 3 INTRODUCTION TO THE PLC Operation of a counter 340 REF 1709...
Страница 448: ...Installation manual CNC 8060 CNC 8065 6 LOGIC CNC INPUTS AND OUTPUTS Keystroke modifiable signals 448 REF 1709...
Страница 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Страница 533: ...PART 2 CONCEPTS...
Страница 534: ...BLANK PAGE 534...
Страница 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Страница 574: ...Installation manual CNC 8060 CNC 8065 11 CONFIGURING AN AXIS Home search 574 REF 1709 X Z H OM OW ZMH ZMW XMH...
Страница 598: ...Installation manual CNC 8060 CNC 8065 12 VOLUMETRIC COMPENSATION Error messages cause and solution 598 REF 1709...
Страница 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Страница 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Страница 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...