Hello.
I am trying to read in ascii data (from a welder) to a slc504 com port. I have looked at the ascii instruction set but I am not familiar with ascii.
I was wondering if someone could help me get on the right track.
I used a demo software (Serial Port Terminal by Eltima) to look at the ascii data that is being sent from a welder.
It 'prints' these 5 lines every 15sec or so:
4 1 475VL 476V 12739A .55PF 7C
4 2 475VL 475V 12594A .65PF 7C
4 3 475VL 477V 12551A .60PF 7C
4 4 475VL 476V 12722A .59PF 7C
4 5 475VL 476V 12577A .63PF 7C
I would like to read this into the plc and get this info into intergers:
N7:0 = 1
N7:1 = 12739
N7:2 = 2
N7:3 = 12594
N7:4 = 3
N7:5 = 12551
N7:6 = 4
N7:7 = 12722
N7:8 = 5
N7:9 = 12577
Can someone help me get on the right path? Thanks!
I am trying to read in ascii data (from a welder) to a slc504 com port. I have looked at the ascii instruction set but I am not familiar with ascii.
I was wondering if someone could help me get on the right track.
I used a demo software (Serial Port Terminal by Eltima) to look at the ascii data that is being sent from a welder.
It 'prints' these 5 lines every 15sec or so:
4 1 475VL 476V 12739A .55PF 7C
4 2 475VL 475V 12594A .65PF 7C
4 3 475VL 477V 12551A .60PF 7C
4 4 475VL 476V 12722A .59PF 7C
4 5 475VL 476V 12577A .63PF 7C
I would like to read this into the plc and get this info into intergers:
N7:0 = 1
N7:1 = 12739
N7:2 = 2
N7:3 = 12594
N7:4 = 3
N7:5 = 12551
N7:6 = 4
N7:7 = 12722
N7:8 = 5
N7:9 = 12577
Can someone help me get on the right path? Thanks!