read ascii in PLC Allen Bradley from string

geoux

Member
Join Date
Jan 2009
Location
San Pedro Sula
Posts
1
my question is:

I attach a weight to a PLC SLC 5 / 03 to the rs232 port to read ascii

I read in the string 82 \ A0 \ A0 \ A0 \ A0 \ B4 \ B75 \ A0 \ A0 \ A0 is read in the weight 4.75 lb


I extracted the data from the string to \ B4 to convert to integer only read zero

how do I get the value of the weight
 

Similar Topics

Good morning to all, I need to modify an existing PLC MIcrologix 1500 configured with a Modem on Channel 1 (DF1 Full Duplex) and an...
Replies
7
Views
1,427
I am working on a project, inside an AB CLX, I implemented the Modbus TCP Client AOI published on AB website, to interreact with a Modbus ASCII...
Replies
7
Views
3,557
PLC is ControlLogix 1756-L73 CPU with firmware 28 In the PLC the value for A60[110] is "AT", Style ASCII, Data Type INT. In KEPServerEX I tried...
Replies
4
Views
1,538
Hi all, this is the first time I have posted on here, I have been reading with interest for a few years now. The problem I have is regarding...
Replies
1
Views
1,515
I have a micrologix 1200 and I am trying to get a barcode scanner to talk to the COM 0 port. I know the scanner baude rate is 9600 because I...
Replies
0
Views
1,777
Back
Top Bottom