Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Can I move UDT data using an array in Structured Text? (RS Logix 5000)
Post Body

So, I'm playing around with some trace logging, and I've got UDT's being used to arrange data (pre-existed), in the following format:

R1_Side_A_Weld_Data.Robot1.Weld_1.WFS_Avg

R1_Side_A_Weld_Data.Robot1.Weld_1.Volts_Avg

R1_Side_A_Weld_Data.Robot1.Weld_1.Amps_Avg

R1_Side_A_Weld_Data.Robot1.Weld_1.Travel_Speed

R1_Side_A_Weld_Data.Robot1.Weld_1.ArcOn_Time

I'm interested in moving the data using a FOR loop based on the Weld Number, and I've used plenty of arrays and FOR loops in ladder, but the embedded data is making my life difficult in ladder. I want to be able to do:

R1_Side_A_Weld_Data.Robot1.[WELD_NUMBER].yada yada yada.... and use WELD_NUMBER as the FOR loop Index value. This isn't possible in ladder due to the embedding, but is this possible to do in ST?

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
48,491
Link Karma
6,733
Comment Karma
41,635
Profile updated: 1 day ago
Posts updated: 1 month ago
Sr Controls Engineer / PLC Instructor

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago