Hi Guys
Please see if you can help?
I need to read data from a weighing instrument & display the data on an LCD driven by a pic16f877.
I'm using flowcode but the data I recieve is not the same as displayed on the instrument.
I can send and recieve data from Hyperterminal without any problems so I know my coms are working. Below is the protocol supplied by the manufacturer. Please help in flowcode if possible.
The data format output from the indicator is(7 bit ASCII code is used)
Line Settings:7 Data Bits, 1 Parity bit, Odd Parity, 1 Stop Bit
Baud Rate: 9600
Data Bits: Numerical ASCII characters :0,1,2,3,4,5,6,7,8,9
Other ASCII characters: #,blank/space,+,-,CR,LF
Protocol format is: #AASDDDDDDDDP CR LF
Where:
# = Indicates start of message
AA = Instrument address.ASCII 00 to 99. 00 is default.
S = sign (polarity) (ASCII "+" or "-")
D = Data bits (data for 8 numerals).
P = decimal point position. ASCII 0 to 8.
CR=ASCII carriage return
LF=ASCII line feed.
Please see if you can help?
I need to read data from a weighing instrument & display the data on an LCD driven by a pic16f877.
I'm using flowcode but the data I recieve is not the same as displayed on the instrument.
I can send and recieve data from Hyperterminal without any problems so I know my coms are working. Below is the protocol supplied by the manufacturer. Please help in flowcode if possible.
The data format output from the indicator is(7 bit ASCII code is used)
Line Settings:7 Data Bits, 1 Parity bit, Odd Parity, 1 Stop Bit
Baud Rate: 9600
Data Bits: Numerical ASCII characters :0,1,2,3,4,5,6,7,8,9
Other ASCII characters: #,blank/space,+,-,CR,LF
Protocol format is: #AASDDDDDDDDP CR LF
Where:
# = Indicates start of message
AA = Instrument address.ASCII 00 to 99. 00 is default.
S = sign (polarity) (ASCII "+" or "-")
D = Data bits (data for 8 numerals).
P = decimal point position. ASCII 0 to 8.
CR=ASCII carriage return
LF=ASCII line feed.