Virtual PLC-200 bench: stepper, encoder and DC motor
Duty cycle
0 %
Speed
0.0 rpm
C0
0
No errors: the program compiles.
SIMATIC S7-200 · CPU 224SFRUNSTOP
I0.0RUN_SW
I0.7CLEAR
I1.0MICROsensor
I1.1PROXsensor
Q0.0MOTOR0
Timet = 0.00 s · 0 scans
The motor turns at about 1 rev/s at full duty, not at all below about 12 % (friction), and ripples with a long PWM period. PS sees the pointer at 0°, the micro-switch at 180°: a crank lifts the barrier arm between them.