Information générale
Catégorie:
Codage, syntaxe et commandes
I have weighing machine which have serial RS-232C interface card for connecting the AD-4321 to printers, PC.
Specifications:
Type EIA ¡V RS-232C ¡V Passive 20mA current loop
Method half ¡V duplex, asynchronous transmission
Format Baud rate : 600 or 2400 (dip ¡V switch selectable)
Data bits : 7
Parity bit : 1 (even)
Code : ASCII
Data format
ST GS +1234 56KGcrlf
ST ¡V HEADER 1
GS ¡V HEADER 2
+1234.56 ¡V DATA
KG - UNIT
crlf - Terminator
How to read into the Serial RS-232C and get the data and save into the text file or dbf file. How to implement by using VFP. Coding will be appreciated. Thanks
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement