Instruction manual
8-16
Programming in RS-422
* Example: Recalls the weighing data from two indicators.
Settings
Personal computer
Baud rate 9600bps
Parity Even
Character bit length 7 bits
Stop bit length 1 bit
Terminator CR,LF
Indicator
Baud rate 9600bps rSF-03=5
Parity Even rSF-04=2
Character bit length 7 bits rSF-05=7
Stop bit length 1 bit rSF-06=1
Terminator CR,LF rSF-07=2
Output data Displaying
weight
rSF-01=1
Data transmitting mode command rSF-02=5
RS-422/485 switching RS-422 rSF-08=1
Address number 1 and 2 rSF-09=1,2
10 OPEN “COM:E71NN” AS #1 RS-422C setting
20 PRINT #1,”@01RW” Requests the weight to unit #1.
30 LINE INPUT #1,A1$ Unit #1 acknowledges the request.
40 PRINT A1$ Unit #1 responds.
50 FOR I=1 TO 100: NEXT I Waits to avoid conflicts among others.
60 PRINT #1,”@02RW” Requests the weight to unit #2.
70 LINE INPUT #1,A2$ Unit #2 acknowledges the request.
80 PRINT A2$ Unit #2 responds.
90 CLOSE
100 END