BEGIN PGM 201_ap.h MM ; h++ 2 13 8 2015_05_07
 QL19 = Q203                                           ; src/201.hpp       :0009
 QL20 = Q200                                           ; src/201.hpp       :0009
 QL21 = Q204                                           ; src/201.hpp       :0009
 QL22 = Q201                                           ; src/201.hpp       :0009
 QL23 = 0                                              ; src/201.hpp       :0009
 QL24 = Q206                                           ; src/201.hpp       :0009
 QL25 = Q208                                           ; src/201.hpp       :0009
 CALL LBL "201_ap$ream.DRILL"
 QL26 = Q211                                           ; src/201.hpp       :0013
 QL27 = 0                                              ; src/201.hpp       :0013
 QL28 = Q201                                           ; src/201.hpp       :0013
 QL29 = Q201                                           ; src/201.hpp       :0013
 QL30 = 0                                              ; src/201.hpp       :0013
 QL31 = 0                                              ; src/201.hpp       :0013
 QL32 = 0                                              ; src/201.hpp       :0013
 CALL LBL "201_ap$ream.chipbr_drill"
LBL "e_201_ap0"                                        ; src/201.hpp       :0007
FN 9: IF 0 EQU 0 GOTO LBL "EXIT"                       ;                   :-001
LBL "201_ap$ream.DRILL"                                ; includes/drill.hpp:0037
 FN 18: SYSREAD QL5 = ID 20 NR 3                       ; includes/drill.hpp:0058
 FN 18: SYSREAD QL1 = ID 20 NR 5                       ; includes/drill.hpp:0067
 FN 18: SYSREAD QL2 = ID 20 NR 22                      ; includes/drill.hpp:0071
 FN 18: SYSREAD QL3 = ID 20 NR 23                      ; includes/drill.hpp:0072
 FN 17: SYSWRITE ID 13 NR 3 = 2000                     ; includes/drill.hpp:0073
 QS3 = "CH_NC"                                         ; includes/drill.hpp:0074
 QS4 = "CfgGeoCycle"                                   ; includes/drill.hpp:0075
 QS5 = "restoreCoolant"                                ; includes/drill.hpp:0076
 QL4 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 IDX 0 )     ; includes/drill.hpp:0077
 FN 9: IF 0 EQU 0 GOTO LBL "IFNOT_1"                   ; includes/drill.hpp:0078
 LBL 2000                                              ; includes/drill.hpp:0079
 QL4 = 1                                               ; includes/drill.hpp:0080
 LBL "IFNOT_1"                                         ; includes/drill.hpp:0081
 FN 17: SYSWRITE ID 13 NR 3 = 0                        ; includes/drill.hpp:0082
 FN 18: SYSREAD QL33 = ID 210 NR 3                     ; includes/drill.hpp:0086
 FN 17: SYSWRITE ID 210 NR 3 = 0                       ; includes/drill.hpp:0087
 FN 9: IF QL5 EQU 0 GOTO LBL "CASE0_2"                 ; includes/drill.hpp:0088
 FN 9: IF QL5 EQU 6 GOTO LBL "CASE1_2"                 ; includes/drill.hpp:0088
 FN 9: IF QL5 EQU 1 GOTO LBL "CASE2_2"                 ; includes/drill.hpp:0088
 FN 9: IF QL5 EQU 7 GOTO LBL "CASE3_2"                 ; includes/drill.hpp:0088
 FN 9: IF QL5 EQU 2 GOTO LBL "CASE4_2"                 ; includes/drill.hpp:0088
 FN 9: IF QL5 EQU 8 GOTO LBL "CASE5_2"                 ; includes/drill.hpp:0088
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_2"               ; includes/drill.hpp:0088
 LBL "CASE0_2"                                         ; includes/drill.hpp:0090
 LBL "CASE1_2"                                         ; includes/drill.hpp:0091
 FN 18: SYSREAD QL7 = ID 210 NR 4 IDX 2                ; includes/drill.hpp:0092
 FN 18: SYSREAD QL8 = ID 210 NR 4 IDX 3                ; includes/drill.hpp:0093
 FN 18: SYSREAD QL9 = ID 210 NR 4 IDX 1                ; includes/drill.hpp:0094
 QL36 = QL33                                           ; includes/drill.hpp:0095
 QL37 = 1                                              ; includes/drill.hpp:0095
 CALL LBL "check_bit"
 QL10 = QL38                                           ; includes/drill.hpp:0095
 QL36 = QL33                                           ; includes/drill.hpp:0096
 QL37 = 2                                              ; includes/drill.hpp:0096
 CALL LBL "check_bit"
 QL11 = QL38                                           ; includes/drill.hpp:0096
 QL36 = QL33                                           ; includes/drill.hpp:0097
 QL37 = 0                                              ; includes/drill.hpp:0097
 CALL LBL "check_bit"
 QL11 = QL38                                           ; includes/drill.hpp:0097
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_2"               ; includes/drill.hpp:0098
 LBL "CASE2_2"                                         ; includes/drill.hpp:0099
 LBL "CASE3_2"                                         ; includes/drill.hpp:0100
 FN 18: SYSREAD QL7 = ID 210 NR 4 IDX 3                ; includes/drill.hpp:0101
 FN 18: SYSREAD QL8 = ID 210 NR 4 IDX 1                ; includes/drill.hpp:0102
 FN 18: SYSREAD QL9 = ID 210 NR 4 IDX 2                ; includes/drill.hpp:0103
 QL36 = QL33                                           ; includes/drill.hpp:0104
 QL37 = 2                                              ; includes/drill.hpp:0104
 CALL LBL "check_bit"
 QL10 = QL38                                           ; includes/drill.hpp:0104
 QL36 = QL33                                           ; includes/drill.hpp:0105
 QL37 = 0                                              ; includes/drill.hpp:0105
 CALL LBL "check_bit"
 QL11 = QL38                                           ; includes/drill.hpp:0105
 QL36 = QL33                                           ; includes/drill.hpp:0106
 QL37 = 1                                              ; includes/drill.hpp:0106
 CALL LBL "check_bit"
 QL11 = QL38                                           ; includes/drill.hpp:0106
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_2"               ; includes/drill.hpp:0107
 LBL "CASE4_2"                                         ; includes/drill.hpp:0108
 LBL "CASE5_2"                                         ; includes/drill.hpp:0109
 FN 18: SYSREAD QL7 = ID 210 NR 4 IDX 1                ; includes/drill.hpp:0110
 FN 18: SYSREAD QL8 = ID 210 NR 4 IDX 2                ; includes/drill.hpp:0111
 FN 18: SYSREAD QL9 = ID 210 NR 4 IDX 3                ; includes/drill.hpp:0112
 QL36 = QL33                                           ; includes/drill.hpp:0113
 QL37 = 0                                              ; includes/drill.hpp:0113
 CALL LBL "check_bit"
 QL10 = QL38                                           ; includes/drill.hpp:0113
 QL36 = QL33                                           ; includes/drill.hpp:0114
 QL37 = 1                                              ; includes/drill.hpp:0114
 CALL LBL "check_bit"
 QL11 = QL38                                           ; includes/drill.hpp:0114
 QL36 = QL33                                           ; includes/drill.hpp:0115
 QL37 = 2                                              ; includes/drill.hpp:0115
 CALL LBL "check_bit"
 QL11 = QL38                                           ; includes/drill.hpp:0115
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_2"               ; includes/drill.hpp:0116
 LBL "SWITCHEND_2"                                     ; includes/drill.hpp:0117
 FN 18: SYSREAD QL6 = ID 200 NR 1 IDX 2                ; includes/drill.hpp:0121
 QL6 = QL6 / QL7                                       ; includes/drill.hpp:0125
 QL39 = 3                                              ; includes/drill.hpp:0129
 CALL LBL "swap_axes"
 QL0 = SGN( QL22 )                                     ; includes/drill.hpp:0133
 FN 10: IF QL23 NE 1 GOTO LBL "IFNOT_3"                ; includes/drill.hpp:0134
 FN 18: SYSREAD QL34 = ID 950 NR 32                    ; includes/drill.hpp:0139
  FN 11: IF QL34 GT 0 GOTO LBL "IFNOT_4"               ; includes/drill.hpp:0140
  FN 14: ERROR= 1087                                   ; includes/drill.hpp:0142
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_4"                  ; includes/drill.hpp:0143
  LBL "IFNOT_4"                                        ; includes/drill.hpp:0143
  FN 9: IF QL34 EQU 180 GOTO LBL "ELSE0NOT_4"          ; includes/drill.hpp:0144
  QL22 = QL22 + ( QL0 * ( QL6 / ( TAN( QL34 / 2 ) ) ) )
  LBL "ELSE0NOT_4"                                     ; includes/drill.hpp:0147
  LBL "ENDIF_4"                                        ; includes/drill.hpp:0147
 LBL "IFNOT_3"                                         ; includes/drill.hpp:0148
 FN 9: IF QL22 EQU 0 GOTO LBL "EXIT"                   ; includes/drill.hpp:0149
 QL40 = QL22                                           ; includes/drill.hpp:0150
 CALL LBL "check_depth_sign"
 QL16 = QL19 + QL22                                    ; includes/drill.hpp:0151
 QL13 = QL19                                           ; includes/drill.hpp:0155
 QL14 = ABS( QL20 )                                    ; includes/drill.hpp:0156
 Q0 = ABS( QL21 )                                      ; includes/drill.hpp:0157
 FN 9: IF QL14 EQU Q0 GOTO LBL "IFNOT_6"               ; includes/drill.hpp:0157
 FN 12: IF QL14 LT Q0 GOTO LBL "IFNOT_6"               ; includes/drill.hpp:0157
 QL15 = QL13 - QL14 * QL0                              ; includes/drill.hpp:0159
 FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_6"                   ; includes/drill.hpp:0160
 LBL "IFNOT_6"                                         ; includes/drill.hpp:0160
 QL15 = QL13 - ABS( QL21 ) * QL0                       ; includes/drill.hpp:0163
 LBL "ENDIF_6"                                         ; includes/drill.hpp:0164
 QL17 = QL24                                           ; includes/drill.hpp:0169
 FN 11: IF QL25 GT 0 GOTO LBL "IFNOT_7"                ; includes/drill.hpp:0170
  FN 9: IF QL25 EQU -57239891 GOTO LBL "IFNOT_8"       ; includes/drill.hpp:0172
  QL18 = QL17                                          ; includes/drill.hpp:0174
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_8"                  ; includes/drill.hpp:0175
  LBL "IFNOT_8"                                        ; includes/drill.hpp:0175
  FN 22: FUNCT QL35 FNR 910 PIN 59 PIN 2 PEX 18        ; includes/drill.hpp:0179
  LBL "ENDIF_8"                                        ; includes/drill.hpp:0180
 FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_7"                   ; includes/drill.hpp:0182
 LBL "IFNOT_7"                                         ; includes/drill.hpp:0182
 QL18 = QL25                                           ; includes/drill.hpp:0185
 LBL "ENDIF_7"                                         ; includes/drill.hpp:0186
LBL 0                                                  ; includes/drill.hpp:0037
LBL "201_ap$ream.chipbr_drill"                         ; includes/drill.hpp:0041
 QL28 = ABS( QL28 ) * QL0                              ; includes/drill.hpp:0555
 FN 10: IF QL28 NE 0 GOTO LBL "IFNOT_9"                ; includes/drill.hpp:0556
 FN 14: ERROR= 1030                                    ; includes/drill.hpp:0558
 LBL "IFNOT_9"                                         ; includes/drill.hpp:0559
 QL31 = ABS( QL31 ) * QL0                              ; includes/drill.hpp:0560
 QL32 = ABS( QL32 )                                    ; includes/drill.hpp:0564
 FN 10: IF QL29 NE 0 GOTO LBL "IFNOT_10"               ; includes/drill.hpp:0565
 QL29 = QL32                                           ; includes/drill.hpp:0567
 LBL "IFNOT_10"                                        ; includes/drill.hpp:0568
 QL29 = ABS( QL29 ) * QL0                              ; includes/drill.hpp:0569
 QL14 = ABS( QL14 )                                    ; includes/drill.hpp:0573
 QL43 = QL13 - QL14 * QL0                              ; includes/drill.hpp:0574
 Z+QL43 R0 FMAX                                        ; includes/drill.hpp:0575
 CALL LBL "check_spindle_status"
 QL42 = QL13                                           ; includes/drill.hpp:0584
 QL41=0                                                ; includes/drill.hpp:0585
 QL45=QL42                                             ; includes/drill.hpp:0585
 FN 9: IF 0 EQU 0 GOTO LBL "FORCMP_11"                 ; includes/drill.hpp:0585
 LBL "FOR_11"                                          ; includes/drill.hpp:0585
 QL42=QL45                                             ; includes/drill.hpp:0585
 LBL "FORCMP_11"                                       ; includes/drill.hpp:0585
 FN 9: IF QL45 EQU QL16 GOTO LBL "FORNOT_11"           ; includes/drill.hpp:0585
 QL45 = QL45 + QL28                                    ; includes/drill.hpp:0590
  FN 9: IF QL0 EQU 0 GOTO LBL "IFNOT_12"               ; includes/drill.hpp:0591
  FN 11: IF QL0 GT 0 GOTO LBL "IFNOT_12"               ; includes/drill.hpp:0591
   FN 9: IF QL45 EQU QL16 GOTO LBL "IFNOT_13"          ; includes/drill.hpp:0593
   FN 11: IF QL45 GT QL16 GOTO LBL "IFNOT_13"          ; includes/drill.hpp:0593
   QL45 = QL16                                         ; includes/drill.hpp:0595
   LBL "IFNOT_13"                                      ; includes/drill.hpp:0596
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_12"                 ; includes/drill.hpp:0597
  LBL "IFNOT_12"                                       ; includes/drill.hpp:0597
   FN 9: IF QL45 EQU QL16 GOTO LBL "IFNOT_14"          ; includes/drill.hpp:0600
   FN 12: IF QL45 LT QL16 GOTO LBL "IFNOT_14"          ; includes/drill.hpp:0600
   QL45 = QL16                                         ; includes/drill.hpp:0602
   LBL "IFNOT_14"                                      ; includes/drill.hpp:0603
  LBL "ENDIF_12"                                       ; includes/drill.hpp:0604
 QL44 = QL45 - ABS( QL14 ) * QL0                       ; includes/drill.hpp:0609
 Z+QL45 F QL17                                         ; includes/drill.hpp:0613
  FN 10: IF QL16 NE QL45 GOTO LBL "IFNOT_15"           ; includes/drill.hpp:0614
   FN 9: IF QL26 EQU 0 GOTO LBL "IFNOT_16"             ; includes/drill.hpp:0193
   FN 12: IF QL26 LT 0 GOTO LBL "IFNOT_16"             ; includes/drill.hpp:0193
   CYCL DEF 9.0 VERWEILZEIT
   CYCL DEF 9.1 V.ZEIT QL26
   LBL "IFNOT_16"                                      ; includes/drill.hpp:0197
  LBL "e_201_ap$ream.dwell_time1"                      ; includes/drill.hpp:0038
  LBL "IFNOT_15"                                       ; includes/drill.hpp:0617
  FN 9: IF QL41 EQU QL30 GOTO LBL "IFNOT_17"           ; includes/drill.hpp:0618
  FN 11: IF QL41 GT QL30 GOTO LBL "IFNOT_17"           ; includes/drill.hpp:0618
  IZ-QL31 F QL18                                       ; includes/drill.hpp:0620
  QL41 = QL41 + 1                                      ; includes/drill.hpp:0621
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_17"                 ; includes/drill.hpp:0622
  LBL "IFNOT_17"                                       ; includes/drill.hpp:0622
  FN 9: IF QL45 EQU QL16 GOTO LBL "ELSE0NOT_17"        ; includes/drill.hpp:0623
  Z+QL43 F QL18                                        ; includes/drill.hpp:0625
   FN 9: IF QL27 EQU 0 GOTO LBL "IFNOT_18"             ; includes/drill.hpp:0193
   FN 12: IF QL27 LT 0 GOTO LBL "IFNOT_18"             ; includes/drill.hpp:0193
   CYCL DEF 9.0 VERWEILZEIT
   CYCL DEF 9.1 V.ZEIT QL27
   LBL "IFNOT_18"                                      ; includes/drill.hpp:0197
  LBL "e_201_ap$ream.dwell_time2"                      ; includes/drill.hpp:0038
  QL41 = 0                                             ; includes/drill.hpp:0627
  Z+QL44 F QL18                                        ; includes/drill.hpp:0628
  LBL "ELSE0NOT_17"                                    ; includes/drill.hpp:0629
  LBL "ENDIF_17"                                       ; includes/drill.hpp:0629
 QL28 = QL28 - ( ABS( QL32 ) * QL0 )                   ; includes/drill.hpp:0633
  FN 9: IF QL0 EQU 0 GOTO LBL "IFNOT_19"               ; includes/drill.hpp:0634
  FN 11: IF QL0 GT 0 GOTO LBL "IFNOT_19"               ; includes/drill.hpp:0634
   FN 9: IF QL28 EQU QL29 GOTO LBL "IFNOT_20"          ; includes/drill.hpp:0636
   FN 12: IF QL28 LT QL29 GOTO LBL "IFNOT_20"          ; includes/drill.hpp:0636
   QL28 = QL29                                         ; includes/drill.hpp:0636
   LBL "IFNOT_20"                                      ; includes/drill.hpp:0636
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_19"                 ; includes/drill.hpp:0637
  LBL "IFNOT_19"                                       ; includes/drill.hpp:0637
   FN 9: IF QL28 EQU QL29 GOTO LBL "IFNOT_21"          ; includes/drill.hpp:0640
   FN 11: IF QL28 GT QL29 GOTO LBL "IFNOT_21"          ; includes/drill.hpp:0640
   QL28 = QL29                                         ; includes/drill.hpp:0640
   LBL "IFNOT_21"                                      ; includes/drill.hpp:0640
  LBL "ENDIF_19"                                       ; includes/drill.hpp:0641
 FN 9: IF 0 EQU 0 GOTO LBL "FOR_11"                    ; includes/drill.hpp:0642
 LBL "FORNOT_11"                                       ; includes/drill.hpp:0642
 Z+QL15 R0 FMAX                                        ; includes/drill.hpp:0646
LBL 0                                                  ; includes/drill.hpp:0041
LBL "check_bit"                                        ; includes/stdlib.hh:0124
 QL46=15                                               ; includes/geo.hpp  :0850
 FN 9: IF 0 EQU 0 GOTO LBL "FORCMP_22"                 ; includes/geo.hpp  :0850
 LBL "FOR_22"                                          ; includes/geo.hpp  :0850
 QL46 = QL46 + -1                                      ; includes/geo.hpp  :0850
 LBL "FORCMP_22"                                       ; includes/geo.hpp  :0850
 FN 12: IF QL46 LT 0 GOTO LBL "FORNOT_22"              ; includes/geo.hpp  :0850
 QL38 = 2 ^ QL46                                       ; includes/geo.hpp  :0852
  FN 12: IF QL36 LT QL38 GOTO LBL "IFNOT_23"           ; includes/geo.hpp  :0853
   FN 10: IF QL46 NE QL37 GOTO LBL "IFNOT_24"          ; includes/geo.hpp  :0855
   QL38 = 1                                            ; includes/geo.hpp  :0857
   LBL 0                                               ; includes/geo.hpp  :0858
   LBL "IFNOT_24"                                      ; includes/geo.hpp  :0859
  QL36 = QL36 - 2^QL46                                 ; includes/geo.hpp  :0860
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_23"                 ; includes/geo.hpp  :0861
  LBL "IFNOT_23"                                       ; includes/geo.hpp  :0861
   FN 10: IF QL46 NE QL37 GOTO LBL "IFNOT_25"          ; includes/geo.hpp  :0864
   QL38 = 0                                            ; includes/geo.hpp  :0866
   LBL 0                                               ; includes/geo.hpp  :0867
   LBL "IFNOT_25"                                      ; includes/geo.hpp  :0868
  LBL "ENDIF_23"                                       ; includes/geo.hpp  :0869
 FN 9: IF 0 EQU 0 GOTO LBL "FOR_22"                    ; includes/geo.hpp  :0870
 LBL "FORNOT_22"                                       ; includes/geo.hpp  :0870
 QL38 = -1                                             ; includes/geo.hpp  :0871
LBL 0                                                  ; includes/stdlib.hh:0124
LBL "swap_axes"                                        ; includes/stdlib.hh:0120
 FN 17: SYSWRITE ID 212 = QL39                         ; includes/geo.hpp  :0841
LBL 0                                                  ; includes/stdlib.hh:0120
LBL "check_depth_sign"                                 ; includes/stdlib.hh:0128
 FN 9: IF QL40 EQU 0 GOTO LBL "IFNOT_26"               ; includes/geo.hpp  :0880
 FN 12: IF QL40 LT 0 GOTO LBL "IFNOT_26"               ; includes/geo.hpp  :0880
 QS3   = SYSSTR( ID 10025 NR 1 )                       ; includes/geo.hpp  :0885
 QS4   = "CfgGeoCycle"                                 ; includes/geo.hpp  :0886
 QS5   = "displayDepthErr"                             ; includes/geo.hpp  :0887
 QL47 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 )          ; includes/geo.hpp  :0888
  FN 10: IF QL47 NE 1 GOTO LBL "IFNOT_27"              ; includes/geo.hpp  :0890
  FN 14: ERROR= 1077                                   ; includes/geo.hpp  :0891
  LBL "IFNOT_27"                                       ; includes/geo.hpp  :0891
 LBL "IFNOT_26"                                        ; includes/geo.hpp  :0892
LBL 0                                                  ; includes/stdlib.hh:0128
LBL "check_spindle_status"                             ; includes/stdlib.hh:0133
 QS3   = SYSSTR( ID 10025 NR 1 )                       ; includes/geo.hpp  :0916
 QS4   = "CfgGeoCycle"                                 ; includes/geo.hpp  :0917
 QS5   = "displaySpindleErr"                           ; includes/geo.hpp  :0918
 Q0 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 )            ; includes/geo.hpp  :0919
 FN 10: IF Q0 NE 1 GOTO LBL "IFNOT_28"                 ; includes/geo.hpp  :0919
 FN 18: SYSREAD Q1 = ID 992 NR 20                      ; includes/geo.hpp  :0921
  FN 10: IF Q1 NE 0 GOTO LBL "IFNOT_29"                ; includes/geo.hpp  :0921
  FN 18: SYSREAD QL48 = ID 20 NR 5                     ; includes/geo.hpp  :0926
   FN 9: IF QL48 EQU 0 GOTO LBL "IFNOT_30"             ; includes/geo.hpp  :0927
   FN 9: IF QL48 EQU 1 GOTO LBL "IFNOT_30"             ; includes/geo.hpp  :0927
   FN 14: ERROR= 1000                                  ; includes/geo.hpp  :0929
   LBL "IFNOT_30"                                      ; includes/geo.hpp  :0930
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_29"                 ; includes/geo.hpp  :0931
  LBL "IFNOT_29"                                       ; includes/geo.hpp  :0931
  CALL LBL "state_exec"
  Q0 = QL49                                            ; includes/geo.hpp  :0937
   FN 9: IF Q0 EQU 0 GOTO LBL "IFNOT_31"               ; includes/geo.hpp  :0937
   LBL 0                                               ; includes/geo.hpp  :0937
   LBL "IFNOT_31"                                      ; includes/geo.hpp  :0937
  FN 20: WAIT FOR SYNC                                 ; includes/geo.hpp  :0941
  QL48 = 100                                           ; includes/geo.hpp  :0942
  FN 17: SYSWRITE ID 13 NR3 =+9990                     ; includes/geo.hpp  :0943
  READ FROM PLC KEY "PLC_API_VERSION" TO QL48          ; includes/geo.hpp  :0944
  LBL 9990                                             ; includes/geo.hpp  :0945
   FN 10: IF QL48 NE 100 GOTO LBL "IFNOT_32"           ; includes/geo.hpp  :0946
   FN 18: SYSREAD QL48 = ID 2000 NR 10 IDX 4000        ; includes/geo.hpp  :0948
    FN 10: IF QL48 NE 1 GOTO LBL "IFNOT_33"            ; includes/geo.hpp  :0949
    FN 14: ERROR= 1000                                 ; includes/geo.hpp  :0951
    LBL "IFNOT_33"                                     ; includes/geo.hpp  :0952
   FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_32"                ; includes/geo.hpp  :0953
   LBL "IFNOT_32"                                      ; includes/geo.hpp  :0953
   QS3   = SYSSTR( ID 10025 NR 1 )                     ; includes/geo.hpp  :0959
   QS4   = "CfgActivateKinem"                          ; includes/geo.hpp  :0960
   QS5   = "kinemToActivate"                           ; includes/geo.hpp  :0961
   QS3 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 )         ; includes/geo.hpp  :0962
   QS4   = "CfgKinComposModel"                         ; includes/geo.hpp  :0963
   QS5   = "activeSpindle"                             ; includes/geo.hpp  :0964
   QS10 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 )        ; includes/geo.hpp  :0965
   QS3   = ""                                          ; includes/geo.hpp  :0970
   QS4   = "CfgAxes"                                   ; includes/geo.hpp  :0971
   QS5   = "spindleIndices"                            ; includes/geo.hpp  :0972
   QL48=0                                              ; includes/geo.hpp  :0973
   FN 9: IF 0 EQU 0 GOTO LBL "FORCMP_34"               ; includes/geo.hpp  :0973
    LBL "FOR_34"                                       ; includes/geo.hpp  :0973
    QL48 = QL48 + 1                                    ; includes/geo.hpp  :0973
    LBL "FORCMP_34"                                    ; includes/geo.hpp  :0973
    FN 17: SYSWRITE ID 13 NR 3 = 9991                  ; includes/geo.hpp  :0975
    QS2 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 IDX QL48 )
    Q0 = STRCOMP( SRC_ QS2 SEA_ QS10 )                 ; includes/geo.hpp  :0977
     FN 10: IF Q0 NE 0 GOTO LBL "IFNOT_35"             ; includes/geo.hpp  :0977
     QS2 = "ApiSpin[" || TOCHAR( DAT+QL48 DECIMALS 0 ) || "].NN_SpiMotionRequest"
     READ FROM PLC KEY QS2 TO QL48                     ; includes/geo.hpp  :0980
      FN 10: IF QL48 NE 0 GOTO LBL "IFNOT_36"          ; includes/geo.hpp  :0981
      FN 14: ERROR= 1000                               ; includes/geo.hpp  :0983
      LBL "IFNOT_36"                                   ; includes/geo.hpp  :0984
     FN 9: IF 0 EQU 0 GOTO LBL "FORNOT_34"             ; includes/geo.hpp  :0985
     LBL "IFNOT_35"                                    ; includes/geo.hpp  :0986
    FN 9: IF 0 EQU 0 GOTO LBL "FOR_34"                 ; includes/geo.hpp  :0987
    LBL "FORNOT_34"                                    ; includes/geo.hpp  :0987
   LBL 9991                                            ; includes/geo.hpp  :0988
   LBL "ENDIF_32"                                      ; includes/geo.hpp  :0989
  LBL "ENDIF_29"                                       ; includes/geo.hpp  :0990
 LBL "IFNOT_28"                                        ; includes/geo.hpp  :0991
LBL 0                                                  ; includes/stdlib.hh:0133
LBL "state_exec"                                       ; includes/stdlib.hh:0076
 FN 18: SYSREAD QL49 = ID 992 NR 11                    ; includes/geo.hpp  :0583
 FN 10: IF QL49 NE 1 GOTO LBL "IFNOT_37"               ; includes/geo.hpp  :0584
 QL49 = 3                                              ; includes/geo.hpp  :0586
 LBL 0                                                 ; includes/geo.hpp  :0587
 LBL "IFNOT_37"                                        ; includes/geo.hpp  :0588
 FN 18: SYSREAD QL49 = ID 992 NR 16                    ; includes/geo.hpp  :0590
 FN 10: IF QL49 NE 0 GOTO LBL "IFNOT_38"               ; includes/geo.hpp  :0591
 QL49 = 1                                              ; includes/geo.hpp  :0593
 LBL 0                                                 ; includes/geo.hpp  :0594
 LBL "IFNOT_38"                                        ; includes/geo.hpp  :0595
 FN 18: SYSREAD QL49 = ID 992 NR 10                    ; includes/geo.hpp  :0597
 FN 10: IF QL49 NE 1 GOTO LBL "IFNOT_39"               ; includes/geo.hpp  :0598
 QL49 = 2                                              ; includes/geo.hpp  :0600
 LBL 0                                                 ; includes/geo.hpp  :0601
 LBL "IFNOT_39"                                        ; includes/geo.hpp  :0602
 QL49 = 0                                              ; includes/geo.hpp  :0603
 LBL 0                                                 ; includes/geo.hpp  :0604
LBL 0                                                  ; includes/stdlib.hh:0076
LBL "EXIT"                                             ;                   :-001
END PGM MM
