Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

what object would i create to have two addresses i.e. plant 1 auto Remote- ab1.n10:0_1 plant 1 stop Remote - ab1.b3_26 ???

what object would i create to have two addresses i.e. plant 1 auto Remote- ab1.n10:0_1 plant 1 stop Remote - ab1.b3_26 ???

0 Kudos
Message 1 of 4
(5,560 Views)

Please be more specific, what is the function of each.

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 2 of 4
(5,556 Views)

plant 1 auto

                 plc latter logic address ab1.n10:0_1

                             puts plant one into auto mode 

                 plc latter logic address ab1.b3_26

                             puts pnant one into stop mode

 

 

0 Kudos
Message 3 of 4
(5,553 Views)

Is there more than 2 states?  Auto, Stop, Run, etc.

 

One method would be a switch:  On=Auto, Off= Stop.  Connect the address data members to the state of the switch.

 

ab1.n10:0_1 = switch1

ab1.b3_26 = !switch1

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 4 of 4
(5,550 Views)