Hitachi EC Series
The following applies to the Hitachi EC Series PLC.
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
Type |
Offset |
X |
NNN |
Y |
NNN |
M |
NNN |
TC |
NNN |
TV |
NNN |
TP |
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.
Table |
External Address Type |
Type |
Offset Format |
Offset Range |
Privilege R = Read W = Write |
Description |
X |
X |
Bit |
NNN |
000-199 |
RW |
External Inputs |
Y |
Y |
Bit |
NNN |
200-399 |
RW |
External Outputs |
M |
M |
Bit |
NNN |
400-999 |
RW |
Internal Memory |
TC |
TC |
Bit |
NNN |
000-095 |
RW |
Timer Counter Contacts |
TV |
TV |
Word |
NNN |
100-195 |
RW |
Timer Counter Current Value |
TP |
TP |
Word |
NNN |
200-295 |
RW |
Timer Counter Preset |
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 EC protocol does not support writing back of multiple bit points, they will return a comms block error. Only single bit writes are supported on bit tables.
A word type table such as TV 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. Driveouts to points larger than 16 bit will return a comms block error since multiple word write operations are not supported by the protocol.
Port Settings
RS232
|
Baud Rate |
9600 |
|
Data Bits |
7 |
|
Stop Bits |
1.0 |
|
Parity |
Even
|
Wiring Information
The Hitachi EC PLC is connected to using a supplied serial cable. One end is a 9 pin d-type connector, the other is a mini din connector which plugs directly into the PLC. No wiring information for this cable is shown here.
Examples
Example 1
External Input - 4th Input
X003
Example 2
Timer Counter Contact - 2nd contact
TC001