Sign in to follow this  
Followers 0
deuslupos

multiple adresses with one set/rset plc instruction

4 posts in this topic

hey, I was wondering weather is was possible to put multiple adresses in a single set/reset function. 

 

for example: 

W0.00----------------------------------------set W0.01 W0.02

 

as in: when W0.00 gets positive, both W0.01 and W0.02 will move to SET with only one plc instruction block

 

 

Thanks in advance. 

 

Deuslupos

Share this post


Link to post
Share on other sites

No, you need to do it like this:

hREf8HkkwsQSoyNPYAAAAASUVORK5CYII=

Share this post


Link to post
Share on other sites

Good morning...

Dear Deuslupos..

If you want to set individual bits U can use SET.

There is some option for set mutible bits SET/RSET..

Use SETA intruction and define the start bits and the end Bits OF SET

Usr RSTA intruction and define the start bits and the end Bits OF RESET

Share this post


Link to post
Share on other sites
6 hours ago, Martin_Aro said:

Good morning...

Dear Deuslupos..

If you want to set individual bits U can use SET.

There is some option for set mutible bits SET/RSET..

Use SETA intruction and define the start bits and the end Bits OF SET

Usr RSTA intruction and define the start bits and the end Bits OF RESET

Good point.  Note that SETA and RSTA are for consecutive bits only. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0