CPKSoft Engineering

XHITAS10.tlk Driver Reference

Hitachi HIDIC S10 Alpha PLC H-7338 Protocol Driver

This driver requires that you have TAS-HMITalk 8.04 installed.

Driver Overview

The XHITAS10 driver allows you to communicate with the Hitachi

HIDIC S10/2 Alpha, S10/4 Alpha and S10/Mini Series PLC that use

the H-7338 serial protocol.

 

This driver allows you to read and write over PI/O Word Format

Area and PI/O Bit Type Area.

 

Communication specifications

 

1) Transfer speed

S10/2 Alpha: 19.2 kbps

S10/4 Alpha: 150~19.2 kbps

S10/Mini: 19.2 kbps

2) Communication mode: Half duplicate transfer

3) Synchronization mode: Start-stop synchronization

4) Transmission mode: Serial Transmission

5) Transmission bit configuration:

Start bit: 1

Data bit: 8

Parity bit: 1 / Odd

Stop bit: 1

6) Error control:

Odd parity check

Inquiry check of reversal data

Inquiry check of eco-data

7) Maximum numbers of word transfer 256 Words

8) Communication circuit cable:

Twisted pair line with seal (KP-EV-SB-0.5 SEQ-3P)

Cable length: Max 300m

9) Interface: Photo-coupler interface

 

IMPORTANT NOTE:

 

If you cannot communicate with your PLC, check after setting the

CommTxHoldRTSWhileTransmitting and CommTxHoldRTSWhileReceiving

properties both to On.

Supported Equipment Type

Programmable Logic Controllers

Supported Devices List

HITACHI HIDIC S10/2 Alpha PLC

HITACHI HIDIC S10/4 Alpha PLC

HITACHI HIDIC S10/Mini PLC

Supported Commands List

Read PI/O Word Format Area

Write PI/O Word Format Area

Read PI/O Bit Type Area

Write PI/O Bit Type Area

Read PI/O Word Format Area

COMMAND DESCRIPTION:

Use this command to read registers from the PI/O Word Format Area

as 16-bit word values from 0 to 65535. Values will be read starting

at a given register address and up to 256 consecutive registers.

Only the DriverP6 parameter is required to enter the register address.

Remaining DriverP0 to DriverP5 and DriverP7 to DriverP9 parameters

are not used by this command.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-256

HMITalk1.DriverP6 = Indicates the first word register to be read.

Word register addresses can be:

- XW00 to XWFF (External inputs)

- YW00 to YWFF (External outputs)

- GW00 to GWFF (Global registers)

- RW00 to RWFF (Internal registers)

- KW00 to KWFF (Keep)

- TW00 to TWFF (ON delay timers)

- UW00 to UWFF (One shot)

- CW00 to CWFF (Counters)

- NW00 to NW0F (N coils)

- PW00 to PW08 (Process coils)

- EW00 to EWFF (Event registers)

- ZW00 to ZW3F (Z registers)

- SW00 to SWBF (System registers)

 

Example: RW00

 

RETURNS:

- HMITalk1.PointValue(0) = First requested word register value (0 to 65535)

- HMITalk1.PointValue(1) = Second requested word register value (0 to 65535)

...

- HMITalk1.PointValue(DriverNumPoints-1) = Last requested word register value (0 to 65535)

Write PI/O Word Format Area

COMMAND DESCRIPTION:

Use this command to write registers in the PI/O Word Format Area

as 16-bit word values from 0 to 65535. Values will be written starting

at a given register address and up to 256 consecutive registers.

Only the DriverP6 parameter is required to enter the register address.

Remaining DriverP0 to DriverP5 and DriverP7 to DriverP9 parameters

are not used by this command.

 

CAUTION:

Make sure that you select the right number of registers in the

DriverNumPoints parameter. Setting the wrong number of registers,

for example, to more registers that available for the selected

register type, could make the driver to write over some other

unexpected PLC memory positions.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-256

HMITalk1.DriverP6 = Indicates the first word register to be written.

Word register addresses can be:

- XW00 to XWFF (External inputs)

- YW00 to YWFF (External outputs)

- GW00 to GWFF (Global registers)

- RW00 to RWFF (Internal registers)

- KW00 to KWFF (Keep)

- TW00 to TWFF (ON delay timers)

- UW00 to UWFF (One shot)

- CW00 to CWFF (Counters)

- NW00 to NW0F (N coils)

- PW00 to PW08 (Process coils)

- EW00 to EWFF (Event registers)

- ZW00 to ZW3F (Z registers)

- SW00 to SWBF (System registers)

 

Example: RW00

 

WHERE:

- HMITalk1.PointValue(0) = New value for first word register addressed (0 to 65535)

- HMITalk1.PointValue(1) = New value for second word register addressed (0 to 65535)

...

- HMITalk1.PointValue(DriverNumPoints-1) = New value for last word register addressed (0 to 65535)

Read PI/O Bit Type Area

COMMAND DESCRIPTION:

Use this command to read bits from the PI/O Bit Type Area as

individual 0 or 1 values. Bits will be read starting at a given

bit address and up to 1000 consecutive bits.

Only the DriverP6 parameter is required to enter the register address.

Remaining DriverP0 to DriverP5 and DriverP7 to DriverP9 parameters

are not used by this command.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-1000

HMITalk1.DriverP6 = Indicates the first bit to be read.

Bit addresses can be:

- X000 to XFFF (External inputs)

- Y000 to YFFF (External outputs)

- G000 to GFFF (Global registers)

- R000 to RFFF (Internal registers)

- K000 to KFFF (Keep)

- T000 to TFFF (ON delay timers)

- U000 to UFFF (One shot)

- C000 to CFFF (Counters)

- N000 to N0FF (N coils)

- P000 to P080 (Process coils)

- E000 to EFFF (Event registers)

- Z000 to Z3FF (Z registers)

- S000 to SBFF (System registers)

 

Example: X000

 

RETURNS:

- HMITalk1.PointValue(0) = First requested bit status (0 or 1)

- HMITalk1.PointValue(1) = Second requested bit status (0 or 1)

...

- HMITalk1.PointValue(DriverNumPoints-1) = Last requested bit status (0 or 1)

Write PI/O Bit Type Area

COMMAND DESCRIPTION:

Use this command to write bits in the PI/O Bit Type Area as

individual 0 or 1 values. Values will be written starting

at a given bit address and up to 256 consecutive bits.

Only the DriverP6 parameter is required to enter the register address.

Remaining DriverP0 to DriverP5 and DriverP7 to DriverP9 parameters

are not used by this command.

 

CAUTION:

Make sure that you select the right number of bits in the

DriverNumPoints parameter. Setting the wrong number of bits,

for example, to more bits that available for the selected

bit type, could make the driver to write over some other

unexpected PLC memory positions.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-256

HMITalk1.DriverP6 = Indicates the first bit to be written.

Bit addresses can be:

- X000 to XFFF (External inputs)

- Y000 to YFFF (External outputs)

- G000 to GFFF (Global registers)

- R000 to RFFF (Internal registers)

- K000 to KFFF (Keep)

- T000 to TFFF (ON delay timers)

- U000 to UFFF (One shot)

- C000 to CFFF (Counters)

- N000 to N0FF (N coils)

- P000 to P080 (Process coils)

- E000 to EFFF (Event registers)

- Z000 to Z3FF (Z registers)

- S000 to SBFF (System registers)

 

Example: X000

 

WHERE:

- HMITalk1.PointValue(0) = New value for first bit addressed (0 or 1)

- HMITalk1.PointValue(1) = New value for second bit addressed (0 or 1)

...

- HMITalk1.PointValue(DriverNumPoints-1) = New value for last bit addressed (0 or 1)

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

[1433] PROTOCOL (Format): Validation error in device response

[2178] CONFIG (NumValues): Too many values (max=1000)

[2204] CONFIG (NumValues): Too many values (max=256)

[6037] CONFIG (P6): Invalid register address

[6038] CONFIG (P6): Invalid bit address

[6039] CONFIG (P6): Unknown register type

[6040] CONFIG (P6): Unknown bit type

About the XHITAS10.tlk driver

This driver requires that you have TAS-HMITalk 8.04 installed.

Driver Source Code Last Update: 02/10/2005 20:23:58

Driver Reference Last Update: 10/30/2008 17:39:13

© 1990-2008, CPKSoft Engineering. All rights reserved.

http://www.cpksoft.com - support@cpksoft.com

http://www.cpksoft.com.ar - soporte@cpksoft.com.ar>