Addressing GE PLC Registers at Bit level?

skyfox

Lifetime Supporting Member
Join Date
Nov 2006
Location
CA
Posts
279
Can a %R Register (or any other word type) data be addressed at bit level?

ex. Register = %R0001

Can I use it in ladder where I am looking at Bit 1 to see if it is set? (In AB World this would be similar to a Tag named "My_Int" and using My_Int.1 in logic)

Can this be done with 90-30 PLC's?

Thx
 
Use BTST.



---------+-BTST--+
| |
%R0001-| |-%M0001
| |
BitNum-| |
+-------+




Will set %M0001 if BitNum of %R0001 is set.

See also BSET, BCLR, and BPOS.
 
Last edited:
Can a %R Register (or any other word type) data be addressed at bit level?

ex. Register = %R0001

Can I use it in ladder where I am looking at Bit 1 to see if it is set? (In AB World this would be similar to a Tag named "My_Int" and using My_Int.1 in logic)

Can this be done with 90-30 PLC's?

Thx
Not in the 90-30, but you can in an RX3i.
 
Use BTST.



---------+-BTST--+
| |
%R0001-| |-%M0001
| |
BitNum-| |
+-------+




Will set %M0001 if BitNum of %R0001 is set.

See also BSET, BCLR, and BPOS.
The Bit_Test and Bit_Set and a few others can you do some of this but it is cumbersome and inefficient.
Use the Toolchest and Companion Windows together to see what tools you have, and use the 'F1' key for details.

Bits.jpg
 
Can a %R Register (or any other word type) data be addressed at bit level?

ex. Register = %R0001

Can I use it in ladder where I am looking at Bit 1 to see if it is set? (In AB World this would be similar to a Tag named "My_Int" and using My_Int.1 in logic)

Can this be done with 90-30 PLC's?

Thx


Don't know exactly what you're trying to accomplish, but it may be easier for you to simply use a bit group as a word reference, rather than using a %R register. You may also move a register reference to a bit group with a "Word" type data move function in order to test the register's individual bit status. Just be aware of byte boundaries when doing these things.
 

Similar Topics

I have a system using Rx3I CRU320 redundant CPU with Proficy Machine Edition Software. In the hardware configuration of each CPU module, under...
Replies
14
Views
393
Hi All Working with Tia v16 on a PLC 1515F I am getting older by the minute, beating on indirect addressing for a DB I have a DB with 65 row of...
Replies
7
Views
3,789
Hello I read your info about modbus addressing with %MW register. I have a PLC with registers PLC ADDR: MW4513 and the machine constructor write...
Replies
4
Views
7,127
Hello guys, This works: L P#DBX 30.0 LAR2 But I need "DBX 30.0" to be input parameter to the function. I made pTag variable with data type...
Replies
19
Views
6,392
Greeting, I am doing some investigations on which driver(s) support tag based addressing (eg. Pump001_Running) rather than DB or Modbus based...
Replies
4
Views
3,746
Back
Top Bottom