XHITACHE.tlk Driver Reference
Hitachi PLCs EB/EC/EM-II Series Protocol Driver
This driver requires that you have TAS-HMITalk 8.04 installed.
XHITACHE driver allows you to connect to the HITACHI programmable
controllers of EB, EC and EM-II series.
Programmable Logic Controllers
HITACHI PLC EB-Series
HITACHI PLC EC-Series
HITACHI PLC EM-II-Series
Commands:
Read I/O Monitor Data as Bytes
Read I/O Monitor Data as Words
Forced Set/Reset in Word Mode (EM-II Only)
Change Preset Value of T/C (EM-II Only)
PLC Address Table:
COMMAND DESCRIPTION:
Reads the CPU Status.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 11
RETURNS:
- HMITalk1.PointValue(0) = 0 - Stop, 1 - Error, 2 - Run.
COMMAND DESCRIPTION:
Allows you to read the configuration data of one or more
consecutive addresses of the Monitor Table (MT)
(See: PLC address table).
Important Note:
The MT is used to read data from the PLC (i.e. state of
inputs, outputs, internal registers and timers/counters).
There are three commands used to configure and access the
MT's contents. Those commands are:
- Read Registored Data (DriverP1=31): Reads the MT's configuration.
- Write Registored Data (DriverP1=32): Writes the MT's configuration.
- Read I/O Monitor Data (DriverP1=33): Reads the MT's contents.
The MT must be configured before atempting to read it.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-60
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 31
HMITalk1.DriverP2 = Indicates the first address to read (0-119).
COMMAND DESCRIPTION:
Allows you to read the values within the Monitor Table (MT)
as bytes (ranging from 0 to 255).
Important Note:
The MT is used to read data from the PLC (i.e. state of
inputs, outputs, internal registers and timers/counters).
There are three commands used to configure and access the
MT's contents. Those commands are:
- Read Registored Data (DriverP1=31): Reads the MT's configuration.
- Write Registored Data (DriverP1=32): Writes the MT's configuration.
- Read I/O Monitor Data (DriverP1=33): Reads the MT's contents.
The MT must be configured before atempting to read it.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input / Digital Input
HMITalk1.DriverNumPoints = 1-120
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 33
HMITalk1.DriverP2 = Indicates the first address to read (0-119).
HMITalk1.DriverP3 = 0
COMMAND DESCRIPTION:
Allows you to read the values within the Monitor Table (MT)
as words (ranging from 0 to 65535).
Important Note:
The MT is used to read data from the PLC (i.e. state of
inputs, outputs, internal registers and timers/counters).
There are three commands used to configure and access the
MT's contents. Those commands are:
- Read Registored Data (DriverP1=31): Reads the MT's configuration.
- Write Registored Data (DriverP1=32): Writes the MT's configuration.
- Read I/O Monitor Data (DriverP1=33): Reads the MT's contents.
The MT must be configured before atempting to read it.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input / Digital Input
HMITalk1.DriverNumPoints = 1-60
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 33
HMITalk1.DriverP2 = Indicates the first address to read (0-119).
HMITalk1.DriverP3 = 1
COMMAND DESCRIPTION:
Allows you to set the PLC in RUN mode.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 12
COMMAND DESCRIPTION:
Allows you to set the PLC in STOP mode.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 13
COMMAND DESCRIPTION:
Allows you to configure the Monitor Table (MT). This
configuration determines the PLC's internal values that
will be read from the PC.
The PointValue property indicates the address of the element
to be displayed in the MT (See: PLC address table).
Important Note:
The MT is used to read data from the PLC (i.e. state of
inputs, outputs, internal registers and timers/counters).
There are three commands used to configure and access the
MT's contents. Those commands are:
- Read Registored Data (DriverP1=31): Reads the MT's configuration.
- Write Registored Data (DriverP1=32): Writes the MT's configuration.
- Read I/O Monitor Data (DriverP1=33): Reads the MT's contents.
The MT must be configured before atempting to read it.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1-60
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 32
HMITalk1.DriverP2 = Indicates the first address to write (0-119).
COMMAND DESCRIPTION:
Allows you to write the variable's value to any PLC element.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output / Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 40
HMITalk1.DriverP2 = Indicates the address of the element to be written (0-1407).
(See PLC address table).
HMITalk1.DriverP3 = 0
COMMAND DESCRIPTION:
Allows you to write the variable's value to any PLC element.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output / Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 40
HMITalk1.DriverP2 = Indicates the address of the element to be written (0-1407).
(See PLC address table).
HMITalk1.DriverP3 = 1
COMMAND DESCRIPTION:
Allows you to write the preset value of a Timer or Counter.
The value of the variable indicates the time to set in
the preset.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Identifies the station number (0-255).
HMITalk1.DriverP1 = 24
HMITalk1.DriverP2 = Indicates the T/C address to write (0-95).
[1005] DRIVER (Internal): Invalid driver stage
[1300] PROTOCOL (Timeout): No answer
[1433] PROTOCOL (Format): Validation error in device response
[2147] CONFIG (NumValues): Only one value can be read or written
[2175] CONFIG (NumValues): Too many values (max=1)
[2182] CONFIG (NumValues): Too many values (max=120)
[2227] CONFIG (NumValues): Too many values (max=60)
[3014] CONFIG (P0): Invalid device address (0-255)
[3508] CONFIG (P1): Invalid command
[4011] CONFIG (P2): Invalid address to read (0-119)
[4012] CONFIG (P2): Invalid address to write (0-119)
[4066] CONFIG (P2): Invalid I/O number to write (0-1407)
[4109] CONFIG (P2): Invalid T/C address to write (0-95)
[4533] CONFIG (P3): Invalid data type (0=byte/1=word)
[8121] CONFIG (Remote): Error has occurred
[8301] CONFIG (Remote): Replying station is other than required
This driver requires that you have TAS-HMITalk 8.04 installed.
Driver Source Code Last Update: 03/08/2004 14:07:48
Driver Reference Last Update: 10/30/2008 17:38:58
© 1990-2008, CPKSoft Engineering. All rights reserved.