Application ExamplesIP 267FB 53 LEN=81 ABSPAGE 1SEGMENT 1 0000FB53 EXECUTES THE REFERENCE POINT APPROACH USING A REFERENCE POINT SWITCH.THE POSITIONING JOBS ARE SET IN THE PIQ VIA DIRECT ACCESSES. THIS ROUTINE ISSTARTED BY A POSITIVE EDGE AT I 0.2 (SEE OB1)MEANING OF THE FLAGS USED :F 104.0 FLAG BIT FOR THE FIRST APPROACH SECTION ( START FORWARDS )F 104.1 FLAG BIT FOR THE SECOND APPROACH SECTION ( START BACKWARDS )F 104.2 FLAG BIT FOR THE BACKWARDS AUXILIARY APPROACH SECTIONF 104.3 FLAG BIT FOR THE THIRD APPROACH SECTION ( START FORWARDS WITH LOWVELOCITY )F 104.7 AUXILIARY FLAG TO ALLOW THE CPU DELAY CYCLE TO RUNTHE IP 267 IS INSTALLED IN SLOT 3 OF THE S5-100U IN THIS EXAMPLE( ADDRESS BYTES 88-89-90-91 )I 88.1 REFERENCE POINT ( ERP )I 88.5 PULSE OUTPUT ( EIA )NAME :RPKT0005 :A I 88.5 IF PULSES ARE OUTPUT,0006 :S Q 89.4 SWITCH ON "NEUTRAL" MODE0007 :S Q 89.5 AND DO NOT PROCESS0008 :BEC THE FB0009 :000A :000B :A F 104.0000C :JC =M001000D :S F 104.0000E :S F 104.7000F :L KH 585F FIRST APPROACH SECTION: FORW.0011 :T QW 88 WITH REFERENCE POINT BIT SET0012 :L KH FFFF AND MAXIMUM PATH0014 :T QW 900015 :BEU0016 :0017 :0018 M001 :AN F 104.1 OMIT THE 2ND APPROACH SECTION0019 :A I 88.1 IF THE BERO IS DETECTED001A :S F 104.1 DURING THE FIRST APPROACH SECTION001B :JC =M002001C :001D :6-16EWA 4NEB 812 6061-02a