CPKSoft Engineering

XGECALST.tlk Driver Reference

Gec Alsthom Addressable Relays IEC870 Protocol Driver

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

Driver Overview

XGECALST driver was designed to communicate with GEC Alsthom

addressable relays model KCGG140, KCEG140 and KAVS100, or any other

compatible device that supports the Courier Protocol with the IEC870

interface to transport the courier messages.

 

Requires a KITZ connected to any free RS-232 port in your PC.

 

This driver supports Single-level Addressing mode only. Multi-level

addressing may be implemented in future releases although it is only

required when the topology of the network of courier devices is too

complex.

 

Station numbers supported by this driver are 1 to 254. Automatic

addressing allocation (station 0) and broadcast messages (station 255)

are not available.

 

When communicating using 10 data bits mode, you must setup the driver to work

with the following settings: N,8,1. When communicating using 11 data

bits mode, you must setup the driver to work with the following settings: E,8,1.

 

Be sure your driver settings are matching the actual baud-rate used by

the atached relays.

 

Supported Equipment Type

Power Protections and Reclosers

Supported Devices List

GEC ALSTHOM Addressable Relays KCGG140

GEC ALSTHOM Addressable Relays KCEG140

GEC ALSTHOM Addressable Relays KAVS100

Supported Commands List

Read Relay Status

Read Logic Control Inputs Status

Read Outputs Status

Read Measured Values from KCGG140

Read Measured Values from KCEG140

Read Measured Values from KCEG140 (reduced)

Read Measured Values from KAVS100

Read Cells with Courier Numeric Type (2CH)

Read Cells with Unsigned Integer Type (24H)

Read Cells with Signed Integer Type (28H)

Read Cells with Binary Flags Type (20H)

Read Cells and return Individual Bytes

Read Events

Set Circuit Breaker Status

Read Relay Status

COMMAND DESCRIPTION:

- Gives the status of the Trip led, the Alarm led and the Out

of Service flag present in the addressed relay.

- Gives the status of Circuit Breakers 1 and 2.

- Gives the status of Isolators 1 to 6.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-11

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside.

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = The current Trip Led Status (0 or 1)

- HMITalk1.PointValue(1) = The current Alarm Led Status (0 or 1)

- HMITalk1.PointValue(2) = The current Out of Service Status (0 or 1)

- HMITalk1.PointValue(3) = Status of Circuit Breaker 1 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

- HMITalk1.PointValue(4) = Status of Circuit Breaker 2 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

- HMITalk1.PointValue(5) = Status of Isolator 1 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

- HMITalk1.PointValue(6) = Status of Isolator 2 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

- HMITalk1.PointValue(7) = Status of Isolator 3 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

- HMITalk1.PointValue(8) = Status of Isolator 4 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

- HMITalk1.PointValue(9) = Status of Isolator 5 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

- HMITalk1.PointValue(10) = Status of Isolator 6 (0=OPEN, 1=CLOSED, -1/2=NOT FITTED)

Read Logic Control Inputs Status

COMMAND DESCRIPTION:

Gives the status of the logic control inputs.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = Status of logic control input #0

- HMITalk1.PointValue(1) = Status of logic control input #1

- HMITalk1.PointValue(2) = Status of logic control input #2

- HMITalk1.PointValue(3) = Status of logic control input #3

- HMITalk1.PointValue(4) = Status of logic control input #4

- HMITalk1.PointValue(5) = Status of logic control input #5

- HMITalk1.PointValue(6) = Status of logic control input #6

- HMITalk1.PointValue(7) = Status of logic control input #7

Read Outputs Status

COMMAND DESCRIPTION:

Gives the status of the outputs.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 2

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = Status of output #0

- HMITalk1.PointValue(1) = Status of output #1

- HMITalk1.PointValue(2) = Status of output #2

- HMITalk1.PointValue(3) = Status of output #3

- HMITalk1.PointValue(4) = Status of output #4

- HMITalk1.PointValue(5) = Status of output #5

- HMITalk1.PointValue(6) = Status of output #6

- HMITalk1.PointValue(7) = Status of output #7

Read Measured Values from KCGG140

COMMAND DESCRIPTION:

Returns a set of measured values from the KCGG140 relay.

Refer to the RETURNS: section of this command for a list

of measurements returned.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-27

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 3

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = Current in phase A (Ia), in amperes

- HMITalk1.PointValue(1) = Current in phase B (Ib), in amperes

- HMITalk1.PointValue(2) = Current in phase C (Ic), in amperes

- HMITalk1.PointValue(3) = Current in phase N (Io), in amperes

- HMITalk1.PointValue(4) = Frequency (F), in Hertz

- HMITalk1.PointValue(5) = Number of relay operations (Sum(OPS))

- HMITalk1.PointValue(6) = Sum(Ia)^2, in amperes^2

- HMITalk1.PointValue(7) = Sum(Ib)^2, in amperes^2

- HMITalk1.PointValue(8) = Sum(Ic)^2, in amperes^2

- HMITalk1.PointValue(9) = Last failure operation time, in minutes

- HMITalk1.PointValue(10) = Status of logic control input 0

- HMITalk1.PointValue(11) = Status of logic control input 1

- HMITalk1.PointValue(12) = Status of logic control input 2

- HMITalk1.PointValue(13) = Status of logic control input 3

- HMITalk1.PointValue(14) = Status of logic control input 4

- HMITalk1.PointValue(15) = Status of logic control input 5

- HMITalk1.PointValue(16) = Status of logic control input 6

- HMITalk1.PointValue(17) = Status of logic control input 7

- HMITalk1.PointValue(18) = Status of output 0

- HMITalk1.PointValue(19) = Status of output 1

- HMITalk1.PointValue(20) = Status of output 2

- HMITalk1.PointValue(21) = Status of output 3

- HMITalk1.PointValue(22) = Status of output 4

- HMITalk1.PointValue(23) = Status of output 5

- HMITalk1.PointValue(24) = Status of output 6

- HMITalk1.PointValue(25) = Status of output 7

- HMITalk1.PointValue(26) = Status Byte:

Bit 0: DIST

Bit 1: PLANT

Bit 2: CONTROL

Bit 3: BUSY

Bit 4: OOS

Bit 5: EVENT

Bit 6: ALARM

Bit 7: TRIP

Read Measured Values from KCEG140

COMMAND DESCRIPTION:

Returns a set of measured values from the KCEG140 relay.

Refer to the RETURNS: section of this command for a list

of measurements returned.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-39

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 4

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = Current in phase A (Ia), in amperes

- HMITalk1.PointValue(1) = Current in phase B (Ib), in amperes

- HMITalk1.PointValue(2) = Current in phase C (Ic), in amperes

- HMITalk1.PointValue(3) = Current in phase N (Io), in amperes

- HMITalk1.PointValue(4) = Frequency (F), in Hertz

- HMITalk1.PointValue(5) = Number of relay operations (Sum(OPS))

- HMITalk1.PointValue(6) = Sum(Ia)^2, in amperes^2

- HMITalk1.PointValue(7) = Sum(Ib)^2, in amperes^2

- HMITalk1.PointValue(8) = Sum(Ic)^2, in amperes^2

- HMITalk1.PointValue(9) = Last failure operation time, in minutes

- HMITalk1.PointValue(10) = Status of logic control input 0

- HMITalk1.PointValue(11) = Status of logic control input 1

- HMITalk1.PointValue(12) = Status of logic control input 2

- HMITalk1.PointValue(13) = Status of logic control input 3

- HMITalk1.PointValue(14) = Status of logic control input 4

- HMITalk1.PointValue(15) = Status of logic control input 5

- HMITalk1.PointValue(16) = Status of logic control input 6

- HMITalk1.PointValue(17) = Status of logic control input 7

- HMITalk1.PointValue(18) = Status of output 0

- HMITalk1.PointValue(19) = Status of output 1

- HMITalk1.PointValue(20) = Status of output 2

- HMITalk1.PointValue(21) = Status of output 3

- HMITalk1.PointValue(22) = Status of output 4

- HMITalk1.PointValue(23) = Status of output 5

- HMITalk1.PointValue(24) = Status of output 6

- HMITalk1.PointValue(25) = Status of output 7

- HMITalk1.PointValue(26) = Phase AB voltage (Vab), in Volts

- HMITalk1.PointValue(27) = Phase BC voltage (Vbc), in Volts

- HMITalk1.PointValue(28) = Phase CA voltage (Vca), in Volts

- HMITalk1.PointValue(29) = Phase A voltage (Va), in Volts

- HMITalk1.PointValue(30) = Phase B voltage (Vb), in Volts

- HMITalk1.PointValue(31) = Phase C voltage (Vc), in Volts

- HMITalk1.PointValue(32) = Zero sequence voltage (Vo), in Volts

- HMITalk1.PointValue(33) = Power (W), in Watts

- HMITalk1.PointValue(34) = VoltAmps (VA), in VA

- HMITalk1.PointValue(35) = VoltAmps reactive (VAr), in wr

- HMITalk1.PointValue(36) = Power Factor

- HMITalk1.PointValue(37) = Operating mode

- HMITalk1.PointValue(38) = Status Byte:

Bit 0: DIST

Bit 1: PLANT

Bit 2: CONTROL

Bit 3: BUSY

Bit 4: OOS

Bit 5: EVENT

Bit 6: ALARM

Bit 7: TRIP

Read Measured Values from KCEG140 (reduced)

COMMAND DESCRIPTION:

Returns a reduced set of measured values from the KCEG140 relay.

Refer to the RETURNS: section of this command for a list

of measurements returned.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-30

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 40

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = Current in phase A (Ia), in amperes

- HMITalk1.PointValue(1) = Current in phase B (Ib), in amperes

- HMITalk1.PointValue(2) = Current in phase C (Ic), in amperes

- HMITalk1.PointValue(3) = Current in phase N (Io), in amperes

- HMITalk1.PointValue(4) = Frequency (F), in Hertz

- HMITalk1.PointValue(5) = Status of logic control input 0

- HMITalk1.PointValue(6) = Status of logic control input 1

- HMITalk1.PointValue(7) = Status of logic control input 2

- HMITalk1.PointValue(8) = Status of logic control input 3

- HMITalk1.PointValue(9) = Status of logic control input 4

- HMITalk1.PointValue(10) = Status of logic control input 5

- HMITalk1.PointValue(11) = Status of logic control input 6

- HMITalk1.PointValue(12) = Status of logic control input 7

- HMITalk1.PointValue(13) = Status of output 0

- HMITalk1.PointValue(14) = Status of output 1

- HMITalk1.PointValue(15) = Status of output 2

- HMITalk1.PointValue(16) = Status of output 3

- HMITalk1.PointValue(17) = Status of output 4

- HMITalk1.PointValue(18) = Status of output 5

- HMITalk1.PointValue(19) = Status of output 6

- HMITalk1.PointValue(20) = Status of output 7

- HMITalk1.PointValue(21) = Phase AB voltage (Vab), in Volts

- HMITalk1.PointValue(22) = Phase BC voltage (Vbc), in Volts

- HMITalk1.PointValue(23) = Phase CA voltage (Vca), in Volts

- HMITalk1.PointValue(24) = Zero sequence voltage (Vo), in Volts

- HMITalk1.PointValue(25) = Power (W), in Watts

- HMITalk1.PointValue(26) = VoltAmps (VA), in VA

- HMITalk1.PointValue(27) = VoltAmps reactive (VAr), in wr

- HMITalk1.PointValue(28) = Power Factor

- HMITalk1.PointValue(29) = Status Byte:

Bit 0: DIST

Bit 1: PLANT

Bit 2: CONTROL

Bit 3: BUSY

Bit 4: OOS

Bit 5: EVENT

Bit 6: ALARM

Bit 7: TRIP

Read Measured Values from KAVS100

COMMAND DESCRIPTION:

Returns a set of measured values from the KAVS100 relay.

Refer to the RETURNS: section of this command for a list

of measurements returned.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-22

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = 0

HMITalk1.DriverP3 = 0

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = Line Voltage, in Volts

- HMITalk1.PointValue(1) = Bus Voltage, in Volts

- HMITalk1.PointValue(2) = Phase angle (between line and bus voltage), in Degrees

- HMITalk1.PointValue(3) = Slip frequency, in Hertz

- HMITalk1.PointValue(4) = System frequency (F), in Hertz

- HMITalk1.PointValue(5) = Status of logic control input 0

- HMITalk1.PointValue(6) = Status of logic control input 1

- HMITalk1.PointValue(7) = Status of logic control input 2

- HMITalk1.PointValue(8) = Status of logic control input 3

- HMITalk1.PointValue(9) = Status of logic control input 4

- HMITalk1.PointValue(10) = Status of logic control input 5

- HMITalk1.PointValue(11) = Status of logic control input 6

- HMITalk1.PointValue(12) = Status of logic control input 7

- HMITalk1.PointValue(13) = Status of output 0

- HMITalk1.PointValue(14) = Status of output 1

- HMITalk1.PointValue(15) = Status of output 2

- HMITalk1.PointValue(16) = Status of output 3

- HMITalk1.PointValue(17) = Status of output 4

- HMITalk1.PointValue(18) = Status of output 5

- HMITalk1.PointValue(19) = Status of output 6

- HMITalk1.PointValue(20) = Status of output 7

- HMITalk1.PointValue(21) = Status Byte:

Bit 0: DIST

Bit 1: PLANT

Bit 2: CONTROL

Bit 3: BUSY

Bit 4: OOS

Bit 5: EVENT

Bit 6: ALARM

Bit 7: TRIP

Read Cells with Courier Numeric Type (2CH)

COMMAND DESCRIPTION:

Returns a set of consecutive cell values that can be

interpreted as Courier Numeric values.

All the cells read belong to the same row.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-63

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 20

HMITalk1.DriverP2 = Indicates the starting row to be read (0-255).

HMITalk1.DriverP3 = Indicates the starting column to be read (0-255).

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = First cell requested

- HMITalk1.PointValue(1) = Second cell requested

.

.

- HMITalk1.PointValue(n) = Last cell requested

Read Cells with Unsigned Integer Type (24H)

COMMAND DESCRIPTION:

Returns a set of consecutive cell values that can be

interpreted as Unsigned Integers (24H).

All the cells read belong to the same row.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-63

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 21

HMITalk1.DriverP2 = Indicates the starting row to be read (0-255).

HMITalk1.DriverP3 = Indicates the starting column to be read (0-255).

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = First cell requested

- HMITalk1.PointValue(1) = Second cell requested

.

.

- HMITalk1.PointValue(n) = Last cell requested

Read Cells with Signed Integer Type (28H)

COMMAND DESCRIPTION:

Returns a set of consecutive cell values that can be

interpreted as Signed Integers (28H).

All the cells read belong to the same row.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-63

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 22

HMITalk1.DriverP2 = Indicates the starting row to be read (0-255).

HMITalk1.DriverP3 = Indicates the starting column to be read (0-255).

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = First cell requested

- HMITalk1.PointValue(1) = Second cell requested

.

.

- HMITalk1.PointValue(n) = Last cell requested

Read Cells with Binary Flags Type (20H)

COMMAND DESCRIPTION:

Returns a set of consecutive cell values that can be

interpreted as Binary Flags (20H).

All the cells read belong to the same row.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-63

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 23

HMITalk1.DriverP2 = Indicates the starting row to be read (0-255).

HMITalk1.DriverP3 = Indicates the starting column to be read (0-255).

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = First cell requested

- HMITalk1.PointValue(1) = Second cell requested

.

.

- HMITalk1.PointValue(n) = Last cell requested

Read Cells and return Individual Bytes

COMMAND DESCRIPTION:

Returns a set of bytes that are directly taken from the

relay response when a given set of cells is requested.

Use this command to manually interpret the device answer.

Every byte in the answer will be returned as an individual

PointValue(), including those

bytes that act as delimiters or field length indicators.

It is up to the user to filter the bytes actually containing

the data and to build the final value they represent.

All the cells read belong to the same row.

- Additionally, this command can extract any pending event

if it is available in the relay memory. The file

'RELAYxxx.EVN' will be used for that purpose, where xxx

is the relay's unit address given by HMITalk1.DriverP0.

It will be located in the directory specified in HMITalk1.DriverP6.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-63

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 24

HMITalk1.DriverP2 = Indicates the starting row to be read (0-255).

HMITalk1.DriverP3 = Indicates the starting column to be read (0-255).

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP5 = Indicates how events extraction must be handled:

0 = Ignore any pending events

1 = Read one event if present

2 = Read all present events before continouing

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = First cell requested

- HMITalk1.PointValue(1) = Second cell requested

.

.

- HMITalk1.PointValue(n) = Last cell requested

Read Events

COMMAND DESCRIPTION:

This command will only extract any pending event, if it is

available in the relay memory. The file 'RELAYxxx.EVN' will

be used for that purpose, where xxx is the relay's unit

address given by HMITalk1.DriverP0. It will be located in the current TAS-HMITalk

directory.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 30

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

 

RETURNS:

- HMITalk1.PointValue(0) = Indicates how many events have been extracted

since the last driver start-up.

Set Circuit Breaker Status

COMMAND DESCRIPTION:

Closes or trips the circuit breaker of the addressed relay.

NOTE: For this command to work properly with this driver,

you must program your relay according to the following:

- In the Relay Mask Page:

RLYCVCLOSE = 6

RLYCVTRIHMITalk1.DriverP = 7

- In the Input Mask Page:

INPCVCLOSE = 6

INPCVOPEN = 7

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Unit Address (1-254).

HMITalk1.DriverP1 = 10

HMITalk1.DriverP2 = Indicates the circuit breaker to be affected (1-7).

HMITalk1.DriverP3 = Indicates how to perform the validation after sending the

open/close command:

0 = The relay's reply is taken as the only validation

to assume the command was executed properly.

1 = The status of the circuit breaker is checked immediately

after sending an open/close command by performing a

post-reading operation. If the circuit breaker does not

match the expected status, the command will be retried

indefinitely.

2 = The status of the circuit breaker is checked immediately

after sending a close command by performing a

post-reading operation. If the circuit breaker does not

match the expected status, the command will be retried

indefinitely ONLY if you were trying to CLOSE it.

3 = The status of the circuit breaker is checked immediately

after sending a open command by performing a

post-reading operation. If the circuit breaker does not

match the expected status, the command will be retried

indefinitely ONLY if you were trying to OPEN it.

HMITalk1.DriverP4 = Indicates how many retries should be attempted when the

relay is busy, before abandoning the current transaction.

Allowed values are 1 to 30.

HMITalk1.DriverP6 = Indicates the path where the event files reside

If this property is empty, C:\\GEC is used by default.

HMITalk1.DriverP7 = Additional delay in milliseconds before a

retry command is attempted (poll buffer command).

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1201] DRIVER (System): Error closing %s

[1202] DRIVER (System): Error creating %s

[1208] DRIVER (System): Error seeking end of %s

[1210] DRIVER (System): Error writing to %s

[1300] PROTOCOL (Timeout): No answer

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

[2001] CONFIG (DataType): Analog outputs are not supported by this driver

[2105] CONFIG (NumValues): Invalid number of cells requested (max=63)

[3021] CONFIG (P0): Invalid device address (1-254)

[3508] CONFIG (P1): Invalid command

[3513] CONFIG (P1): Invalid command (0 to 5, 20 to 24 or 30)

[3524] CONFIG (P1): Invalid command (10=set breaker, 11=set isolator)

[3546] CONFIG (P1): Invalid command

[4025] CONFIG (P2): Invalid breaker number (1-7)

[4070] CONFIG (P2): Invalid isolator number (1-6)

[4096] CONFIG (P2): Invalid row (0-255)

[4518] CONFIG (P3): Invalid column (0-255)

[4582] CONFIG (P3): Invalid validation mode (0-3)

[5027] CONFIG (P4): Invalid number of retries when busy (1-30)

[8094] CONFIG (Remote): Device answer is different than expected

[8095] CONFIG (Remote): Device answer is different than expected in byte 13

[8096] CONFIG (Remote): Device answer is different than expected in byte 15

[8105] CONFIG (Remote): Device is not a KAVS100 relay (response is shorter than expected)

[8106] CONFIG (Remote): Device is not a KCEG140 relay (response is shorter than expected)

[8107] CONFIG (Remote): Device is not a KCGG140 relay (response is shorter than expected)

[8116] CONFIG (Remote): Error closing circuit breaker

[8118] CONFIG (Remote): Error closing isolator

[8126] CONFIG (Remote): Error opening circuit breaker

[8128] CONFIG (Remote): Error opening isolator

[8236] CONFIG (Remote): Not in setting mode

[8237] CONFIG (Remote): Not in setting mode (command invalid)

[8243] CONFIG (Remote): One or more cells are not of BinaryFlags Type

[8244] CONFIG (Remote): One or more cells are not of Courier Numeric Type

[8245] CONFIG (Remote): One or more cells are not of Unsigned Integer Type

[8262] CONFIG (Remote): Password is required to change setting

[8302] CONFIG (Remote): Reported an unknown error

[8310] CONFIG (Remote): Response is shorter than expected

[8362] CONFIG (Remote): Verify error on setting change

About the XGECALST.tlk driver

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:11

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

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

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