EasyManua.ls Logo

Fagor CNC 8060 - Page 239

Fagor CNC 8060
900 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 8060
CNC 8065
INTRODUCTION TO THE PLC.
3.
(REF: 1402)
·239·
Operation of a counter.
(CPR) Preset input.
To preset the counter with the desired value.
It is referred to with the letters CPR followed by the counter number and the preset count
value. The counter is preset with the indicated value with an up-flank at the CPR input.
The count value may be indicated by a numeric value or by the internal value of a register
"R". Its value must be between 0 and ± 2,147,483.647.
(C) Status output.
It indicates the logic state of the counter. It is referred to by the letter "C" followed by the
counter number, for example: C1, C25, C102, etc.
The logic status of the counter will be C=1 when its count value is "0" and C=0 if otherwise.
(C) Count value.
It indicates the value of the internal count of the counter.
It is referred to by the letter "C" followed by the counter number, for example: C1, C25, C102,
etc. Its representation C123 is the same as that of the status output, but different type
instructions are used for them.
In binary instruction, it refers to the logic status of the counter.
In arithmetic and comparison instructions, it refers to the internal count of the counter.
The PLC has a 32-bit variable to store the count of each counter.
CPR 20 100
Presets counter C20 with a value of 100.
CPR 22 R200
Presets counter C22 with the value of register R200
C123 = M100
Assigns the status (0/1) of C123 to M100
I2 = MOV C123 R200
Transfers the count of C123 to register R200.
CPS C123 GT 1000 = M100
Compares whether the count of C123 is greater than 1000. If so, it activates mark M100.

Table of Contents

Other manuals for Fagor CNC 8060

Related product manuals