FP2 Serial Data UnitConfirming the Unit Settings and Design Contents
3 − 6
3.2 Setting the Transmission Speed and Transmission Format
3.2.1 Transmission Format Settings Set Using Switches
The transmission speed and data length parameters of the COM.1 and COM.2 ports
can be changed using the transmission format setting switches. Values specified using
these switches become effective when the power supply is turned on.
Transmission speed: on−on−off: 19200bps
on−off−on: 9600bps
on−on−on: 4800bps
Data length: on: 8 bits
off: 7bits
For COM.1 port For COM.2 port
The transmission format setting switches are located on the rear of the unit.
3.2.2 Transmission Format Settings Using the Shared Memory
Transmission format values which are set automatically in advance when the power
supply is turned on can be changed by changing the contents specified in the shared
memory, and turning the software reset (Y1D) on and then off again.
Procedure:
FP2
CPU
unit
FP2 serial
data unit
Shared
memory
1003, 1004 1003, 1004 1003, 1004 1003, 1004
Y1D: on X1E: on Y1D: on
Transmission
format is
written to
shared memory
using F151
(WRT)
instruction.
1. Transmission format
is written.
2. Software reset (Y1D)
is turned on.
3. When software reset is
completed, “Software
Reset Completed flag”
(X1E) goes on.
4.
fter software reset
is completed, soft-
ware reset (Y1D)
which went on earli-
er goes off.
Shared
memory
Shared
memory
Shared
memory
The transmission format setting area consists of addresses 1003 (COM.1) and 1004
(COM.2) of the shared memory.