SoMachine Basic V1.5 move Bits in to a Word

Tjkeets90

Member
Join Date
Mar 2018
Location
England
Posts
39
Hi

I'm trying to move bits in to a word.

I'm wanting to move %10.0 - %10.13 (Onboard Inputs) in to %MW1

I've tried moving one bit in to another bit - SW1 := MW1:X0
(%10.0 = sw1) but I can't get that to work either.

Any help would be massively appreciated.

Thanks
 
Check attached picture

Thanks for the reply. I've tried that first off but then I get an error message; I've attached a link.

The address for the bit you shown seems to have one more digit than mine at the end but I can't see what it is even if I zoom in?

Thanks

Tom

SoMachine.jpg
 

Similar Topics

Hi I'm trying to move bits in to a word. I'm wanting to move %10.0 - %10.13 (Onboard Inputs) in to %MW1 I've tried moving one bit in to another...
Replies
1
Views
1,438
Hello everyone Im using SoMachine Basic V1.5, the PLC is a TM221CE16R with analog inputs, I also have a TM3A2Q (analog out) I have everything...
Replies
7
Views
8,082
Hi all, I've been trying to develop modbus rtu program between uv balasts and plc ı'have 6 slave balast.I am reading fault run voltages etc...
Replies
0
Views
1,199
hello eveyrone I want to make an application with M221 PLC in SOMACHINE BASIC program. I request your valuable help. I have a 50 ms pulse...
Replies
1
Views
1,605
Hi Guys, I'm using M221(TM221CE24R) PLC and SoMachine Basic from Schneider and having a bit of problem. 1. I can't able to read the data from...
Replies
1
Views
1,748
Back
Top Bottom