lostcontrol
Lifetime Supporting Member
Hi,
Am in the middle of doing some ASCII comms from a Barcode Scanner with a ML1400.
I have it all working, even with the fact that the barcode reader sends a different string based on good read/bad read.
I have used the .UL bit to acheive this, & it does seem to be working ok, but am slightly concerned that this is not best practice?
Also, I need to check for certain characters in the string, this is all easy enough, but how can I 'hard-code' the ASCII strings, so that if it were a new PLC, then the values would already be there?
Would better practice to be to use the STX/ETX characters in the channel configuration, rather than extracting the string after certain characters?
Cheers:beer:
Am in the middle of doing some ASCII comms from a Barcode Scanner with a ML1400.
I have it all working, even with the fact that the barcode reader sends a different string based on good read/bad read.
I have used the .UL bit to acheive this, & it does seem to be working ok, but am slightly concerned that this is not best practice?
Also, I need to check for certain characters in the string, this is all easy enough, but how can I 'hard-code' the ASCII strings, so that if it were a new PLC, then the values would already be there?
Would better practice to be to use the STX/ETX characters in the channel configuration, rather than extracting the string after certain characters?
Cheers:beer: