Johannes Geldenhuys
Member
Firstly some background:
I have to add a 1769-ASCII module to an existing plc installation done by another company some years ago.
The 1769-ASCII will be added to the Compaq I/O 1769-ADN DeviceNet Adapter which already has 2 Input and 1 Output modules.
Configuration is as follows:
1769-L32E Controller + 1769-SDN/B DeviceNet Scanner Card + 1769-IQ32/A + 1769-QW16/A
Via DeviceNet To:
1769-ADN/B + 1769-IQ32/A (slot 1) + 1769-IQ32/A (slot 2) + 1769-OW16/A/FW Rev 3.1 (slot 3) + 1769-ASCII (slot 4) + 1769-PA4 + 1769-ECR
I have tried to use manual I/O mapping but could not get it working. Eventually I just used the auto map future. Existing modules mapping stayed the same because I have added the ASCII module to slot 4.
PLC now seems to be happy with the new I/O card.
Barcode scanned with barcode scanner on the 1769-ASCII input appears in the Controller’s Local:1:I.Data[xx] array. So I can see for example the barcode length in part of the 32-bit word and analyzing the rest of the words I can also see the individual characters of the barcode.
Now my question is: What is the correct method to use for extracting all the characters from these 32-bit words to construct the original string scanned?
I have looked on the web for more info using the 1769-ADN and 1769-ASCII modules together, but could not find any. The 1769-ADN User Manual I have describes various I/O modules, but not the 1769-ASCII.
Thanks,
Johannes
I have to add a 1769-ASCII module to an existing plc installation done by another company some years ago.
The 1769-ASCII will be added to the Compaq I/O 1769-ADN DeviceNet Adapter which already has 2 Input and 1 Output modules.
Configuration is as follows:
1769-L32E Controller + 1769-SDN/B DeviceNet Scanner Card + 1769-IQ32/A + 1769-QW16/A
Via DeviceNet To:
1769-ADN/B + 1769-IQ32/A (slot 1) + 1769-IQ32/A (slot 2) + 1769-OW16/A/FW Rev 3.1 (slot 3) + 1769-ASCII (slot 4) + 1769-PA4 + 1769-ECR
I have tried to use manual I/O mapping but could not get it working. Eventually I just used the auto map future. Existing modules mapping stayed the same because I have added the ASCII module to slot 4.
PLC now seems to be happy with the new I/O card.
Barcode scanned with barcode scanner on the 1769-ASCII input appears in the Controller’s Local:1:I.Data[xx] array. So I can see for example the barcode length in part of the 32-bit word and analyzing the rest of the words I can also see the individual characters of the barcode.
Now my question is: What is the correct method to use for extracting all the characters from these 32-bit words to construct the original string scanned?
I have looked on the web for more info using the 1769-ADN and 1769-ASCII modules together, but could not find any. The 1769-ADN User Manual I have describes various I/O modules, but not the 1769-ASCII.
Thanks,
Johannes