BEGIN PGM 202.h MM ; h++ 2 13 8 2015_05_06
 QL19 = Q203                                           ; src/202.hpp       :0009
 QL20 = Q200                                           ; src/202.hpp       :0009
 QL21 = Q204                                           ; src/202.hpp       :0009
 QL22 = Q201                                           ; src/202.hpp       :0009
 QL23 = 0                                              ; src/202.hpp       :0009
 QL24 = Q206                                           ; src/202.hpp       :0009
 QL25 = Q208                                           ; src/202.hpp       :0009
 CALL LBL "202$bore.DRILL"
 QL26 = Q211                                           ; src/202.hpp       :0013
 QL27 = Q214                                           ; src/202.hpp       :0013
 QL28 = 0.2                                            ; src/202.hpp       :0013
 QL29 = Q336                                           ; src/202.hpp       :0013
 CALL LBL "202$bore.boring"
LBL "e_2020"                                           ; src/202.hpp       :0007
FN 9: IF 0 EQU 0 GOTO LBL "EXIT"                       ;                   :-001
LBL "202$bore.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 QL30 = 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
 QL33 = QL30                                           ; includes/drill.hpp:0095
 QL34 = 1                                              ; includes/drill.hpp:0095
 CALL LBL "check_bit"
 QL10 = QL35                                           ; includes/drill.hpp:0095
 QL33 = QL30                                           ; includes/drill.hpp:0096
 QL34 = 2                                              ; includes/drill.hpp:0096
 CALL LBL "check_bit"
 QL11 = QL35                                           ; includes/drill.hpp:0096
 QL33 = QL30                                           ; includes/drill.hpp:0097
 QL34 = 0                                              ; includes/drill.hpp:0097
 CALL LBL "check_bit"
 QL11 = QL35                                           ; 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
 QL33 = QL30                                           ; includes/drill.hpp:0104
 QL34 = 2                                              ; includes/drill.hpp:0104
 CALL LBL "check_bit"
 QL10 = QL35                                           ; includes/drill.hpp:0104
 QL33 = QL30                                           ; includes/drill.hpp:0105
 QL34 = 0                                              ; includes/drill.hpp:0105
 CALL LBL "check_bit"
 QL11 = QL35                                           ; includes/drill.hpp:0105
 QL33 = QL30                                           ; includes/drill.hpp:0106
 QL34 = 1                                              ; includes/drill.hpp:0106
 CALL LBL "check_bit"
 QL11 = QL35                                           ; 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
 QL33 = QL30                                           ; includes/drill.hpp:0113
 QL34 = 0                                              ; includes/drill.hpp:0113
 CALL LBL "check_bit"
 QL10 = QL35                                           ; includes/drill.hpp:0113
 QL33 = QL30                                           ; includes/drill.hpp:0114
 QL34 = 1                                              ; includes/drill.hpp:0114
 CALL LBL "check_bit"
 QL11 = QL35                                           ; includes/drill.hpp:0114
 QL33 = QL30                                           ; includes/drill.hpp:0115
 QL34 = 2                                              ; includes/drill.hpp:0115
 CALL LBL "check_bit"
 QL11 = QL35                                           ; 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
 QL36 = 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 QL31 = ID 950 NR 32                    ; includes/drill.hpp:0139
  FN 11: IF QL31 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 QL31 EQU 180 GOTO LBL "ELSE0NOT_4"          ; includes/drill.hpp:0144
  QL22 = QL22 + ( QL0 * ( QL6 / ( TAN( QL31 / 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
 QL37 = 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 QL32 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 "202$bore.boring"                                  ; includes/drill.hpp:0042
 QL38 = QL13 - QL14 * QL0                              ; includes/drill.hpp:0660
 Z+QL38 R0 FMAX                                        ; includes/drill.hpp:0661
 CALL LBL "check_spindle_status"
 Z+QL16 F QL17                                         ; includes/drill.hpp:0669
 FN 9: IF QL26 EQU 0 GOTO LBL "IFNOT_9"                ; includes/drill.hpp:0193
 FN 12: IF QL26 LT 0 GOTO LBL "IFNOT_9"                ; includes/drill.hpp:0193
 CYCL DEF 9.0 VERWEILZEIT
 CYCL DEF 9.1 V.ZEIT QL26
 LBL "IFNOT_9"                                         ; includes/drill.hpp:0197
 LBL "e_202$bore.dwell_time1"                          ; includes/drill.hpp:0038
 QL39 = QL29                                           ; includes/drill.hpp:0674
 CALL LBL "202$bore.orient_spindle"
 FN 9: IF QL27 EQU 1 GOTO LBL "CASE0_10"               ; includes/drill.hpp:0678
 FN 9: IF QL27 EQU 2 GOTO LBL "CASE1_10"               ; includes/drill.hpp:0678
 FN 9: IF QL27 EQU 3 GOTO LBL "CASE2_10"               ; includes/drill.hpp:0678
 FN 9: IF QL27 EQU 4 GOTO LBL "CASE3_10"               ; includes/drill.hpp:0678
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_10"              ; includes/drill.hpp:0678
 LBL "CASE0_10"                                        ; includes/drill.hpp:0680
 IX-QL28                                               ; includes/drill.hpp:0681
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_10"              ; includes/drill.hpp:0682
 LBL "CASE1_10"                                        ; includes/drill.hpp:0683
 IY-QL28                                               ; includes/drill.hpp:0684
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_10"              ; includes/drill.hpp:0685
 LBL "CASE2_10"                                        ; includes/drill.hpp:0686
 IX+QL28                                               ; includes/drill.hpp:0687
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_10"              ; includes/drill.hpp:0688
 LBL "CASE3_10"                                        ; includes/drill.hpp:0689
 IY+QL28                                               ; includes/drill.hpp:0690
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_10"              ; includes/drill.hpp:0691
 LBL "SWITCHEND_10"                                    ; includes/drill.hpp:0692
 Z+QL38 F QL18                                         ; includes/drill.hpp:0696
 FN 17: SYSWRITE ID 990 NR 16 = 0                      ; includes/drill.hpp:0697
 Z+QL15 R0 FMAX                                        ; includes/drill.hpp:0701
 FN 9: IF QL1 EQU 0 GOTO LBL "CASE0_11"                ; includes/drill.hpp:0705
 FN 9: IF QL1 EQU 1 GOTO LBL "CASE1_11"                ; includes/drill.hpp:0705
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_11"              ; includes/drill.hpp:0705
 LBL "CASE0_11"                                        ; includes/drill.hpp:0706
 M3                                                    ; includes/drill.hpp:0707
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_11"              ; includes/drill.hpp:0708
 LBL "CASE1_11"                                        ; includes/drill.hpp:0709
 M4                                                    ; includes/drill.hpp:0710
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_11"              ; includes/drill.hpp:0711
 LBL "SWITCHEND_11"                                    ; includes/drill.hpp:0712
 FN 10: IF QL4 NE 1 GOTO LBL "IFNOT_12"                ; includes/drill.hpp:0713
  FN 10: IF QL2 NE 1 GOTO LBL "IFNOT_13"               ; includes/drill.hpp:0714
  M7                                                   ; includes/drill.hpp:0714
  LBL "IFNOT_13"                                       ; includes/drill.hpp:0714
  FN 10: IF QL3 NE 1 GOTO LBL "IFNOT_14"               ; includes/drill.hpp:0715
  M8                                                   ; includes/drill.hpp:0715
  LBL "IFNOT_14"                                       ; includes/drill.hpp:0715
 LBL "IFNOT_12"                                        ; includes/drill.hpp:0716
 FN 9: IF QL27 EQU 1 GOTO LBL "CASE0_15"               ; includes/drill.hpp:0717
 FN 9: IF QL27 EQU 2 GOTO LBL "CASE1_15"               ; includes/drill.hpp:0717
 FN 9: IF QL27 EQU 3 GOTO LBL "CASE2_15"               ; includes/drill.hpp:0717
 FN 9: IF QL27 EQU 4 GOTO LBL "CASE3_15"               ; includes/drill.hpp:0717
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_15"              ; includes/drill.hpp:0717
 LBL "CASE0_15"                                        ; includes/drill.hpp:0718
 IX+QL28 R0 FMAX                                       ; includes/drill.hpp:0719
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_15"              ; includes/drill.hpp:0720
 LBL "CASE1_15"                                        ; includes/drill.hpp:0721
 IY+QL28 R0 FMAX                                       ; includes/drill.hpp:0722
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_15"              ; includes/drill.hpp:0723
 LBL "CASE2_15"                                        ; includes/drill.hpp:0724
 IX-QL28 R0 FMAX                                       ; includes/drill.hpp:0725
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_15"              ; includes/drill.hpp:0726
 LBL "CASE3_15"                                        ; includes/drill.hpp:0727
 IY-QL28 R0 FMAX                                       ; includes/drill.hpp:0728
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_15"              ; includes/drill.hpp:0729
 LBL "SWITCHEND_15"                                    ; includes/drill.hpp:0730
LBL 0                                                  ; includes/drill.hpp:0042
LBL "check_bit"                                        ; includes/stdlib.hh:0124
 QL40=15                                               ; includes/geo.hpp  :0850
 FN 9: IF 0 EQU 0 GOTO LBL "FORCMP_16"                 ; includes/geo.hpp  :0850
 LBL "FOR_16"                                          ; includes/geo.hpp  :0850
 QL40 = QL40 + -1                                      ; includes/geo.hpp  :0850
 LBL "FORCMP_16"                                       ; includes/geo.hpp  :0850
 FN 12: IF QL40 LT 0 GOTO LBL "FORNOT_16"              ; includes/geo.hpp  :0850
 QL35 = 2 ^ QL40                                       ; includes/geo.hpp  :0852
  FN 12: IF QL33 LT QL35 GOTO LBL "IFNOT_17"           ; includes/geo.hpp  :0853
   FN 10: IF QL40 NE QL34 GOTO LBL "IFNOT_18"          ; includes/geo.hpp  :0855
   QL35 = 1                                            ; includes/geo.hpp  :0857
   LBL 0                                               ; includes/geo.hpp  :0858
   LBL "IFNOT_18"                                      ; includes/geo.hpp  :0859
  QL33 = QL33 - 2^QL40                                 ; includes/geo.hpp  :0860
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_17"                 ; includes/geo.hpp  :0861
  LBL "IFNOT_17"                                       ; includes/geo.hpp  :0861
   FN 10: IF QL40 NE QL34 GOTO LBL "IFNOT_19"          ; includes/geo.hpp  :0864
   QL35 = 0                                            ; includes/geo.hpp  :0866
   LBL 0                                               ; includes/geo.hpp  :0867
   LBL "IFNOT_19"                                      ; includes/geo.hpp  :0868
  LBL "ENDIF_17"                                       ; includes/geo.hpp  :0869
 FN 9: IF 0 EQU 0 GOTO LBL "FOR_16"                    ; includes/geo.hpp  :0870
 LBL "FORNOT_16"                                       ; includes/geo.hpp  :0870
 QL35 = -1                                             ; includes/geo.hpp  :0871
LBL 0                                                  ; includes/stdlib.hh:0124
LBL "swap_axes"                                        ; includes/stdlib.hh:0120
 FN 17: SYSWRITE ID 212 = QL36                         ; includes/geo.hpp  :0841
LBL 0                                                  ; includes/stdlib.hh:0120
LBL "check_depth_sign"                                 ; includes/stdlib.hh:0128
 FN 9: IF QL37 EQU 0 GOTO LBL "IFNOT_20"               ; includes/geo.hpp  :0880
 FN 12: IF QL37 LT 0 GOTO LBL "IFNOT_20"               ; 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
 QL41 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 )          ; includes/geo.hpp  :0888
  FN 10: IF QL41 NE 1 GOTO LBL "IFNOT_21"              ; includes/geo.hpp  :0890
  FN 14: ERROR= 1077                                   ; includes/geo.hpp  :0891
  LBL "IFNOT_21"                                       ; includes/geo.hpp  :0891
 LBL "IFNOT_20"                                        ; 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_22"                 ; 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_23"                ; includes/geo.hpp  :0921
  FN 18: SYSREAD QL42 = ID 20 NR 5                     ; includes/geo.hpp  :0926
   FN 9: IF QL42 EQU 0 GOTO LBL "IFNOT_24"             ; includes/geo.hpp  :0927
   FN 9: IF QL42 EQU 1 GOTO LBL "IFNOT_24"             ; includes/geo.hpp  :0927
   FN 14: ERROR= 1000                                  ; includes/geo.hpp  :0929
   LBL "IFNOT_24"                                      ; includes/geo.hpp  :0930
  FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_23"                 ; includes/geo.hpp  :0931
  LBL "IFNOT_23"                                       ; includes/geo.hpp  :0931
  CALL LBL "state_exec"
  Q0 = QL43                                            ; includes/geo.hpp  :0937
   FN 9: IF Q0 EQU 0 GOTO LBL "IFNOT_25"               ; includes/geo.hpp  :0937
   LBL 0                                               ; includes/geo.hpp  :0937
   LBL "IFNOT_25"                                      ; includes/geo.hpp  :0937
  FN 20: WAIT FOR SYNC                                 ; includes/geo.hpp  :0941
  QL42 = 100                                           ; includes/geo.hpp  :0942
  FN 17: SYSWRITE ID 13 NR3 =+9990                     ; includes/geo.hpp  :0943
  READ FROM PLC KEY "PLC_API_VERSION" TO QL42          ; includes/geo.hpp  :0944
  LBL 9990                                             ; includes/geo.hpp  :0945
   FN 10: IF QL42 NE 100 GOTO LBL "IFNOT_26"           ; includes/geo.hpp  :0946
   FN 18: SYSREAD QL42 = ID 2000 NR 10 IDX 4000        ; includes/geo.hpp  :0948
    FN 10: IF QL42 NE 1 GOTO LBL "IFNOT_27"            ; includes/geo.hpp  :0949
    FN 14: ERROR= 1000                                 ; includes/geo.hpp  :0951
    LBL "IFNOT_27"                                     ; includes/geo.hpp  :0952
   FN 9: IF 0 EQU 0 GOTO LBL "ENDIF_26"                ; includes/geo.hpp  :0953
   LBL "IFNOT_26"                                      ; 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
   QL42=0                                              ; includes/geo.hpp  :0973
   FN 9: IF 0 EQU 0 GOTO LBL "FORCMP_28"               ; includes/geo.hpp  :0973
    LBL "FOR_28"                                       ; includes/geo.hpp  :0973
    QL42 = QL42 + 1                                    ; includes/geo.hpp  :0973
    LBL "FORCMP_28"                                    ; 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 QL42 )
    Q0 = STRCOMP( SRC_ QS2 SEA_ QS10 )                 ; includes/geo.hpp  :0977
     FN 10: IF Q0 NE 0 GOTO LBL "IFNOT_29"             ; includes/geo.hpp  :0977
     QS2 = "ApiSpin[" || TOCHAR( DAT+QL42 DECIMALS 0 ) || "].NN_SpiMotionRequest"
     READ FROM PLC KEY QS2 TO QL42                     ; includes/geo.hpp  :0980
      FN 10: IF QL42 NE 0 GOTO LBL "IFNOT_30"          ; includes/geo.hpp  :0981
      FN 14: ERROR= 1000                               ; includes/geo.hpp  :0983
      LBL "IFNOT_30"                                   ; includes/geo.hpp  :0984
     FN 9: IF 0 EQU 0 GOTO LBL "FORNOT_28"             ; includes/geo.hpp  :0985
     LBL "IFNOT_29"                                    ; includes/geo.hpp  :0986
    FN 9: IF 0 EQU 0 GOTO LBL "FOR_28"                 ; includes/geo.hpp  :0987
    LBL "FORNOT_28"                                    ; includes/geo.hpp  :0987
   LBL 9991                                            ; includes/geo.hpp  :0988
   LBL "ENDIF_26"                                      ; includes/geo.hpp  :0989
  LBL "ENDIF_23"                                       ; includes/geo.hpp  :0990
 LBL "IFNOT_22"                                        ; includes/geo.hpp  :0991
LBL 0                                                  ; includes/stdlib.hh:0133
LBL "202$bore.orient_spindle"                          ; includes/drill.hpp:0039
 FN 18: SYSREAD QL45 = ID 210 NR 8                     ; includes/drill.hpp:0210
 QL39 = QL39 + -QL45                                   ; includes/drill.hpp:0211
 QS3 = SYSSTR( ID10025 NR1 )                           ; includes/drill.hpp:0215
 QS4 = "CfgGeoCycle"                                   ; includes/drill.hpp:0216
 QS5 = "mStrobeOrient"                                 ; includes/drill.hpp:0217
 QL44 = CFGREAD( KEY_ QS3 TAG_ QS4 ATR_ QS5 )          ; includes/drill.hpp:0218
 FN 9: IF QL44 EQU -1 GOTO LBL "CASE0_31"              ; includes/drill.hpp:0219
 FN 9: IF QL44 EQU 0 GOTO LBL "CASE1_31"               ; includes/drill.hpp:0219
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHDEF_31"              ; includes/drill.hpp:0219
 LBL "CASE0_31"                                        ; includes/drill.hpp:0221
 FN 17: SYSWRITE ID 990 NR 16 = 1                      ; includes/drill.hpp:0222
 FN 17: SYSWRITE ID 990 NR 8 = QL39                    ; includes/drill.hpp:0223
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_31"              ; includes/drill.hpp:0224
 LBL "CASE1_31"                                        ; includes/drill.hpp:0225
 FN 14: ERROR= 1074                                    ; includes/drill.hpp:0226
 FN 9: IF 0 EQU 0 GOTO LBL "SWITCHEND_31"              ; includes/drill.hpp:0227
 LBL "SWITCHDEF_31"                                    ; includes/drill.hpp:0228
 CALL LBL "state_exec"
 Q0 = QL43                                             ; includes/drill.hpp:0229
  FN 10: IF Q0 NE 0 GOTO LBL "IFNOT_32"                ; includes/drill.hpp:0229
  CYCL DEF 13.0 ORIENTATION
  CYCL DEF 13.1 ANGLE QL39
  M QL44                                               ; includes/drill.hpp:0232
  QS5 = "%OEM_SPINDLEPOS%"                             ; includes/drill.hpp:0233
  FN 22: FUNCT QL44 FNR 900 PIN 40 PIN 2 PEX 5         ; includes/drill.hpp:0234
  LBL "IFNOT_32"                                       ; includes/drill.hpp:0235
 LBL "SWITCHEND_31"                                    ; includes/drill.hpp:0236
LBL 0                                                  ; includes/drill.hpp:0039
LBL "state_exec"                                       ; includes/stdlib.hh:0076
 FN 18: SYSREAD QL43 = ID 992 NR 11                    ; includes/geo.hpp  :0583
 FN 10: IF QL43 NE 1 GOTO LBL "IFNOT_33"               ; includes/geo.hpp  :0584
 QL43 = 3                                              ; includes/geo.hpp  :0586
 LBL 0                                                 ; includes/geo.hpp  :0587
 LBL "IFNOT_33"                                        ; includes/geo.hpp  :0588
 FN 18: SYSREAD QL43 = ID 992 NR 16                    ; includes/geo.hpp  :0590
 FN 10: IF QL43 NE 0 GOTO LBL "IFNOT_34"               ; includes/geo.hpp  :0591
 QL43 = 1                                              ; includes/geo.hpp  :0593
 LBL 0                                                 ; includes/geo.hpp  :0594
 LBL "IFNOT_34"                                        ; includes/geo.hpp  :0595
 FN 18: SYSREAD QL43 = ID 992 NR 10                    ; includes/geo.hpp  :0597
 FN 10: IF QL43 NE 1 GOTO LBL "IFNOT_35"               ; includes/geo.hpp  :0598
 QL43 = 2                                              ; includes/geo.hpp  :0600
 LBL 0                                                 ; includes/geo.hpp  :0601
 LBL "IFNOT_35"                                        ; includes/geo.hpp  :0602
 QL43 = 0                                              ; includes/geo.hpp  :0603
 LBL 0                                                 ; includes/geo.hpp  :0604
LBL 0                                                  ; includes/stdlib.hh:0076
LBL "EXIT"                                             ;                   :-001
END PGM MM
