EasyManuals Logo

Fagor CNC 8055 T Examples Manual

Fagor CNC 8055 T
60 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 #50 background imageLoading...
Page #50 background image
EXAMPLE MANUAL 47
Part 3: "Shows the status of outputs O1 to O18"
Program lines (main program).
N300 (PAGE3) ........................................... Shows page 3
(KEY = 0 ) ..................................... Clears memory of last key pressed
N310 (P100=PLCO1) ................................. Assigns to parameter P100 the value of the outputs O1 to O32
(P199=85) ....................................... Row where to insert the symbol
(CALL 3) ......................................... Call to subroutine (it inserts symbols)
(P100=PLCO10) ............................... Assigns to parameter P100 the value of the outputs O10 to O41
(P199=155) ..................................... Row where to insert the symbol
(CALL 3) ......................................... Call to subroutine (it inserts symbols)
(IF KEY EQ $FFA5 GOTO N200) ... If "previous page" has been pressed, it goes on to line N200
(part 2)
(IF KEY EQ $FFAF GOTO N400) ... If "next page" has been pressed, it goes on to line N400
(part 4)
(GOTO N310) ................................... If not, it refreshes the status of the outputs
Program lines (subroutine that indicates the status of a row of outputs).
This subroutine analyzes the 10 least significant bits of parameter P100. If the bit is set to «1», it inserts
symbol 21 (lamp on, red color), if it is set to «0», it inserts symbol 22 (lamp off. background color).
Call parameters:
- P100 = Value of the outputs to be displayed.
- P199 = Row where to insert the symbols.
(SUB 3)
(IF (P100 AND 1) EQ 0 SYMBOL 22,105,P199 ELSE SYMBOL 21,105,P199)
(IF (P100 AND 2) EQ 0 SYMBOL 22,155,P199 ELSE SYMBOL 21,155,P199)
(IF (P100 AND 4) EQ 0 SYMBOL 22,205,P199 ELSE SYMBOL 21,205,P199)
(IF (P100 AND 8) EQ 0 SYMBOL 22,255,P199 ELSE SYMBOL 21,255,P199)
(IF (P100 AND $10) EQ 0 SYMBOL 22,305,P199 ELSE SYMBOL 21,305,P199)
(IF (P100 AND $20) EQ 0 SYMBOL 22,355,P199 ELSE SYMBOL 21,355,P199)
(IF (P100 AND $40) EQ 0 SYMBOL 22,405,P199 ELSE SYMBOL 21,405,P199)
(IF (P100 AND $80) EQ 0 SYMBOL 22,455,P199 ELSE SYMBOL 21,455,P199)
(IF (P100 AND $100) EQ 0 SYMBOL 22,505,P199 ELSE SYMBOL 21,505,P199)
(RET)

Other manuals for Fagor CNC 8055 T

Questions and Answers:

Question and Answer IconNeed help?

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

Fagor CNC 8055 T Specifications

General IconGeneral
BrandFagor
ModelCNC 8055 T
CategoryPower Tool
LanguageEnglish

Related product manuals