--[SM1032 ]---PLS--(OUT)
If that works at all, the SM1032 and SM412 will only produce 0.5 second pulses.Yes, i have a Q03 and i need a 1 sec pulse,
--I SM412 I---[PLS]----[ADD 1K D1 D1]
Code:
--I SM412 I---[PLS]----[ADD 1K D1 D1]
Code:
--I SM412 I---[PLS]----[ADD 1K D1 D1]
Use the SM412 to perform your ADD every 0.5 seconds.
Use the PLS to perform your ADD on every PLC scan cycle.
What does using both the SM412 and the PLS do for you?
Possible answers:
1. It cranks my tractor.
2. It looks cool and sophistacated to the unknowing.
3. It was required by my instructor.
4. I always wear a belt and suspenders to hold up my pants.
4. It does nothing but I like it.
Number SM412
Name: 1 second clock
Meaning
0.5s +-----------+ +--
-----------+ 0.5s +-----------+
It depends on the INC instruction for your particular PLC. In most PLC brands that I know, INC would only be done one time for each ON-->OFF transition of the SM412, so it would only be incremented every 1 second.So if I don't have the PLS in there, shouldn't INC or DEC cause an increase or decrease every PLC scan cycle, when SM412 is high?
Hi Lancie, i really don't get it,
the code i posted isn't every line from my project,
but what i needed is D1 decrease every second,
and in another place i increase every second,
from the manual:
so if i don't have the PLS there, shouldn't increase or decrease every PLC scan cycle when SM412 is high?Code:Number SM412 Name: 1 second clock Meaning 0.5s +-----------+ +-- -----------+ 0.5s +-----------+
Sorry, i was in a hurry, i don't use ADD, it´s a DEC and INC instructions in my program