·366·
Programming manual
CNC 8055
CNC 8055i
13.
HIGH-LEVEL LANGUAGE
PR
OGRAMMING
·M· & ·EN· M
ODELS
S
OFT
: V02.2
X
Va
riabl
es
13.2.14 PLC related variables
It should be borne in mind that the PLC has the following resources:
(I1 thru I512)
Inputs.
(O1 thru O512)
Outputs.
M1 thru M5957)
Marks.
(R1 thru R499)
32-bit registers.
(T1 thru T512)
Timers with a timing count in 32 bits.
(C1 thru C256)
Counters with a count in 32 bits.
If any variable is accessed which allows the status of a PLC variable to be read or modified
(I,O,M,R,T,C), block preparation is interrupted and the CNC waits for this command to be executed
in order to restart block preparation.
Read-only variables
PLCMSG
Returns the number of the active PLC message with the highest priority and will coincide with the
number displayed on screen (1··128). If there is none, it returns 0.
Read-and-write variables
PLCIn
This variable allows 32 PLC inputs to be read or modified starting with the one indicated (n).
The value of the inputs which are used by the electrical cabinet cannot be modified as their values
are determined by it. Nevertheless, the status of the remaining inputs can be modified.
PLCOn
This variable allows 32 PLC outputs to be read or modified starting from the one indicated (n).
PLCMn
This variable allows 32 PLC marks to be read or modified starting from the one indicated (n).
PLCRn
This variable allows the status of 32 register bits to be read or modified starting from the one indicated
(n).
PLCTn
This variable allows the timer count to be read or modified starting from the one indicated (n).
PLCCn
This variable allows the counter count to be read or modified starting from the one indicated (n).
(P110=PLCMSG)
It assigns to P100 the number of the active PLC message with the highest priority.
(P110=PLCO 22)
It assigns to parameter P110 the value of outputs O22 through O53 (32 outputs) of the
PLC.
(PLCO 22=$F)
It sets outputs O22 through O25 to "1" and outputs O26 through O53 to "0".
Bit
31
30
29
28
27
26
25
24
23
22
...
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
....
0
0
1
1
1
1
Output
53
52
51
50
49
48
47
46
45
44
....
27
26
25
24
23
22
Содержание 8055 EN
Страница 1: ...CNC 8055 M EN Programming manual Ref 1711 Soft V02 2x...
Страница 8: ...8 Programming manual CNC 8055 CNC 8055i SOFT V02 2X...
Страница 12: ...12 CNC 8055 CNC 8055i Declaration of conformity and Warranty conditions...
Страница 16: ...16 CNC 8055 CNC 8055i Version history...
Страница 22: ...22 CNC 8055 CNC 8055i Returning conditions...
Страница 24: ...24 CNC 8055 CNC 8055i Additional notes...
Страница 26: ...26 CNC 8055 CNC 8055i Fagor documentation...
Страница 238: ...238 Programming manual CNC 8055 CNC 8055i 11 IRREGULAR POCKET CANNED CYCLE M EN MODELS SOFT V02 2X 2D pockets...
Страница 284: ...284 Programming manual CNC 8055 CNC 8055i 11 IRREGULAR POCKET CANNED CYCLE M EN MODELS SOFT V02 2X 3D pockets...
Страница 336: ...336 Programming manual CNC 8055 CNC 8055i 12 PROBING M EN MODELS SOFT V02 2X PROBE 12 Tabletop probe calibration...
Страница 394: ...394 Programming manual CNC 8055 CNC 8055i 13 HIGH LEVEL LANGUAGE PROGRAMMING M EN MODELS SOFT V02 2X Expressions...
Страница 442: ...442 Programming manual CNC 8055 CNC 8055i 15 COORDINATE TRANSFORMATION M EN MODELS SOFT V02 2X TCP Transformation G48...
Страница 448: ......
Страница 454: ...454 Programming manual CNC 8055 CNC 8055i B M EN MODELS SOFT V02 2X Program control instructions...
Страница 462: ...462 Programming manual CNC 8055 CNC 8055i C M EN MODELS SOFT V02 2X Summary of internal CNC variables...
Страница 463: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 463 Key code KEY CODE Alpha numeric keyboard and monitor...
Страница 464: ...464 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 465: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 465 Key code Alphanumeric operator panel...
Страница 466: ...466 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code MC operator panel...
Страница 467: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 467 Key code...
Страница 468: ...468 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 469: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 469 Key code MCO TCO operator panel...
Страница 470: ...470 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code Alphanumeric keyboard...
Страница 471: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 471 Key code 11 LCD Monitor...
Страница 472: ...472 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 478: ...478 Programming manual CNC 8055 CNC 8055i F M EN MODELS SOFT V02 2X Maintenance...
Страница 479: ...Programming manual CNC 8055 CNC 8055i F SOFT V02 2X 479...
Страница 480: ...480 Programming manual CNC 8055 CNC 8055i F SOFT V02 2X...
Страница 481: ......