Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Open Discussion
»
Clear a string array in RSLogix 5000
« previous
next »
Print
Pages: [
1
]
Author
Topic: Clear a string array in RSLogix 5000 (Read 5002 times)
bachphi
Hero Member
Posts: 671
Clear a string array in RSLogix 5000
«
on:
December 16, 2019, 02:52:59 PM »
How do you clear an entire string array in RSLogix 5000 without creating another empty/null string array? STR_ARRAY[10]
I currently use FAL to do the job, but wondering if there is another way.
Logged
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================
bachphi
Hero Member
Posts: 671
Re: Clear a string array in RSLogix 5000
«
Reply #1 on:
December 16, 2019, 03:03:03 PM »
silly me, FLL can do it too
Logged
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================
Phrog30
Guest
Re: Clear a string array in RSLogix 5000
«
Reply #2 on:
December 16, 2019, 03:29:36 PM »
FLL can also clear structures/UDTs. About the only thing they can't do is BOOL arrays.
Logged
bachphi
Hero Member
Posts: 671
Re: Clear a string array in RSLogix 5000
«
Reply #3 on:
December 16, 2019, 04:09:33 PM »
Someone was using a complicated approach that got me going. Probably it was carried over from 500
Logged
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================
bachphi
Hero Member
Posts: 671
Re: Clear a string array in RSLogix 5000
«
Reply #4 on:
December 16, 2019, 04:13:04 PM »
much simpler:
Logged
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Open Discussion
»
Clear a string array in RSLogix 5000