·620·
Installation manual
CNC 8055
CNC 8055i
16.
CONFIGURABLE WORK MODE
SOFT: V02.2X
Associated subroutines
16.9 Associated subroutines
Subroutines 0000 through 8999 are free to use and subroutines 9000 through 9999 are reserved
for customizing the CNC.
It is recommended to define all the OEM subroutines in a program with a high number to prevent
the user from modifying them. Program P999999 is free and may be used for this purpose.
When executing a cycle (screen), its associated subroutine is called upon indicating in local
parameters A - Z (P0 - P25) the value used to define each field.
(PCALL 9001, A=11, B=22, C=33, D=44, E=0, F=1234, G=9999, H=1, I=1, J=12.34)
Parameter A (P0) indicates the value of the first editable field, B (P1) that of the second field and
so on up to Z (P25) that indicates the value of the 26 field. The order is set when designing the screen
with the WINDRAW55 application.
All the screens (cycles) have an associated subroutine, 9000 + "screen number" Subroutine 9001
corresponds to screen (cycle) 001, 9002 to 002 and so on up to 9200 that corresponds to screen
(cycle) 200.
All these subroutines must be defined by the OEM and must contain all the necessary instructions
to run the canned cycle.
Example:
(SUB 9005)
(RET)
; Definition of subroutine 9005.
; Program blocks defined by the OEM.
; End of subroutine.