Download - Service, Support
Transcript
Programming and operating the FM 352-5 6.10 Operations in the FM 352-5 Library 6.10.2 Pulse timers (TP16 and TP32) Description This timer is available in two versions: As a 16-bit (FB116) and a 32-bit (FB113) timer. Pulse timers "TP16" and "TP32" generate a pulse with the length PT. A rising signal edge at input IN starts the pulse. Output Q remains set for the time PT regardless of changes in the input signal (in other words even when the IN input changes back from 0 to 1 before the time PT has expired). The ET output provides the time for which output Q has already been set. The maximum value of the ET output is the value of the PT input. Output ET is reset when input IN changes to 0; however, not before the time PT has expired. 6LJQDOVWDWHV ,1 4 37 37 37 37 (7 7LPH Figure 6-42 Table 6- 49 Pulse Timer (TP) LAD representation TP EN Timing Diagram for Pulse Timer (TP) ENO Parameter Data type Addresses Description IN BOOL Input Start input. PT INT, DINT Input, constant Duration of the pulse in 10 μs units. PT must be a positive constant. IN Q Q BOOL Output Status of the time. PT ET ET INT, DINT Output Elapsed time. Note: No logic is allowed at the EN input. FM 352-5 high-speed Boolean processor 138 Operating Manual, 05/2011, A5E00131318-04