slick_william
Member
Hi there,
I am doing work for a customer who has a UDT that uses parameters like this:
PLC_REG_TO_SEND.GROUP_15.1234_DINT[1].0
I believe these tags are laid out with the intention that they will be Produced and that other controllers (like mine) will Consume the tags. I believe the PLC_REG_TO_SEND would be like a Consume path? And the Group_15 is a structure/UDT which has members like 1234_DINT, and 1234_REAL, and so on. I have done a bit of Produce/Consume but not much.
However, I am used to doing MSG instructions, where I might be able to poll each GROUP_15.1234_DINT[k] individually, or something like that.
The issue I am having is that when I try to create a UDT which has a member called 1234_DINT of type DINT[10] for example, Studio 5000 does not like that it starts with a number (1234_DINT). I get the error "Error in member name: Name is invalid".
Has anyone seen a UDT like this, and can anyone explain what the PLC_REG_TO_SEND part would be for? I have seen UDT's like Pump_1.isCalled (bool) and Pump_1.speed (real) or something like that, but never a UDT with two periods or sets of parameters (PLC_REG_TO_SEND.GROUP_15 vs. GROUP_15.1234_DINT[1].0).
Any info on this is massively appreciated. Thank you.
I am doing work for a customer who has a UDT that uses parameters like this:
PLC_REG_TO_SEND.GROUP_15.1234_DINT[1].0
I believe these tags are laid out with the intention that they will be Produced and that other controllers (like mine) will Consume the tags. I believe the PLC_REG_TO_SEND would be like a Consume path? And the Group_15 is a structure/UDT which has members like 1234_DINT, and 1234_REAL, and so on. I have done a bit of Produce/Consume but not much.
However, I am used to doing MSG instructions, where I might be able to poll each GROUP_15.1234_DINT[k] individually, or something like that.
The issue I am having is that when I try to create a UDT which has a member called 1234_DINT of type DINT[10] for example, Studio 5000 does not like that it starts with a number (1234_DINT). I get the error "Error in member name: Name is invalid".
Has anyone seen a UDT like this, and can anyone explain what the PLC_REG_TO_SEND part would be for? I have seen UDT's like Pump_1.isCalled (bool) and Pump_1.speed (real) or something like that, but never a UDT with two periods or sets of parameters (PLC_REG_TO_SEND.GROUP_15 vs. GROUP_15.1234_DINT[1].0).
Any info on this is massively appreciated. Thank you.