Hitachi EH Series
The following applies to Hitachi EH Series Point- to-Point and Multi Drop Communications..
Details on the device address can be found in the Device Properties Information Topic.
External Address Format
External address is an ascii string which exactly references an item of data within the PLC. It can be entered at configure time as a text string, and will be validated by the system before use. For this protocol the external address has the following format:
N - dec number 0 - 9
H - Hex number 0 - F
Type |
Offset |
X |
HHHNN |
Y |
HHHNN |
R |
HHH |
M |
HHHH |
L |
HHHH |
WX |
HHHN |
WY |
HHHN |
WR |
HHHH |
WRS |
HHHH |
WM |
HHH |
WL |
HHH |
TMR/CTR |
NNN |
CL |
NNN |
TC |
NNN |
DIF |
NNN |
DFN |
NNN |
Offset Format
The software also allows an item of data within the PLC to be referenced by means of a table selection and an offset. The following table shows the offset and table formats for both Point- to- Point and Multi Drop Communications
Table |
External Address Type |
Type |
Offset Format |
Offset Range |
Privilege R = Read W = Write |
Description |
X |
X |
Bit |
HHHNN |
00000-4FF95 |
RW |
External Bit Input |
Y |
Y |
Bit |
HHHNN |
00000-4FF95 |
RW |
External Bit Output |
R |
R |
Bit |
HHH |
000-7FF |
RW |
Internal Bit Output |
M |
M |
Bit |
HHHH |
0000-3FFF |
RW |
Bit Area Data |
L |
L |
Bit |
HHHH |
0000-3FFF |
RW |
Bit CPU Link Area |
WX |
WX |
Word |
HHHN |
0000-4FF9 |
RW |
External Word Input |
WY |
WY |
Word |
HHHN |
0000-4FF9 |
RW |
External Word Output |
WR |
WR |
Word |
HHHH |
0000-43FF |
RW |
Internal Word Output |
WRS |
WRS |
Word |
HHHH |
F000-F1FF |
RW |
Internal Word Output |
WM |
WM |
Word |
HHH |
000-3FF |
RW |
Word Data Area |
WL |
WL |
Word |
HHH |
000-3FF |
RW |
Word CPU Link Area |
TMR/CTR |
TMR/CTR |
Bit |
NNN |
000-511 |
RW |
Timers and Counters |
CL |
CL |
Bit |
NNN |
000-511 |
RW |
Elapsed Count Clear |
TC |
TC |
Word |
NNN |
000-511 |
RW |
Timer Counter Elapsed Time |
DIF |
DIF |
Bit |
NNN |
000-511 |
RW |
Rising Edge Detection |
DFN |
DFN |
Bit |
NNN |
000-511 |
RW |
Falling Edge Detection |
Property Pages
No property pages exist for this protocol
Protocol Compatibility
A bit type table such as X will support the configuration of point types bigger than a bit. If a 16-bit point is configured for example, 16 bits will be read from the table to fill the point. The Hitachi protocol fully supports writing back multiple bit points.
A word type table such as WX supports the configuration of smaller or bigger point types. All larger point types will read the required number of words to fill the point. Byte type points will scale down the word to fit it into a byte. Bit type points allow the selection of a bit offset to reference the required bit from the word (0-15). In the case of bit selection points, drive outs will perform a read/modify/write operation as the protocol does not support a bit set operation in this case.
Note: The W tables address the same data as the relevant bit tables but as words (except for R and WR which are separate).
Port Settings
RS232
|
Baud Rate |
19200 |
|
Data Bits |
7 |
|
Stop Bits |
1.0 |
|
Parity |
Even |
Wiring Information
Connection of the PLC to a panel will be via either COM1 or COM2, using RS232 communications. The panel pin out diagram is shown below:
Connection of the PLC to a PC running OPC Server will be via any available COM port, which may be either 25 pin or 9 pin depending on what is available. OPC Server will require RTS flow control to be enabled on the PC. The COM port pin out is shown below:
The Hitachi EH PLC is connected to using a 9 pin d-type to RJ45 cable. The RJ45 connector plugs directly into the PLC. The following shows how this cable is wired:
Example
Internal Word Output Table - first word
WRSF000
Bit Area Data - last bit
M3FFF