Hitachi HIDIC MICRO-EH Applications Manual page 255

Table of Contents

Advertisement

(1)
Port 1 settings
Port 1 is configured by combination of DIP switch and special register (WRF01A).
DIP switch can be set when cable is not connected (DR signal is off). Switch configuration is set at cable connected
(DR is high).
Value in WRF01A is saved in FLASH memory when writing flag (R7F6) is turned on. If saved in FLASH memory,
it is not necessary to set again at the next power up.
[ Caution ] If transmission procedure 2 is configured and saved in FLASH memory once, peripheral
device/application which supports procedure 1 such as LADDER EDITOR can not be connected.
Port type
ON
Dedicated
port
1
2
3
4
Dedicated
port via
modem
General purpose port
(2)
Port 1 hardware
The circuit diagram of port 1 and the signal list are shown in Figure 11.2 and Table 11.3 respectively.
Pin No.
Signal
abbreviation
CPU
1]
SG1
2]
VCC
3]
DTR1 (ER)
4]
CD1 (DCD)
5]
SD1 (TXD)
6]
RD1 (RXD)
7]
DR1 (DSR)
8]
RS1 (RTS)
1
38.4 kbps
ON
19.2 kbps
ON
9600 bps
off
4800 bps
off
4800 bps
9600 bps
19.2 k bps
off
38.4 k bps
57.6 k bps
2400 bps
Port switching by FUN5 command, Baud rate by TRNS/RECV command
* Due to no DIP switch equipped, 10 points type does not support modem function.
* +12V is supplied from pin 4 if DIP switch is ON.
* General purpose port is supported by software version 0130 (WRF051=H0130) or newer.
1] SG1
5 V
2] VCC
ER1
3] DTR1
DCD1
4] CD1
TX1
5] SD1
RX1
6] RD1
DR1
7] DR1
RS1
8] RS1
12 V
Figure 11.2 Circuit diagram and pin numbers for port 1
Table 11.3 List of port 1 signals
Direction
Host
Signal ground
5 V DC is supplied. (Protective fuse is connected.)
Communication enabled signal. When it is high, communication is possible.
12V is output when DIP switch 1 is on.
Data sent by the CPU
Data received by the CPU
Peripheral units connected signal. When it is high, peripheral device is connected.
Transmission request signal. When it is high, CPU is ready to receive data.
Chapter 11 Communication Specifications
DIP switch
2
3
4
off
ON
off
off
off
off
H0000 : Transmission procedure 1
off
ON
off
H8000 : Transmission procedure 2
off
off
off
H0000 : Prcd. 1 / H8000 : Prcd. 2
H0100 : Prcd. 1 / H8100 : Prcd. 2
H0200 : Prcd. 1 / H8200 : Prcd. 2
ON
off
off
H0300 : Prcd. 1 / H8300 : Prcd. 2
H0400 : Prcd. 1 / H8400 : Prcd. 2
H0500 : Prcd. 1 / H8500 : Prcd. 2
Meaning
11-2
WRF01A
Remarks
Default
H0*** :
Procedure 1
H8*** :
Procedure 2
1]
2]
3]
4]
5]
6]
7]
8]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents