Hi,
I am really new to this so please excuse my ignorance. I’m trying to make an LED (Output0) flash on completion of a step in a program. From my understanding I should be able to do this by creating a timer. I’ve followed the steps in the Software manual for this so I:
- Created a variable, Time0 (DINT)
- Created a step with the following commands:
Command: Set Discrete Output I/O Point: Output0
Command: Expression Expression: Time0 := _SysMS
Link Type: Cnd Jump Link Condition: _SysMS - Time0 >= 999 Jump on True: Repeat Jump on False: Wait
I more or less understand what’s going on here, apart from by setting Time0 = _SysMS, wont _SysMS - Time always equal zero?
Any help appreciated!