EasyManuals Logo

Fagor CNC 8035 User Manual

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
Page #314 background imageLoading...
Page #314 background image

Installation manual
CNC 8035
8.
PLC PROGRAMMING
Action instruction.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·314·
8.5.6 Specific action instructions
= ERA
Used to delete a group of resources. Indicate the first and last resource to be erased.
Its programming format is:
The marks can be M1/2047, M4000/4127, M4500/4563, M4700/4955 or M5000/5957 and registers
R1/559
When deleting a group of I, O, M or R, the PLC sets them to “0”.
If a group of timers is erased this is the equivalent of Resetting them and if a group of counters is
erased this is similar to making a preset with a value 0 for them.
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).
Examples:
I12 = ERA O5 12
If input I12 has a value of "1" the PLC will set to 0 outputs O5 thru O12.
I23 = ERA C15 18
If input "I23 =1", the PLC presets counters C15 through C18 (both included) to "0".
= CNCRD = CNCWR
Access to the internal 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 reads
the contents of the register into the variable.
The internal CNC variables are described in the chapter on "CNC-PLC communication".
The mark is set to "1" at the beginning of the operation and it keeps its value until the end of the
operation.
When requesting information on a nonexistent variable (for example the position of an nonexistent
axis), it will show the relevant error message.
Examples:
CNCRD (FEED, R150, M200)
Loads into register R150 the feedrate value selected at the CNC by means of function G94.
CNCWR (R92, TIMER, M200)
It resets the clock enabled by the PLC with the value contained in register R92.
ERA I 1/512 1/512
O 1/512 1/512
M 1/5957 1/5957
T 1/256 1/256
C 1/256 1/256
R 1/559 1/559

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Fagor CNC 8035 and is the answer not in the manual?

Fagor CNC 8035 Specifications

General IconGeneral
BrandFagor
ModelCNC 8035
CategoryControl Systems
LanguageEnglish

Related product manuals