Improving Automation Through Innovation

Swap ASCII Characters

 

Because DataWorx and DirectLogic PLCs interpret ASCII characters opposite of each other you may find that ASCII characters are entered incorrectly in DataWorx.  To resolve this issue swap the characters before sending the data to DataWorx.

 

This DirectSoft Project illustrates how to swap ASCII characters within a word at V3300.  The c1 contact activates the code.  Downloadable versions for each DirectLogic family are below.

 

DL 05  DL 06  DL 205  DL 405

 

Note that the samples are saved in ZIP format. You may need to download additional software in order to open ZIP files. A free ZIP file application can be downloaded at www.winzip.com

 

Back to Sample Code

Sample Code