0% found this document useful (0 votes)
107 views27 pages

Hitachi Serial

This document contains information about connecting and configuring Hitachi PLCs for communication, including: 1) It lists the Hitachi PLC models supported and their communication port types (RS-232, RS-422, RS-485, Ethernet). 2) It describes the data types supported by the Hitachi OPC server (Bool, Int, Dint, etc.). 3) It provides diagrams of RS-232, RS-422, and RS-485 cable connections and the pinouts for each. 4) It outlines the parameters needed for configuring communication with Hitachi PLCs.

Uploaded by

Eta Courses
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views27 pages

Hitachi Serial

This document contains information about connecting and configuring Hitachi PLCs for communication, including: 1) It lists the Hitachi PLC models supported and their communication port types (RS-232, RS-422, RS-485, Ethernet). 2) It describes the data types supported by the Hitachi OPC server (Bool, Int, Dint, etc.). 3) It provides diagrams of RS-232, RS-422, and RS-485 cable connections and the pinouts for each. 4) It outlines the parameters needed for configuring communication with Hitachi PLCs.

Uploaded by

Eta Courses
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

Hitachi Serial OPC Server Table of Contents

Table of Contents
Chapter 1 Hardware Figure and Settings......................................................................... 3

1-1 Device Appearance ................................................................................................ 4


1-2 Support PLC Models .............................................................................................. 4
1-3 Hitachi OPC Server Data Type ............................................................................... 5
1-4 Hitachi Series PLC Address Description ................................................................. 6
1-5 Cable Diagram........................................................................................................ 6
1-5-1 RS232 Cable Diagram ................................................................................. 7
1-5-2 RS 422 Cable Diagram ................................................................................ 7
1-5-3 RS 485 Cable Diagram ................................................................................ 8
1-5-4 Hitachi PLC Communication Port ................................................................. 8
1-6 Communication Parameters Setting of Hitachi PLC ............................................... 9

Chapter 2 Creating a New Configuration ....................................................................... 13

2-1 Communication Setting of Hitachi PLC ................................................................. 15


2-1-1 Port Define ................................................................................................. 16
2-1-2 Device Define ............................................................................................. 18
2-1-3 Folder Define.............................................................................................. 21
2-1-4 Data Item Define ........................................................................................ 24

2
Chapter 1
Hardware Figure and Settings
Hitachi Serial OPC Server Hardware Figure and Settings

1-1 Device Appearance

Hitachi EH-A23DRP PLC

1-2 Support PLC Models

PLC CPU PLC CPU


EH-D10DT EH-D8EDT
EH-D10DTP EH-D14EDT
EH-D10DR EH-D14EDTP
EH-D14DT EH-D14EDR
EH-D14DTP EH-D14EDTPS
EH-A14DR EH-A14EDR
EH-D14DR EH-D16ED
EH-A14AS MICRO-EH EH-D16ER
EH-A23DRP EH-D16ETPS
EH-A23DRT EH-D16ET
EH-D23DRP EH-D28EDT
MICRO-EH
EH-D28DT EH-D28EDTP
EH-D28DTP EH-D28EDTPS
EH-A28DRP EH-D28EDR
EH-A28DRT EH-A28EDR
EH-A28DR EH-CPU104A
EH-D28DRP EH-CPU208A
EH-D28DRT EH-150 EH-CPU316A
EH-D28DR EH-CPU516A
EH-A28AS EH-CPU548A
EH-D40DT H-200 CPU-02H
EH-D40DTPS H-20 H Boart

4
Hardware Figure and Settings Hitachi Serial OPC Server

EH-D40DR CPUP-03H
H-300
EH-A40DR CPU-03HA
EH-D64DR CPUP-07H
H-700
EH-D64DT CPU-07HA
EH-D64DTPS CPUP-20H
H-2000
EH-A64DR CPU-20HA
MICRO-EH
EH-D8ED H-2002 CPU2-20H
EH-D8ER H-702 CPU2-07H
EH-D8ETPS H-302 CPU2-03H
EH-D8ET H-1002 CPU2-10H
EH-D8EDR H-4010 CPU3-40H
EH-D8EDTPS

1-3 Hitachi OPC Server Data Type

OPC Server Data Type Description


Bool Single bit
Int Signed 16 bit value
Dint Signed 32 bit value
UINT Unsigned 16 bit value
UDINT Unsigned 32 bit value
Real 32 bit floating point value
String String type with “Null” character
at the end

5
Hitachi Serial OPC Server Hardware Figure and Settings

1-4 Hitachi Series PLC Address Description

Signal type Access Data type


Input (X) Read Only Bit
Output (Y) Read / Write Bit
Internal Output Relay (R) Read / Write Bit
Internal Link Relay (L) Read / Write Bit
Internal Data Relay (M) Read / Write Bit
Timer/Counter Contact (N) Read / Write Bit
Elapsed Count clear (CL) Read / Write Bit
External Word Input (WX) Read Int / Word
External Word Output (WY) Read / Write Int / Word
Internal Word Output (WR) Read / Write Int / Word
Word Link Area (WL) Read / Write Int / Word
Word Data Area (WM) Read / Write Int / Word
Timer/Counter Elapsed Time Read / Write Int / Word
(TC)
Rising edge detection (DIF) Read / Write Bit
Falling edge detection (DFN) Read / Write Bit

1-5 Cable Diagram

Hitachi PLC can transmit the data through serial port. RS 232 port is used in most
devices; RS422/485 is used in certain type of devices. Because some devices need high
transmission speed and the bulk data transmission, users can use Ethernet for data
transmission.

6
Hardware Figure and Settings Hitachi Serial OPC Server

1-5-1 RS232 Cable Diagram

PLC Side RS-232C Device RS-232C


Signal
Signal name RJ-45 9 Pin D-SUB (Female)
name
white/orange 1 CD 1
orange 2 RD(RXD) 2
white/green 3 SD(TXD) 3
blue 4 DTR(ER) 4
White/blue 5 SG 5
green 6 CS(CTS) 8
white/brown 7
brown 8

1-5-2 RS 422 Cable Diagram

7
Hitachi Serial OPC Server Hardware Figure and Settings

1-5-3 RS 485 Cable Diagram

1-5-4 Hitachi PLC Communication Port

Station
CPU Type / Port ComType Standard Ethernet
number
MICRO-EH Port1 RS-232C X O O
MICRO-EH Port2 RS-422/485 X X O
EH-150 CPU104/208 RS-232C
X O O
Port1
EH-150 CPU104/208 RS-232C
X O O
Port2
EH-150 CPU308/316 RS-232C/422/485
X O O
Port1
EH-150 CPU308/316 RS-232C
X O O
Port2
EH-150 CPU448 Port1 RS-232C/422/485 X X O
EH-150 CPU448 Port2 RS-232C X O O
H-20/28/40/60 Port1 RS-232C X(older
O O
type)
H-200 Port1 RS-232C X(older
O O
type)
H-250/252B/C Port1,2 RS-232C X O O

8
Hardware Figure and Settings Hitachi Serial OPC Server

H-300/700/2000 Port1 RS-232C X(older


O O
type)
H-302/702/1002/2002 RS-232C
X O O
Port1

COMMH-2H Port1 RS-232C X X O


COMMH-2H Port2 RS-422 O X O
EH-ETH Ethernet O O X
LAN-ETH Ethernet O O X

1-6 Communication Parameters Setting of Hitachi PLC

The HIDIC H series LADDER EDITOR for WINDOWS (HLW-PC3) software could be used
for all series of Hitachi PLC.

Enter the ladder program

9
Hitachi Serial OPC Server Hardware Figure and Settings

Please choose Offline

Utility->Environment Set(C)

10
Hardware Figure and Settings Hitachi Serial OPC Server

Select Communication in the tab page

The default
COM port
setting is
COM1

Communication Type & Baud Rate

After completing the settings, save the parameters into PLC.

11
Chapter 2
Creating a New Configuration
Hitachi Serial OPC Server Creating a New Configuration

The Configurator uses Microsoft Access configuration databases. To create a new


configuration database in the Configurator: Select New from the File menu, as shown in the
figure below.

In the Save New Database dialog box, select the database type from the Save As
Type drop-down list, as shown in the figure below. Browse for the target directory, give the
file a name, and then click the Save button.

14
Creating a New Configuration Hitachi Serial OPC Server

2-1 Communication Setting of Hitachi PLC

Sample
PLC Type EH-D23DRP
Communication module The Port2 of the PLC

The Address Space tree control in the Configurator, shown in the figure below, sets the
properties and connection parameters for the following items:
• Ports
• Devices
• Folders
• Data Items

Data items can be organized hierarchically. It is similar to organizing directories and


files on your computer's hard disk. The Hitachi Serial OPC Server offers several levels of
hierarchy. The Configurator module uses the terms “Folder” and “Data Item”. A folder can
contain additional folders and also data items. The data items are always the branches in
the tree control hierarchy.
The hierarchical structure of the folders and data items helps to organize the devices
and tags, as shown below.

15
Hitachi Serial OPC Server Creating a New Configuration

2-1-1 Port Define

A port is equivalent to a physical serial port in the computer. To correctly configure a


port means to set up a serial port as a File name (COM 1, COM2, COM3, or COM4),
communication speed (Baud rate), and protocol characteristics: RTS flow control, Stop bits
and Parity scheme.
When the Parity checking enabled check box is not checked, it will force the server to
ignore the parity bits in the message.

1. Select Address Space Æ Edit Æ New Æ Port


2. You can also use [ Ctrl+T ]as the shortcut to create a Port.

16
Creating a New Configuration Hitachi Serial OPC Server

Port Define Operation platform

Item Description
Specify a name of the new device. The special
symbols such as ‘+’、/、*、- are not allowed.
Define the Port number.

The value must match the Baud rate value of Hitachi


PLC.

17
Hitachi Serial OPC Server Creating a New Configuration

The inborn value for Hitachi PLC is 7 bits.

The inborn value for Hitachi PLC is 1 bit.

Choose “Even”,and check "Parity checking enabled"

Particular setting will be required if the device works


under RTS flow control. If not, please choose” Disable”.

Select this item if the device works under CTS for output
flow control. If not, just skip this item.
All of the devices under this port will in the simulation
mode. Simulation function will simulate the real
communication situation between devices and OPC
Server.
Apply: Saves all changes specified in the properties
dialog box.
Reset: Undo the setting configuration
Add New: Add the new Port

2-1-2 Device Define

Every device is connected to particular port, so it logically creates the second level in
the Address Space tree. Each device is represented by its symbolic name, and is
uniquely identified by the Address value. It is impossible to have two devices with the same
address connected to one port.
Setting up a device requires configuration of its unique address, type, timeouts and
optimization parameters, as shown in the figure below.
1. Select Port Æ Edit Æ New Æ Device
2. You can also press [ Ctrl+D ]as the shortcut to create a Device.

18
Creating a New Configuration Hitachi Serial OPC Server

Device define Operation Platform

19
Hitachi Serial OPC Server Creating a New Configuration

Item Description
Specify a name of the new device. The special
symbols such as ‘+’、/、*、- are not allowed.
Using RS232, please just skip this item. If you use
RS485, The number must match the Station number
setting of the Device and the “RS485 Link” must be
checked.

Choose the proper Hitachi PLC type you need

Using the communication module provided by


PLC itself, please keep it in the default value. If
the PLC is connected to other module, please
set this number basing on the module setting.
Timeout parameters (separately for reading and
writing data) specify the period of time (in
milliseconds) the server will wait for a response
from the device:
Read/Write: Amount of time (in
milliseconds) the OPC server will wait for a
response (read/write) from the device.
Timeouts to Suspend: The number of
consecutive read/write attempts that
timeout before the OPC server will suspend
communication with the device.
Suspend Period: Amount of time the OPC
server will wait before attempting to
reconnect to the device.
Note: The Suspend Period setting can be
decreased to reconnect faster with a device that
has been restarted, but this will cause the OPC
server to generate more network traffic while a
device is down.
The server tries to optimize the communication
with the devices by requesting as much data as
possible in one message. Consecutive registers
are merged together into one request for
efficiency.

20
Creating a New Configuration Hitachi Serial OPC Server

Define the Parameters. You could do it in detail


in the [ Device Parameters ] on the Tree View

All of the groups and data items under this


device are in the simulation mode. Simulation
function will simulate the real communication
situation between devices and OPC Server.
Please see
“eUser_Manual_Config
uration.pdf”.

Apply: Saves all changes specified in the


properties dialog box.
Reset: Undo the setting configuration
Add New: Add the new Device

2-1-3 Folder Define

Folders can be used to group items logically. You can configure as many folders as
required. Each folder can even have subfolders. The Hitachi Serial OPC Server supports
up to three folder levels. The use of folders is not required.
If desirable, the configuration could just contain data items without any folders. But most
likely this will only be useful if the application does not demand too many persistent tags.

Select [Device] or [Folder] on the Tree View. Press the right key of the mouse and select
[New] Æ [Fold]

21
Hitachi Serial OPC Server Creating a New Configuration

Folder define Operation Platform

22
Creating a New Configuration Hitachi Serial OPC Server

Item Description
Specify a name of the new folder. The
special symbols such as ‘+’、/、*、- are not
allowed.
All of the data items under this group are in
the simulation mode. Simulation function will
simulate the real communication situation
between devices and OPC Server.
Please see
“eUser_Manual_Confi
guration.pdf”.

Apply: Saves all changes specified in the


properties dialog box.
Reset: Undo the setting configuration
Add New: Add the new Folder

23
Hitachi Serial OPC Server Creating a New Configuration

2-1-4 Data Item Define

A Data Item represents a register in the device or a range of registers. A symbolic


name and description is associated with the data item. An OPC client can obtain the data
item description.
The actual OPC item name (tag) is compounded from the Address Space root, the names
of the folder and its subfolders, and the name of the data item. Data items can be located
in any folder, even in the root of the address space.
The steps to create the data item (tag) are as below.

Select [Device] or [Folder], Press the right button of the mouse, it will show you the Popup
menu. Then select New Æ Data Item

24
Creating a New Configuration Hitachi Serial OPC Server

Then define the data Items, the picture is as below:

Item Description
Specify a name of the new data item. The special
symbols such as ‘+’、/、*、’-‘ are not allowed.
Description of Data Item
The Register/Repay type of Hitachi PLC could be
divided into X, Y, M, WM, etc. Please check it in
Chapter 1
Data Type:
X, Y, M Æ Bool
WM Æ Int, UINT
String Æ When selecting String type, you must specify
the data length
From the starting address to access the data by block,
not point to point to access the data. It could speed up
the communication speed. You do not have to define a
lot of items to get the values. Using [ Vector ] function
will let OPC server put the values into the arrays.
This value specifies the data item address (register
number) in the device data space.。The gray column

25
Hitachi Serial OPC Server Creating a New Configuration

shows the decimal value.


“Read Only” does not allow you to save new value into
OPC Client.
If the data type is UINT, you can choose the number of
bits and analyze the value and put into this item. Bit#
means the starting Bit No. Count means the constant
Bits number.
To get the data value converted according to a
prescribed form, choose one of the predefined or
user-defined conversions.
Check the Generate
Alarms check box to make
the server generate
alarms based on the data
item value.
Simulation function will simulate the real communication
situation between devices and OPC Server. Executing
“Monitor View” or press F12 as the shortcut, the “Tag
Value” will keep changing for testing the connecting
situation.
To test the client functionality, choose a Simulation
Signal from the Signal drop-down list and check the
Simulate check box. All levels in the Address Space
(port, device, folder, data item) support the process of
simulation (Simulate check box). The parent list in the
tree is superior; it has a higher priority when deciding to
simulate the data item or not. In other words, a data
item is simulated, if it itself has a simulation selected, or
if any of its parents has the Simulate check box
checked. (It may be simulated even if its Simulate
check box stays unchecked)
If checked, the data item will offer constant parameter
value, because Manual setting is of the highest priority.
The changes in the configuration take effect only when
the server reloads the configuration (on startup).
Apply: Saves all changes specified in the properties
dialog box.
Reset: Undo the setting configuration
Add New: Add the new Data Item

26
Creating a New Configuration Hitachi Serial OPC Server

27

You might also like