Micro820 Combining Bits into Word

straes

Member
Join Date
May 2017
Location
Henderson, TX
Posts
2
I'm trying to combine 16 bits into a word. I'm fairly used to how to do this with a GE PAC, but I'm trying to do it with this much cheaper Micro820.
 
Thanks for the reply. I suppose I should have stated I read every bit of help document I could have found.

I figured out the solution a few days ago. I didn't actually find any reference to it in any manual or instruction set I could find.

Essentially what I was looking for was how to reference each bit in a word, which as it turns out, is pretty simple...ExampleWord.0, ExampleWord.1, etc. I don't know how it took me so long to find it as it makes quite a bit of sense.

In the end, I just used MOV commands to move _IO_EM_DI_00 to Inputs.0, etc. I couldn't find a way to simply MOV or COP all of my _IO_EN_DI_XX with one simple statement, which was my initial intention. This fits the bill though it takes up more rungs than I'd like.
 

Similar Topics

I’m trying to read values from a device that can either send registers as 32 bit or a pair of 16 bit but if I understand right, the micro can only...
Replies
26
Views
804
Hello, I set up my Micro820 with a basic mapping. When I try to run a script to read the addresses I get errors for illegal addresses...
Replies
2
Views
167
Hi Guys, I am a new member and this is my first post! I have a little PLC experience but it is mostly with siemens logo and using ladder...
Replies
4
Views
899
Hello, I am using a AB Micro820 PLC, via the SD card I want to update the PLC program (not FW). First I created a text file on the SD card with...
Replies
2
Views
286
Hi New to PLCs, up until now I have played with smart relays and the siemens S7-1200 line with TIA. I am trying to get a AB Micro820 to talk to...
Replies
0
Views
301
Back
Top Bottom