User manual
Publication LOGIX-AP010B-EN-P - May 2010 57
Software Conversions Instructions Chapter 3
Binary Instruction: PULSE
SIMATIC S5 RSLogix 5000
The pulse instruction is used to detect a change of state of a digital flag and it generates a pulse that is ON for once scan
cycle when this change of state occurs. RSLogix 5000 software has a dedicated pulse function while in S5 the function can
be constructed as shown below. This is a good example of where it may be an option to use another language in
RSLogix 5000 software than in the original S5 project.
S5 Statement List
(F2.0 = 1 for one cycle after I1.0 =1)
A I1.0
AN F4.0
= F2.0
A I.0
= F4.0
RSLogix 5000 Structured Text
(PulseOutput =1 for one cycle after PulseInput goes from 0 to 1)
IF PulseInput and NOT PulseFlag THEN
PulseOutput :=1;
ELSE
PulseOutput:=0;
END_IF;
PulseFlag :=PulseInput;
SIMATIC S5 - Ladder
RSLogix 5000 - Ladder