3 . I ns t r uc ti on Se t3- 1 4 9 When M1156/M1158 = ON, enable ramp-down pause (Mark function) on Y0/Y2 when X4/X6receives interrupt signals. When Mark function is enabled, ramp down time is independent of the ramp up time. Users canset ramp up time in S3 and ramp down time in D1348/D1349. (Range: 20ms~32767ms) When Mark function is executed and the ramp-down stop pulses (DD1232/DD1234) arespecified, PLC will execute ramp-down stop with specified pulses after Mark is detected.However, if DD1232/DD1234 are less than the specified ramp-down time (D1348 / D1349), PLCwill fill DD1232/DD1234 with the value of ramp-down time. In addition, if DD1232/DD1234 ismore than the half of total output pulses, PLC will modify DD1232/DD1234 to be less than half ofthe total output pulses. Ramp-down stop pulses (DD1232/DD1234) are 32-bit value. Set value K0 will disable the Markfunction. Y0,Y2 relative parameters for Mask and Alignment Mark function:ParameterOutput Mark flag InputpointsRampdowntimePulse numberfor maskingoutputPulse numberfor ramp-downof MarkfunctionOutputpause(rampdown)PausestatusY0 M1156 X4 D1348 D1026, D1027 D1232, D1233 M1108 M1538Y2 M1158 X6 D1349 D1135, D1136 D1234, D1235 M1110 M1540Program example 1:M0Y0M0M1000I401SET M1156DMOV K10000 D1232DPLSR K100000 K1000000 K20FENDINCP D0IRETENDExplanations: When M0 is triggered, Y0 executes pulse output. If external interrupt is detected on X4, pulseoutput will perform ramp down process for 10,000 pulses and then stop. M1108 will be ON toindicate the pause status (ramp down). If no interrupt is detected, Y0 pulse output will stop after1,000,000 pulses are completed. When pulse output ramps down and stops after Mark is detected, M1538 will be ON to indicate