Hello ,
I need to use string agent however my string lenght is more than 80 character.
I can create a tag “D 5000 S80”.
How can I make a string tag more than 80 character?
Hello ,
I need to use string agent however my string lenght is more than 80 character.
I can create a tag “D 5000 S80”.
How can I make a string tag more than 80 character?
Hi Arif,
You cannot, it’s in the documentation. You would need to create multiple string agents and concatenate them later in display using string spider for example.
Thanks for your quick reply damiand,
I have some questions.
1)How I can concatenate the string agents? Is there any sample?
“Due to the increasing need of customers for the Agent Server to support strings longer than 79 characters, the String agent now has a new slot called valueex that is able to contain these longer strings.”
The 79 characters is a limit from the driver. It is in the documentation of driver You are using.
Adroit string slots and ASCII type is only supported to Data/File registers and can be
scanned as “D/R 0 Sn” where n is the number of Ascii Chars in the string required and
which can go up to 79 maximum,.
If You need to concatenate in DBAccess, try using in DBAccess custom transaction (check topic: Extended SQL Querying) and inside it SQL function CONCAT:
**SELECT CONCAT(<STRING1.value>,<STRING2.value>); **
However, this is only supported for retrieve and delete types of transactions.
For Insert You would need to create an agent script with concatenation.
https://adroittechnologiesautomation.com/t/how-to-make-agent-script-working-and-debug-it/530