Refer to the screenshot above there's have six udt instances in PLC, which should be show in ignition
Refer to the screenshot above I use the opc Brower to find the PLC variables and want to create the tag with the UDT of ignition.
Refer to the screenshot above they were created by from the opc Brower move to the ignition tag folder, but new tags have no data type, almost like the folder or struct data types.
Refer to the screenshot above,i open the exist the tag that used the defined data types.
so, my first question is " How to quickly create Data Type Instance from OPC UA with PLC UDT tags," second question is why didn't working to use the opc Brower to create the tags of data type.
And I try to export the tag with Json files, I think it's a compilated file while opening the tag files.
third question is How to diagnosticate the data type instance of the ignition, I can check the status of the opc tags, but if i create the data type instance with a small wrong spelling.
Multi-select the tags from the browser and add them to a folder. Right-click the folder and create datatype from selected. Add your parameters and update member tag properties as needed.
In your case I would make one for the VFD, one for the HMI, and then one that combines the 2.
thank you, I follow your guide, but it can't select the datatype or something, refer to the screenshot above. Ignition Platform version is 8.1.32 (b2023091211)
Add the tags first. You can create the UDT type from the tag browser, not the OPC browser. Then delete the tags you added and add your UDT instance
sorry, I'm not understood. now I have UDT type, How to quickly create tags in UDT type. Why not with opc Brower to create? Could you give me a few screenshots if you have time. Thanks!
Assuming that you have tags that have common patterns that you want to use to create an Ignition UDT for there are a couple of ways you can do it. Seeing your OPC tag structure, I believe this is what you're looking for:
- Add tags to tag browser.
a. Drag/drop the OPC tag folder(s) and add.
- Select the created folder that will become the UDT structure and right-click it.
a. Select "Create Datatype from Selected"
- Rename folders, trim the UDT down to only the members you want/need, add parameter(s) to your UDT (example parameters shown).
a. You'll need to determine which parameter(s) you will need. These parameters will help you build the OPC path to each UDT member. (note: String parameters initialize as null unless you type something in and then remove it).
- Update the OPC path property for each UDT member.
a. You can multi-select the members and use something like this OPC path for each (this path uses the parameters I created).
ns=1;s=[{Device_p}]{Instance_p}.{TagName}
ns=1;s=[{Device_p}]{Instance_p}_RT.{TagName}
- Delete the tags that were initially added to the tag browser.
- Add UDT instance and supply correct parameters to replace the tags you just deleted.
Result (inspecting to verify OPC path):
Thanks for your detailed explanation. let me know how to create ignition's UDT, It's very kindly of you.
the customer provided me with the ignition's UDT template. so next step. I want to quickly create ignition's tags follow this template. My mind is that multiple variable selection from the opc Brower, and choose one udt template to create the ignition's tag.
At this point I'm going to direct you to Inductive University.