CPKSoft Engineering

XARCOMA.tlk Driver Reference

Arcom M1 Modbus Ascii Protocol Driver

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

Driver Overview

XARCOMA driver allows you to connect with ARCOM CONTROL SYSTEMS model

M1 Mini RTU using the Gould Modicon MODBUS ASCII Protocol.

Supported Equipment Type

Remote Terminal Units

Supported Devices List

ARCOM CONTROL SYSTEMS M1-Mini-RTU

Supported Commands List

Read Coil Status

Read Input Status

Read Holding Registers as Unsigned

Read Input Registers as Unsigned

Read Holding Registers as Signed

Read Input Registers as Signed

Force Single Coil

Preset Single Register

Force Multiple Coils

Preset Multiple Registers

Read Holding Registers reading 8 of each 16 bits

Preset Multiple Registers as IEEE floats

Read Holding Registers skipping 2 bytes

Read Holding Registers as IEEE floats

Read Holding Registers as IEEE floats skipping 2 bytes

Read Holding Registers as inverted IEEE floats

Read Holding Registers as inverted IEEE floats skipping 2 bytes

Preset Single/Multiple Registers as IEEE floats

Preset Single/Multiple Registers as IEEE floats skipping 2 bytes

Preset Single/Multiple Registers as inverted IEEE floats

Preset Single/Multiple Registers as inverted IEEE floats skipping 2 bytes

Read Holding Registers as Signed 32 Bits Integer

Read Holding Registers as Unsigned 32 Bits Integer

Preset Multiple Registers as Signed 32 Bits Integer

Preset Multiple Registers as Unsigned 32 Bits Integer

Read Coil Status

COMMAND DESCRIPTION:

Obtains current status (ON/OFF) in a group of logic coils.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250. It is convenient to handle groups in multiples

of 8 elements.

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Input Status

COMMAND DESCRIPTION:

Obtains current status (ON/OFF) in a group of discrete inputs.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250. It is convenient to handle groups in multiples

of 8 elements.

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 2

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as Unsigned

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

as unsigned 2-bytes integer numbers from 0 to 65535.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 3

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Input Registers as Unsigned

COMMAND DESCRIPTION:

Obtains current values in one or more input registers

as unsigned 2-bytes integer numbers from 0 to 65535.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 4

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as Signed

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

as signed 2-bytes integers numbers from -32768 to 32767.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 74

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Input Registers as Signed

COMMAND DESCRIPTION:

Obtains current values in one or more input registers

as signed 2-bytes integers numbers from -32768 to 32767.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 79

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Force Single Coil

COMMAND DESCRIPTION:

Forces a single logic coil to a state ON or OFF.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Single Register

COMMAND DESCRIPTION:

Places a specified value into a holding register as

an unsigned 2-bytes integer value.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 6

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Force Multiple Coils

COMMAND DESCRIPTION:

Forces a series of consecutive logic coils to selected ON

or OFF states.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-125. It is convenient to handle groups multiple

of 8 elements.

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 15

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Multiple Registers

COMMAND DESCRIPTION:

Places specified values into a series of consecutive

holding registers, as unsigned 2-bytes integer values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 16

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers reading 8 of each 16 bits

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

reading 8 bits out of every 16 bits, as unsigned 2-bytes

integer values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250. It is convenient to handle groups in multiples

of 8 elements.

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = -3

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Multiple Registers as IEEE floats

COMMAND DESCRIPTION:

Places specified values into a series of consecutive

holding registers, as 4-bytes IEEE floating point values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = -16

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers skipping 2 bytes

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

skipping 2 bytes between every data read (starts skipping 2),

as unsigned 2-bytes integer values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 65

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as IEEE floats

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers,

as 4-bytes IEEE floating point values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 66

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as IEEE floats skipping 2 bytes

COMMAND DESCRIPTION:

Obtains current binary value in one or more holding registers

skipping 2 bytes between every data read (starts skipping 2),

as 4-bytes IEEE floating point values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 67

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as inverted IEEE floats

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

as 4-bytes inverted IEEE floating point values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 68

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as inverted IEEE floats skipping 2 bytes

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

as 4-bytes inverted IEEE floating point values and skipping

2 bytes between every data read (starts skipping 2).

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 69

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Single/Multiple Registers as IEEE floats

COMMAND DESCRIPTION:

Places specified values into a series of consecutive

holding registers as 4-bytes IEEE floating point values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 70

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Single/Multiple Registers as IEEE floats skipping 2 bytes

COMMAND DESCRIPTION:

Places specified values into a series of consecutive

holding registers as 4-bytes IEEE floating point values and

skipping 2 bytes between every data read (starts skipping 2).

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 71

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Single/Multiple Registers as inverted IEEE floats

COMMAND DESCRIPTION:

Places specified values in inverse mode into a series

of consecutive holding registers as 4-bytes inverted

IEEE floating point values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 72

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Single/Multiple Registers as inverted IEEE floats skipping 2 bytes

COMMAND DESCRIPTION:

Places specified values in inverse mode into a series of

consecutive holding registers as 4-bytes inverted IEEE floating

point values and skipping 2 bytes between every data read

(starts skipping 2).

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 73

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as Signed 32 Bits Integer

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

as signed 4-bytes integer numbers.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 75

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Read Holding Registers as Unsigned 32 Bits Integer

COMMAND DESCRIPTION:

Obtains current values in one or more holding registers

as unsigned 4-bytes integer numbers.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 76

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Multiple Registers as Signed 32 Bits Integer

COMMAND DESCRIPTION:

Places specified values into a series of consecutive

holding registers, as signed 4-bytes integer values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 77

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

Preset Multiple Registers as Unsigned 32 Bits Integer

COMMAND DESCRIPTION:

Places specified values into a series of consecutive

holding registers, as unsigned 4-bytes integer values.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-62

HMITalk1.DriverP0 = Station Number (0-255). If the station is 0 this implies a

broadcasting message, only valid to send outputs.

HMITalk1.DriverP1 = 78

HMITalk1.DriverP2 = Indicates the memory address of the selected element.

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

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

[2185] CONFIG (NumValues): Too many values (max=125)

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

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

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

[3508] CONFIG (P1): Invalid command

[4001] CONFIG (P2): Invalid address

[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 XARCOMA.tlk driver

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

Driver Source Code Last Update: 05/06/2004 11:58:56

Driver Reference Last Update: 10/30/2008 17:33:32

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

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

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