Allen Nelson
Member
In Controllogix PLCs, you can create a "User-defined type" of tag.
You can, for example, create a "DEVICE" UDT, and have tags DEV1.ON, DEV1.OFF, DEV1.STATUS, and DEV1.FaultTimer, where .ON and .OFF are bits, .STATUS is a DInt, and .FaultTimer is a timer.
So far, it's good.
But I want to be able to do things like I used to do them in PLC-5/SLCs. If I had the symbol DEV1_ON as N7:0/0 and DEV1_OFF as N7:0/1, I didn't have to do anything program DEV1_STATUS, because its address N7:0. I just use STATUS on the HMI and I was done.
Now I've found that you CAN do this sort of thing with Controllogix, using a technique called "bit overlays". I've learned that you can't do this using RSLogix5000, but have to edit the .L5K file in a special way to get the effect.
My question is: What is that special way?
I've looked through the RSLogix forum, and the Knowledgebase, and the only thing I've learned is that the technique is called "bit overlay" (which there is an unhelpful help topic in it in the Logix), and that once you do this, the UDT is read-only.
But how do you do it? What's the syntax?
You can, for example, create a "DEVICE" UDT, and have tags DEV1.ON, DEV1.OFF, DEV1.STATUS, and DEV1.FaultTimer, where .ON and .OFF are bits, .STATUS is a DInt, and .FaultTimer is a timer.
So far, it's good.
But I want to be able to do things like I used to do them in PLC-5/SLCs. If I had the symbol DEV1_ON as N7:0/0 and DEV1_OFF as N7:0/1, I didn't have to do anything program DEV1_STATUS, because its address N7:0. I just use STATUS on the HMI and I was done.
Now I've found that you CAN do this sort of thing with Controllogix, using a technique called "bit overlays". I've learned that you can't do this using RSLogix5000, but have to edit the .L5K file in a special way to get the effect.
My question is: What is that special way?
I've looked through the RSLogix forum, and the Knowledgebase, and the only thing I've learned is that the technique is called "bit overlay" (which there is an unhelpful help topic in it in the Logix), and that once you do this, the UDT is read-only.
But how do you do it? What's the syntax?