
64
<EXAMPLE>
The following is a program for connecting two AD-4401s and a computer by RS-422.
Setting item Computer AD-4401
Baud rate 960 0 bps RSF-03 = 5
Parity bit Even RSF-04 = 2
Character bit 7 bits RSF-05 = 7
Stop bit length 1 bit RSF-06 = 1
Terminator CR, LF RSF-07 = 2
Output data (Display weight) RSF-01 = 1
Data transmitting mode ( Command) RSF-02 = 4
RS-422/485 switching (RS-422) RSF-08 = 1
Address number
N/A
RSF-09 = 1 (#1)
RSF-09 = 2 (#2)
10 OPEN "COM:E71NN" AS#1 RS-232C stand-by
20 PRINT #1,"@01RW" Data request for AD-4401 #1
30 LINE INPUT #1,A1$ Data receive from AD-4401 #1
40 PRINT A1$ Displaying the data from AD-4401 #1
50 FOR I=1 TO 100: NEXT I Waiting for the next
60 PRINT #1,"@02RW" Data request for AD-4401 #2
70 LINE INPUT #1,A2$ Data receive from AD-4401 #2
80 PRINT A2$ Displaying the data from AD-4401 #2
90 CLOSE
100 END
9-3 OP-04 RS-232C INPUT/OUTPUTS
OP-04 provides external inputs/outputs to be connected to an external indicator, printer, personal computer, etc. It has
both RS-232C inputs/outputs and current loop outputs. Current loop outputs and RS-232C outputs are internally
connected in parallel.
INTERFACE SPECIFICATION
Signal
System
Conforms to the EIA RS-232C
Data bits 7 bits, 8 bits
Parity bits 1 bit (Even or Odd), None
Stop bits 1 bit, 2 bits
Baud rate 600, 1200, 2400, 4800, 9600, 19200 bps
Code used ASCII
Note: OP-04 settings are made with RSF-01 through RSF-07.
These settings are common to OP-03 (RS-422/-485).
OP-04 RS-232C I/O connector, not included. Use the one below or the compatible on the market.
D-Sub 25P Plug: HDBB-25P, Hirose
Connector cover: HDB-CTF, Hirose
Kommentare zu diesen Handbüchern