CPKSoft Engineering

XACROMAG.tlk Driver Reference

Acromag Series 4600 I/O Processor Driver

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

Driver Overview

XACROMAG driver allows you to connect to the ACROMAG Series 4600/4500/4400/4300

I/O Processor, using the ASCII protocol version. Communication

is made through RS-232 or RS-485. Communications are started

only by the PC questioning the equipment. Thus, spontaneous messages

must be disabled. This driver does not support Exception Reports.

The commands implemented in this driver are those that allow

questioning of input/output related

to plant information and some special commands to set parameters

related to them. There are no commands available to program the

equipment. In this case, refer to the specifc software provided by

ACROMAG for such purpose.

Supported Equipment Type

Remote Terminal Units

Supported Devices List

ACROMAG Series 4600 I/O Processor

ACROMAG Series 4500 I/O Processor

ACROMAG Series 4400 I/O Processor

ACROMAG Series 4300 I/O Processor

Supported Commands List

General Channel I/O Commands:

Read Channel Value

Write Channel Value as Floating Point

Write Channel Value as Integer

Write Digital Channels

Read Digital Channels

Read Min/Max Value

Initialize Min/Max

Start Frame Average

Read Frame Average

Reset Channel

 

Hexadecimal Channel I/O Commands:

Read Hex

Write Hex

Read Digital Hex

Write Digital Hex

 

Limit Commands:

Write Limits (For Low Limit 1)

Write Limits (Para High Limit 1)

Write Limits (For Low Limit 2)

Write Limits (Para High Limit 2)

Read Limits

Save Limits

Write Deadband

Read Deadband

Read Limits Exceeded

Mask Alarms (Disable)

Unmask Alarms (Enable)

Latches Reset

 

Waveform Generation Commands:

Generate Ramp

Generate Triangle Wave

Generate Pulse Stream

Hold Waveform

Restart Waveform

 

Exception Reporting Command:

Turn off Exception Reporting

General Channel I/O Commands : Read Channel Value

COMMAND DESCRIPTION:

This command allows you to read the value of one or more I/O channels.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-33. of which 32 will read consecutive channels of

the equipment, and the last will read the Time Stamp.

Note that when the number of variables reserved

exceeds 1, the last will always have the Time Stamp

value.

HMITalk1.DriverP0 = Indicates the station address (1-255).

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first channel to be read (1-32).

 

RETURNS:

- HMITalk1.PointValue(0) = First channel value.

- HMITalk1.PointValue(1) = Second channel value.

... ...

- HMITalk1.PointValue(n-1) = Last channel value.

- HMITalk1.PointValue(n) = Time stamp value.

General Channel I/O Commands : Write Channel Value as Floating Point

COMMAND DESCRIPTION:

This command allows you to write a value in an I/O channel as a

floating point value and 2 resolution decimals.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first channel to be written (1-32).

General Channel I/O Commands : Write Channel Value as Integer

COMMAND DESCRIPTION:

This command allows you to write a value to an I/O channel as an integer,

without decimals.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 32

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first channel to be written (1-32).

General Channel I/O Commands : Write Digital Channels

COMMAND DESCRIPTION:

This command allows you to write one or more digital output.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-24

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 2

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first output of the package to

be written (9-50).

General Channel I/O Commands : Read Digital Channels

COMMAND DESCRIPTION:

This command allows you to read a digital inputs.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-24.

HMITalk1.DriverP0 = Indicates the station address (1-255).

HMITalk1.DriverP1 = 3

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first input number to be read (9-32).

General Channel I/O Commands : Read Min/Max Value

COMMAND DESCRIPTION:

This command allows you to read the maximum and minimum value

of one channel. The value is returned in the engineering

units configured on the board.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-2

HMITalk1.DriverP0 = Indicates the station address (1-255).

HMITalk1.DriverP1 = 4

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be read (1-16).

 

RETURNS:

- HMITalk1.PointValue(0) = Maximum value.

- HMITalk1.PointValue(1) = Minimum value.

General Channel I/O Commands : Initialize Min/Max

COMMAND DESCRIPTION:

This command allows you to initialize the maximum and/or minimum

values of a channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be written (1-16).

 

WHERE:

If the Analog Output value = 1, it resets the minimum value.

If the Analog Output value = 2, it resets the maximum value and

if the Analog Output value is = 3, it resets both values.

General Channel I/O Commands : Start Frame Average

COMMAND DESCRIPTION:

This command allows you to initiate or restart a frame average

calculation.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 6

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first channel to be written (1-16).

 

WHERE:

The Analog Output value specifies the period, in seconds.

0 means make a STOP.

General Channel I/O Commands : Read Frame Average

COMMAND DESCRIPTION:

This command allows you to read the value of the frame average

calculation for a channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (1-255).

HMITalk1.DriverP1 = 7

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be read (1-16).

General Channel I/O Commands : Reset Channel

COMMAND DESCRIPTION:

This command allows you to initialize one channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 35

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be reset (1-32)

 

Hexadecimal Channel I/O Commands : Read Hex

COMMAND DESCRIPTION:

This command allows you to obtain the value of up to 16 consecutive

I/O channels.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-16

HMITalk1.DriverP0 = Indicates the station address (1-255).

HMITalk1.DriverP1 = 8

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first channel to be read (1-34).

HMITalk1.DriverP4 = Sets whether time stamp is used in the protocol or not.

- 0 Without time stamp

- 1 With time stamp

Hexadecimal Channel I/O Commands : Write Hex

COMMAND DESCRIPTION:

This command allows you to write up to 16 consecutive outputs.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-16

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 9

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first output to be written.

Hexadecimal Channel I/O Commands : Read Digital Hex

COMMAND DESCRIPTION:

This command allows you to read the value of one or more I/O channels.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-32

HMITalk1.DriverP0 = Indicates the station address (0-255).

HMITalk1.DriverP1 = 10

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Sets whether time stamp is used in the protocol or not.

- 0 Without time stamp

- 1 With time stamp

Hexadecimal Channel I/O Commands : Write Digital Hex

COMMAND DESCRIPTION:

This command allows you to write up to 32 digital outputs.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-32

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 11

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the number of the first output to be written.

 

Limit Commands : Write Limits (For Low Limit 1)

COMMAND DESCRIPTION:

This command allows you to set the value of the low limit 1 for

a selected input channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 12

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be set (1-16).

HMITalk1.DriverP4 = Indicates the output channel to be used as alarm.

It may have these values:

- 0 = No output is used

- 9 = Output 9

- 10 = Output 10

- 11 = Output 11

- 12 = Output 12

- 13 = Output 13

- 14 = Output 14

- 15 = Output 15

- 16 = Output 16

HMITalk1.DriverP5 = Indicates the type of limit with which the limit must be set.

- 0 = Momentary limit

- 1 = Latching limit (until reset)

- 2 = Delete limit

- 3 = Momentary limit with Exception

Reporting

- 4 = Latching limit with Exception Reporting

 

WHERE:

The Analog Output value determines the value of the limit to which

it will be set.

Limit Commands : Write Limits (Para High Limit 1)

COMMAND DESCRIPTION:

This command allows you to set the value of the high limit 1 for

a selected input channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 13

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be set (1-16).

HMITalk1.DriverP4 = Indicates the output channel to be used as alarm.

It may have these values:

- 0 = No output is used

- 9 = Output 9

- 10 = Output 10

- 11 = Output 11

- 12 = Output 12

- 13 = Output 13

- 14 = Output 14

- 15 = Output 15

- 16 = Output 16

HMITalk1.DriverP5 = Indicates the type of limit with which the limit must be set.

- 0 = Momentary limit

- 1 = Latching limit (until reset)

- 2 = Delete limit

- 3 = Momentary limit with Exception

Reporting

- 4 = Latching limit with Exception Reporting

 

WHERE:

The Analog Output value determines the value of the limit to which

it will be set.

Limit Commands : Write Limits (For Low Limit 2)

COMMAND DESCRIPTION:

This command allows you to set the value of the low limit 2 for

a selected input channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 14

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be set (1-16).

HMITalk1.DriverP4 = Indicates the output channel to be used as alarm.

It may have these values:

- 0 = No output is used

- 9 = Output 9

- 10 = Output 10

- 11 = Output 11

- 12 = Output 12

- 13 = Output 13

- 14 = Output 14

- 15 = Output 15

- 16 = Output 16

HMITalk1.DriverP5 = Indicates the type of limit with which the limit must be set.

- 0 = Momentary limit

- 1 = Latching limit (until reset)

- 2 = Delete limit

- 3 = Momentary limit with Exception

Reporting

- 4 = Latching limit with Exception Reporting

 

WHERE:

The Analog Output value determines the value of the limit to which

it will be set.

Limit Commands : Write Limits (Para High Limit 2)

COMMAND DESCRIPTION:

This command allows you to set the value of the high limit 2 for

a selected input channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 15

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be set (1-16).

HMITalk1.DriverP4 = Indicates the output channel to be used as alarm.

It may have these values:

- 0 = No output is used

- 9 = Output 9

- 10 = Output 10

- 11 = Output 11

- 12 = Output 12

- 13 = Output 13

- 14 = Output 14

- 15 = Output 15

- 16 = Output 16

HMITalk1.DriverP5 = Indicates the type of limit with which the limit must be set.

- 0 = Momentary limit

- 1 = Latching limit (until reset)

- 2 = Delete limit

- 3 = Momentary limit with Exception

Reporting

- 4 = Latching limit with Exception Reporting

 

WHERE:

The Analog Output value determines the value of the limit to which

it will be set.

Limit Commands : Read Limits

COMMAND DESCRIPTION:

This command allows you to read the value and the parameters with

which the limit of the specified channel is set.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-4

HMITalk1.DriverP0 = Indicates the station address (0-255).

HMITalk1.DriverP1 = 16

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be read (1-16).

HMITalk1.DriverP4 = Indicates the limit to be read.

- 0 = for limit #1.

- 1 = for limit #2.

 

RETURNS:

- HMITalk1.PointValue(0) = Indicates the limit level:

- 0 = Low

- 1 = High

- HMITalk1.PointValue(1) = Indicates the limit current value.

- HMITalk1.PointValue(2) = Indicates the output channel associated. 0 indictes that there's no associated output.

- HMITalk1.PointValue(3) = Indicates the type of limit configured.

- 0 = Momentary limit.

- 1 = Latching limit.

- 2 = Momentary limit with Exception Reporting.

- 3 = Latching limit with Exception Reporting.

Limit Commands : Save Limits

COMMAND DESCRIPTION:

This command allows you to save in the non-volatile memory, the

limit information and the deadband.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 17

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-8).

Limit Commands : Write Deadband

COMMAND DESCRIPTION:

This command allows you to specify the degree of histeresis with

which the limit value wil be handled.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 18

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-8).

 

WHERE:

The Analog Output value indicates the value to be taken by the

deadband.

Limit Commands : Read Deadband

COMMAND DESCRIPTION:

This command allows you to read the histeresis value set for one

or more consecutive channels.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Indicates the station address (0-255).

HMITalk1.DriverP1 = 19

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-8).

Limit Commands : Read Limits Exceeded

COMMAND DESCRIPTION:

This command allows you to read the value of the limits exceeded.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-5

HMITalk1.DriverP0 = Indicates the station address (0-255).

HMITalk1.DriverP1 = 20

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

 

RETURNS:

- HMITalk1.PointValue(0) = Exceeded channel

- HMITalk1.PointValue(1) = Time

- HMITalk1.PointValue(2) = Time stamp

- HMITalk1.PointValue(3) = Value

- HMITalk1.PointValue(4) = L_Flag

Limit Commands : Mask Alarms (Disable)

COMMAND DESCRIPTION:

This command is used to disable the alarm associated to the

limit of a channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 21

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-16).

HMITalk1.DriverP4 = Indicates the type of alarm to be disabled

- 0 = Disables all the alarms for a channel.

- 1 = Disables the alarm for limit #1

- 2 = Disables the alarm for limit #2

Limit Commands : Unmask Alarms (Enable)

COMMAND DESCRIPTION:

This command is used to enable the alarm associated to the

limit of a channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 22

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-16).

HMITalk1.DriverP4 = Indicates the type of alarm to be disabled.

- 0 = Enables all the alarms for a channel

- 1 = Enables the alarm for limit #1

- 2 = Enables the alarm for limit #2

Limit Commands : Latches Reset

COMMAND DESCRIPTION:

This command allows you to reset the latch associated to the

limit of a channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 23

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-16).

HMITalk1.DriverP4 = Indicates the type of latch to be reset

- 0 = Resets all latches for a channel

- 1 = Resets latch for limit #1

- 2 = Resets latch for limit #2

 

Waveform Generation Commands : Generate Ramp

COMMAND DESCRIPTION:

allows you to generate a ramp function in an output.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 3

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 24

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-16).

HMITalk1.DriverP4 = Defines the time duration for the ramp.

 

WHERE:

- HMITalk1.PointValue(0) = Defines the value from which the ramp starts.

- HMITalk1.PointValue(1) = Defines the highest value the ramp should reach.

- HMITalk1.PointValue(2) = Defines the number of waves to generate.

If 0 is specified, the wave is generated in

continuous mode.

Waveform Generation Commands : Generate Triangle Wave

COMMAND DESCRIPTION:

This command allows you to generate a triangle function in a

specified channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 3

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 25

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-16).

HMITalk1.DriverP4 = Defines the time from the initial value to the final value

of the wave.

HMITalk1.DriverP5 = Defines the time from the final value to the initial value

of the wave.

 

WHERE:

- HMITalk1.PointValue(0) = Defines the value from which the wave starts.

- HMITalk1.PointValue(1) = Defines the final value the wave should reach.

- HMITalk1.PointValue(2) = Defines the number of waves to generate.

If 0 is specified, the wave is generated in

continuous mode.

Waveform Generation Commands : Generate Pulse Stream

COMMAND DESCRIPTION:

This command allows you to generate a pulse stream function in a

specific channel.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 3

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 26

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (1-16).

HMITalk1.DriverP4 = Defines a time lapse from the initial value to the final value

of the wave.

HMITalk1.DriverP5 = Defines a time lapse from the final value to the initial value

of the wave.

 

WHERE:

- HMITalk1.PointValue(0) = Defines the value from which the wave starts.

- HMITalk1.PointValue(1) = Defines the final value the wave should reach.

For digital channels, start up

and final values must be 0 or 1 only.

- HMITalk1.PointValue(2) = Defines the number of waves to generate.

If 0 is specified, the wave is generated in

continuous mode.

 

Waveform Generation Commands : Hold Waveform

COMMAND DESCRIPTION:

This command allows you to momentarily stop the active waveform.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 27

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (9-16).

Waveform Generation Commands : Restart Waveform

COMMAND DESCRIPTION:

This command allows you to restart a wavefrom which is momentarily

stopped from the stop point.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 28

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

HMITalk1.DriverP3 = Indicates the channel number to be used (9-16).

 

Exception Reporting Command : Turn off Exception Reporting

COMMAND DESCRIPTION:

This command is used to disable exception reports.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Indicates the station address (0-255). If the station

is 0, it implies a broadcasting message that does not

expect an answer from the equipment.

HMITalk1.DriverP1 = 31

HMITalk1.DriverP2 = Sets whether a checksum control is used in the protocol or not.

- 0 Without checksum

- 1 With checksum

Returned Errors List

[1003] DRIVER (Internal): Exception reports not supported

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

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

[2109] CONFIG (NumValues): Invalid number of channels (must be 3)

[2147] CONFIG (NumValues): Only one value can be read or written

[2189] CONFIG (NumValues): Too many values (max=16)

[2199] CONFIG (NumValues): Too many values (max=24)

[2209] CONFIG (NumValues): Too many values (max=32)

[2210] CONFIG (NumValues): Too many values (max=33)

[2216] CONFIG (NumValues): Too many values (max=4)

[2235] CONFIG (NumValues): Too many values (max=8)

[3022] CONFIG (P0): Invalid device address (1-255)

[3508] CONFIG (P1): Invalid command

[4511] CONFIG (P3): Invalid channel (1-16)

[4512] CONFIG (P3): Invalid channel (1-32)

[4513] CONFIG (P3): Invalid channel (1-34)

[4514] CONFIG (P3): Invalid channel (1-8)

[4515] CONFIG (P3): Invalid channel (9-32)

[4516] CONFIG (P3): Invalid channel (9-50)

[5001] CONFIG (P4): Invalid alarm type (1-2)

[5015] CONFIG (P4): Invalid limit (0-1)

[5030] CONFIG (P4): Invalid output channel (0 or 9-16)

[5512] CONFIG (P5): Invalid type of limit (0-4)

[8042] CONFIG (Remote): Channel type mismatch

[8043] CONFIG (Remote): Channel value above legal range

[8044] CONFIG (Remote): Channel value below legal range

[8053] CONFIG (Remote): Command code in error

[8057] CONFIG (Remote): Command for analog channels only

[8058] CONFIG (Remote): Command for input channels only

[8059] CONFIG (Remote): Command for output channels only

[8063] CONFIG (Remote): Command not supported

[8064] CONFIG (Remote): Command parameters in error

[8066] CONFIG (Remote): Communication watchdog timer time-out has occurred

[8069] CONFIG (Remote): Communications parameters in error

[8081] CONFIG (Remote): Data conversion error: input not measurable

[8085] CONFIG (Remote): Data for channel is not yet valid

[8134] CONFIG (Remote): Excitation voltage too high

[8135] CONFIG (Remote): Excitation voltage too low

[8145] CONFIG (Remote): Frame average has not been started

[8160] CONFIG (Remote): Host is not in primary mode

[8162] CONFIG (Remote): Illegal alarm channel

[8163] CONFIG (Remote): Illegal baud rate

[8164] CONFIG (Remote): Illegal channel number

[8167] CONFIG (Remote): Illegal communication mode

[8171] CONFIG (Remote): Illegal degree of filtering specified

[8177] CONFIG (Remote): Illegal units code for channel

[8205] CONFIG (Remote): Limit not latchable

[8210] CONFIG (Remote): Logging already disabled

[8211] CONFIG (Remote): Logging already enabled

[8212] CONFIG (Remote): Logging not supported

[8219] CONFIG (Remote): No alarm channel defined for limit

[8221] CONFIG (Remote): No limit defined for channel

[8222] CONFIG (Remote): No limits currently exceeded

[8223] CONFIG (Remote): No log configuration for the channel

[8226] CONFIG (Remote): No personality code defined for channel

[8227] CONFIG (Remote): No reset since the last command

[8229] CONFIG (Remote): No waveform is currently being generated

[8246] CONFIG (Remote): Only 16 output waveforms can be active at one time

[8264] CONFIG (Remote): Personality code illegal for this channel

[8268] CONFIG (Remote): Primary mode already set

[8295] CONFIG (Remote): Record not found in the log file

[8308] CONFIG (Remote): Reset occurred since last command

[8330] CONFIG (Remote): Temperature reference channel data is in error

[8334] CONFIG (Remote): Thermocouple reference channels are protected

[8350] CONFIG (Remote): Unknown error received

[8353] CONFIG (Remote): Unknown or illegal flag field

[8354] CONFIG (Remote): Unknown personality code

[8364] CONFIG (Remote): WARNING! Over temperature - check site temperature

[8366] CONFIG (Remote): Wrong addressing mode specified

About the XACROMAG.tlk driver

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

Driver Source Code Last Update: 03/08/2004 14:07:58

Driver Reference Last Update: 10/30/2008 17:31:16

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

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

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