Problems with 10 inputs and 32 outputs scenario on Mega128 (by Ciobanu Rivelino)
Hi ,
I whish to create a scenario from 10 inputs to ouput on 32 pins.
For example : i have 2 contact inputs to drive 3 ouputs.
on 1 st contact must activate all 3 outputs.
on 2 nd contact must activate ouput 1 and 3.
if activate 1 st contact i have all 3 outputs activate it and if press 2 nd contact output 1 and 3 is deactivate it.
I wish that contacts to work togheter because if scenario 2 is in action from 2nd contact and come scenario 1 from 1st contact, all outputs must remain active.
Regards.
Rivelino
Multumesc
(no subject) (by Ciobanu Rivelino)
Mean time i think it on this , and seem to working.
(no subject) (by ivan)
Normally in PLC program only one output address is uses in one project, except there are subrutine program.
Use latch and unlatch (set / reset) instruction for more one output in the same address.
regards
ivan