Hello guys,
I am working with a CompactLogix, which communicates over Ethernet/IP with a pin marker.
Basically, The PLC sends the texts to be marked to the marking UC, and then it triggers the marking.
The marking UC doesn't accept space characters into the texts string to be marked. To get rid of this situation, every space characters must be escaped with '\' character.
Example :
Text to mark : 'This is the content to print'
String to send to marking UC : 'This\ is\ the\ content\ to\ print'
What would be the cleanest way to achieve such a goal ?
Could you give me some tips, to help me start with that task, because I am not an expert with Allen-Bradley PLC programming.
Thanks in advance for your help
I am working with a CompactLogix, which communicates over Ethernet/IP with a pin marker.
Basically, The PLC sends the texts to be marked to the marking UC, and then it triggers the marking.
The marking UC doesn't accept space characters into the texts string to be marked. To get rid of this situation, every space characters must be escaped with '\' character.
Example :
Text to mark : 'This is the content to print'
String to send to marking UC : 'This\ is\ the\ content\ to\ print'
What would be the cleanest way to achieve such a goal ?
Could you give me some tips, to help me start with that task, because I am not an expert with Allen-Bradley PLC programming.
Thanks in advance for your help