rta53
Lifetime Supporting Member
I would appreciate some help with how to index a string array in RSLogix 5000 v16. I have to create a date and time string but the month has to be in the format of Jan, Feb, etc. I created an array tag I called month_array with 13 elements. I used 13 so I could equate 1 to 12 with Jan to Dec. I will use a compare instruction such as date_month = 4, then index the array to Apr. How do I do this?