How to limit String length in RSLogix5000?

FNC

Member
Join Date
May 2010
Location
NJ
Posts
84
In RSLogix 500 I have used the AEX command to limit the # of characters in a string variable. But AEX does not exist in 5000.

I have tried the MID instruction in 5000 with some problems.

I want to limit a string to 4 characters. So ABCDEF would be truncated to ABCD.

Any ideas?
 

Similar Topics

Good day: I am wondering if anyone has experience with the Kinetix 5500 S33 Fault. I have 3 drives in a group set as follows: 2198-H025-ERS2...
Replies
5
Views
177
Hello, I have a motor that we are sending a RPM Speed Output from 0-100% to the VFD. However, the Motor HP needs to be limited to 6000 HP and the...
Replies
3
Views
107
Hello, I have a quick question. I have been using scripts to change the color of buttons. The reason, I am usually using multiple hmiruntime.tags...
Replies
1
Views
129
Good evening all! I hope you folks are doing alright today, as I've got a situation that I believe I've come up with a solution to but I wanted to...
Replies
1
Views
480
Dear Experts, I'm just started working with GEO SCADA and I need your valuable help. Currently, I'm trying to edit the alarm limits on MIMIC...
Replies
0
Views
228
Back
Top Bottom