PLC API VAR_INPUT VAR_INPUT bRun : BOOL; (* Enabled *) tOffTime : TIME; (* Down Time of a pulse *) tOnTime : TIME; (* Up Time of a pulse *) END_VAR bRun : Activates the clock block tOffTime : Duration of low level tOnTime : Duration of high level VAR_OUTPUT VAR_OUTPUT Q : BOOL; (* PULSE *) END_VAR Q: Output signal Requirements 6.2 FB_SimDelay Delay block. A binary input signal 'bIn' is issued for the time duration 't'. The delay must be shorter than the input pulse duration. VAR_INPUT VAR_INPUT bIn : BOOL; (* Input pulse *) t : TIME; (* Delay time of the pulse *) END_VAR bIn : Input signal t : Delay time (should be shorter than the pulse duration) VAR_OUTPUT VAR_OUTPUT Q :
BOOL; (* PULSE *) END_VAR Q : Output signal TS1110 58 Version: 1.0 Development Environment Target System PLC Libraries to include TwinCAT v2.9.0 Build > 1020 PC (i386) TcSimManager.Lib (Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically)