1
Technical support / Relay Bit Manipulation
« on: October 24, 2013, 01:08:18 PM »
Sorry if this is posted somewhere but I cant find it.
How do I manipulate bits in BASIC?
This is wrong but this is how I would invision it to be like.
If
Relay[1:0]=1 & Relay[1:1]=1 Then
Relay[1:2]=1
Endif
In ladder I would do it like this
Relay#1 Realy#2 Relay#3
-----| |-----------| |-----------------------------------------( )---------
any way to do this in BASIC?
How do I manipulate bits in BASIC?
This is wrong but this is how I would invision it to be like.
If
Relay[1:0]=1 & Relay[1:1]=1 Then
Relay[1:2]=1
Endif
In ladder I would do it like this
Relay#1 Realy#2 Relay#3
-----| |-----------| |-----------------------------------------( )---------
any way to do this in BASIC?