Specific Action Instructions - Fagor CNC 8060 Installation Manual

Hide thumbs Also See for CNC 8060:
Table of Contents

Advertisement

I n s t a l l a t i o n m a n u a l .
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:
= ERA
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).
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
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:
= PAR
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.
= 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
I1/1024
1/1024
O1/1024
1/1024
M1/8192
1/8192
MSG1/1024
1/1024
ERR1/1024
1/1024
T1/512
1/512
C1/256
1/256
R1/1024
1/1024
R1/1024
M1/8192
R CNC-PLC
MSG1/1024
ERR1/1024
M CNC-PLC
4.
CNC 8060
CNC 8065
(R
: 1709)
EF
·359·

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cnc 80658060 t power8060 l8060 m fl8060 t fl8060 m power ... Show all

Table of Contents