CPKSoft Engineering

XMBENRON.tlk Driver Reference

Modbus Enron ASCII Protocol Driver

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

Driver Overview

XMBENRON driver was designed to communicate with any device that

use the modified Gould Modicon MODBUS ENRON ASCII Protocol. Enron Modbus is just normal Modbus with special handling of 32-bit values as ONE register instead of TWO. Enron or Enron/Daniels Modbus is Standard Modbus with a few vendor extensions.

Supported Equipment Type

Flow Computers

Supported Devices List

BRISTOL BABCOCK Computer Using Modbus Enron

DANIEL INDUSTRIES Enhanced Solar Flow Plus 2470

DANIEL INDUSTRIES Flow Computer 2500

DANIEL INDUSTRIES Flow Computer Ultra 3000

DANIEL INDUSTRIES Chromatograph Danalyzer

Supported Commands List

Read Unit Status

Read Boolean Variables

Read Short Integer Variables

Read Long Integer Variables

Read Floating Point Variables

Read Manual/Live Status of Short Integer Variables

Read Manual/Live Status of Long Integer Variables

Read Manual/Live Status of Floating Point Variables

Set Single Boolean Variable

Set Single Short Integer Variable

Set Single Long Integer Variable

Set Single Floating Point Variable

Set Single Manual/Live Status of Short Integer Variable

Set Single Manual/Live Status of Long Integer Variable

Set Single Manual/Live Status of Floating Point Variable

Set Multiple Boolean Variables

Set Multiple Short Integer Variables

Set Multiple Long Integer Variables

Set Multiple Floating Point Variables

Set Multiple Manual/Live Status of Short Integer Variables

Set Multiple Manual/Live Status of Long Integer Variables

Set Multiple Manual/Live Status of Floating Point Variables

Read Unit Status

COMMAND DESCRIPTION:

This command allows the interrogation of eight Boolean unit

status variables within the device. The state of the eight

status variables is to be maintained by the device until

they are read by the master computer. After the variables are

read, if set, they are to be reset to zero.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 7

 

WHERE:

- HMITalk1.PointValue(0) = Shutdown

- HMITalk1.PointValue(1) = Unknown failure

- HMITalk1.PointValue(2) = Power failure

- HMITalk1.PointValue(3) = Unaknowledged alarms

- HMITalk1.PointValue(4) = Starting

- HMITalk1.PointValue(5) = Running

- HMITalk1.PointValue(6) = Warm start

- HMITalk1.PointValue(7) = Cold start

Read Boolean Variables

COMMAND DESCRIPTION:

This command allows the user to obtain the ON/OFF status of

logic Booleans used to control discrete outputs from the

addressed device. Up to 250 boolean variables can

be obtained at each request; however, the device may have

restrictions which reduce the maximum quantity.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = Indicates the initial Boolean address to be read

(starting at 1001 and up to 3000).

Read Short Integer Variables

COMMAND DESCRIPTION:

This command allows the user to obtain the contents of numeric

variables of type short integer (16-bits) in the addressed device.

The addressing allows up to 125 variables to be obtained

at each request.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-124

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 3

HMITalk1.DriverP2 = Indicates the initial short-integer address to be read

(starting at 3001 and up to 5000).

Read Long Integer Variables

COMMAND DESCRIPTION:

This command allows the user to obtain the contents of numeric

variables of type long integer (32-bits) in the addressed device.

The addressing allows up to 64 variables to be obtained

at each request.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 3

HMITalk1.DriverP2 = Indicates the initial long-integer address to be read

(starting at 5001 and up to 7000).

Read Floating Point Variables

COMMAND DESCRIPTION:

This command allows the user to obtain the contents of numeric

variables of type floating point (32-bits) in the addressed device.

The addressing allows up to 64 variables to be obtained

at each request.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 3

HMITalk1.DriverP2 = Indicates the initial floating point address to be read

(starting at 7001 and up to 60000).

Read Manual/Live Status of Short Integer Variables

COMMAND DESCRIPTION:

This command allows the user to obtain the manual/live status of

variables of type short integer (16-bits) in the addressed device. The addressing allows up to 125 variables to be obtained

at each request.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = Indicates the initial short-integer address whose manual/live

status is to be read (starting at 3001 and up to 5000).

Read Manual/Live Status of Long Integer Variables

COMMAND DESCRIPTION:

This command allows the user to obtain the contents of numeric

variables of type long integer (32-bits) in the addressed device.

The addressing allows up to 64 variables to be obtained

at each request.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = Indicates the initial long-integer address whose manual/live

status is to be read (starting at 5001 and up to 7000).

Read Manual/Live Status of Floating Point Variables

COMMAND DESCRIPTION:

This command allows the user to obtain the contents of numeric

variables of type floating point (32-bits) in the addressed device.

The addressing allows up to 64 variables to be obtained

at each request.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = Indicates the initial floating-point address whose manual/live

status is to be read (starting at 7001 and up to 60000).

Set Single Boolean Variable

COMMAND DESCRIPTION:

This command forces a Boolean variable to either ON or

OFF status. Boolean variables are numbered from 1001.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = Indicates the Boolean variable address to be set (1001 to 3000).

Set Single Short Integer Variable

COMMAND DESCRIPTION:

This command allows the user to change the contents of numeric

variables of type short integer (16-bits) in the addressed device.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 6

HMITalk1.DriverP2 = Indicates the short-integer address to be changed (3001 to 5000).

Set Single Long Integer Variable

COMMAND DESCRIPTION:

This command allows the user to change the contents of numeric

variables of type long integer (32-bits) in the addressed device.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 6

HMITalk1.DriverP2 = Indicates the long-integer address to be changed (5001 to 7000).

Set Single Floating Point Variable

COMMAND DESCRIPTION:

This command allows the user to change the contents of numeric

variables of type floating point (32-bits) in the addressed device.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 6

HMITalk1.DriverP2 = Indicates the floating point address to be changed (7001 to 60000).

Set Single Manual/Live Status of Short Integer Variable

COMMAND DESCRIPTION:

This command is used on a defined short-integer variable to

switch from manual to live.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = Indicates the short-integer address whose manual/live

status is to be set (3001 to 5000).

Set Single Manual/Live Status of Long Integer Variable

COMMAND DESCRIPTION:

This command is used on a defined long-integer variable to

switch from manual to live.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = Indicates the long-integer address whose manual/live

status is to be set (5001 to 7000).

Set Single Manual/Live Status of Floating Point Variable

COMMAND DESCRIPTION:

This command is used on a defined floating point variable to

switch from manual to live.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = Indicates the floating-point address whose manual/live

status is to be set (7001 to 60000).

Set Multiple Boolean Variables

COMMAND DESCRIPTION:

This command allows the user to set the ON/OFF status of

multiple logic Booleans. Up to 250 boolean variables can

be set at once; however, the device may have restrictions

which reduce the maximum quantity.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 15

HMITalk1.DriverP2 = Indicates the initial Boolean address to be set

(starting at 1001 and up to 3000).

Set Multiple Short Integer Variables

COMMAND DESCRIPTION:

This command allows the user to set the contents of multiple numeric

variables of type short integer (16-bits) in the addressed device.

The addressing allows up to 125 variables to be set at once.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-124

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 16

HMITalk1.DriverP2 = Indicates the initial short-integer address to be set

(starting at 3001 and up to 5000).

Set Multiple Long Integer Variables

COMMAND DESCRIPTION:

This command allows the user to set the contents of multiple numeric

variables of type long integer (32-bits) in the addressed device.

The addressing allows up to 64 variables to be set at once.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 16

HMITalk1.DriverP2 = Indicates the initial long-integer address to be set

(starting at 5001 and up to 7000).

Set Multiple Floating Point Variables

COMMAND DESCRIPTION:

This command allows the user to set the contents of multiple numeric

variables of type floating point (32-bits) in the addressed device.

The addressing allows up to 64 variables to be set at once.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 16

HMITalk1.DriverP2 = Indicates the initial floating point address to be set

(starting at 7001 and up to 60000).

Set Multiple Manual/Live Status of Short Integer Variables

COMMAND DESCRIPTION:

This command allows the user to set the manual/live status of multiple

variables of type short integer (16-bits) in the addressed device.

The addressing allows up to 125 variables to be set at once.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 15

HMITalk1.DriverP2 = Indicates the initial short-integer address whose manual/live

status is to be set (starting at 3001 and up to 5000).

Set Multiple Manual/Live Status of Long Integer Variables

COMMAND DESCRIPTION:

This command allows the user to set the contents of multiple numeric

variables of type long integer (32-bits) in the addressed device.

The addressing allows up to 64 variables to be set at once.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 15

HMITalk1.DriverP2 = Indicates the initial long-integer address whose manual/live

status is to be set (starting at 5001 and up to 7000).

Set Multiple Manual/Live Status of Floating Point Variables

COMMAND DESCRIPTION:

This command allows the user to set the contents of multiple numeric

variables of type floating point (32-bits) in the addressed device.

The addressing allows up to 64 variables to be set at once.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Station Number (0-255)

HMITalk1.DriverP1 = 15

HMITalk1.DriverP2 = Indicates the initial floating-point address whose manual/live

status is to be set (starting at 7001 and up to 60000).

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

[1408] PROTOCOL (Format): Invalid amount of data bytes received

[1410] PROTOCOL (Format): Invalid device id in response

[1421] PROTOCOL (Format): Negative acknowledge received from device

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

[2184] CONFIG (NumValues): Too many values (max=124)

[2229] CONFIG (NumValues): Too many values (max=62)

[3014] CONFIG (P0): Invalid device address (0-255)

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

[3521] CONFIG (P1): Invalid command (1 or 7)

[3528] CONFIG (P1): Invalid command (3 only)

[3533] CONFIG (P1): Invalid command (5 or 15 only)

[3534] CONFIG (P1): Invalid command (6 or 16 only)

[3545] CONFIG (P1): Invalid command or too many values

[4010] CONFIG (P2): Invalid address (1001-60000)

[4101] CONFIG (P2): Invalid starting address (3001 to 60000)

[4110] CONFIG (P2): Invalid target address (1001 to 60000)

[4111] CONFIG (P2): Invalid target address (3001 to 60000)

[8013] CONFIG (Remote): Acknowledge

[8034] CONFIG (Remote): Busy (rejected message)

[8138] CONFIG (Remote): Failure in associated device

[8168] CONFIG (Remote): Illegal data address

[8170] CONFIG (Remote): Illegal data value

[8172] CONFIG (Remote): Illegal function

[8347] CONFIG (Remote): Unknown error

About the XMBENRON.tlk driver

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

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

Driver Reference Last Update: 10/30/2008 17:41:28

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

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

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