Panasonic FP2 User Manual page 34

Serial data unit
Hide thumbs Also See for FP2:
Table of Contents

Advertisement

Confirming the Unit Settings and Design Contents
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.
For COM.1 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:
1. Transmission format
is written.
FP2
CPU
FP2 serial
unit
data unit
1003, 1004
Transmission
Shared
format is
memory
written to
shared memory
using F151
(WRT)
instruction.
The transmission format setting area consists of addresses 1003 (COM.1) and 1004
(COM.2) of the shared memory.
3 − 6
Transmission speed: on−on−off: 19200bps
Data length: on: 8 bits
For COM.2 port
2. Software reset (Y1D)
is turned on.
Y1D: on
1003, 1004
Shared
memory
on−off−on: 9600bps
on−on−on: 4800bps
off: 7bits
3. When software reset is
completed, "Software
Reset Completed flag"
(X1E) goes on.
X1E: on
1003, 1004
Shared
memory
FP2 Serial Data Unit
4. After software reset
is completed, soft-
ware reset (Y1D)
which went on earli-
er goes off.
Y1D: on
1003, 1004
Shared
memory

Advertisement

Table of Contents
loading

Table of Contents