CPKSoft Engineering

XEXEMYS.tlk Driver Reference

Exemys SSE232 Serial/Ethernet Converter I/O Driver

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

Driver Overview

The XEXEMYS driver allows you to configure, supervise and control

the RS-232/422/485 to Ethernet converters from Exemys using a

TCP/IP link.

 

Configuration commands must be sent to the Remote Configuration

Console port (998 by default for this converter).

 

Supervision and Control commands must be sent to the I/O Control

port (999 by default for this converter).

Supported Equipment Type

Serial/Ethernet Converters

Supported Devices List

EXEMYS SSE232 Serial/Ethernet Converters

Supported Commands List

Configuration Commands:

Set Password

Enable Web Configuration

Reset to Manufacturer's Configuration

Reset Converter

Set COM Baud Rate

Set COM Parity

Set COM DataBits

Set COM Flow Control

Set COM Window of Time

Set COM End Character

Set Automatic Reset

Set COM Mode

Set Client Port

Set Inactivity Timeout

Set Server IP

Set Server Port

Set Protocol

 

Supervision and Control Commands:

Read Connection Status

Reset COM Channel

Read All Input Status

Read Single Input Status

Set Output

Configuration Commands : Set Password

COMMAND DESCRIPTION:

Changes the password for remote configuration. If a password not

null is set, all future configuration commands will have to

provide this password. The password must not have more than

10 characters.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 0

HMITalk1.DriverP6 = New password. Leave empty for null password.

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Enable Web Configuration

COMMAND DESCRIPTION:

Enables or disables configuration through web page.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 1

HMITalk1.DriverP1 = 0 to disable, 1 to enable.

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Reset to Manufacturer's Configuration

COMMAND DESCRIPTION:

Resets the converter to its original manufacturer's configuration.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 2

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

 

NOTE:

This command must be executed twice to actually reset the converter.

Configuration Commands : Reset Converter

COMMAND DESCRIPTION:

Resets the converter, closing all active connections and returning

it to its initial status.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 3

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

 

NOTE:

This command must be executed twice to actually reset the converter.

Configuration Commands : Set COM Baud Rate

COMMAND DESCRIPTION:

Sets the baud rate parameter of the selected COM port

in the converter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 4

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Baud Rate (300, 600, 1200, 2400, 4800,

9600, 19200, 28800, 33600, 38400 and 57600).

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

Configuration Commands : Set COM Parity

COMMAND DESCRIPTION:

Sets the parity to be used by the selected COM port

in the converter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 5

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Parity:

0 = NONE

1 = EVEN

2 = ODD

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

Configuration Commands : Set COM DataBits

COMMAND DESCRIPTION:

Sets the number of data bits of the selected COM port

in the converter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 6

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Data bits (7 or 8).

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

Configuration Commands : Set COM Flow Control

COMMAND DESCRIPTION:

Sets the flow control mode of the selected COM port

in the converter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 7

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Flow Control mode:

0 = RS-232 without flow control

1 = RS-232 with flow control

2 = RS-485 (only SSE232-1C43)

3 = RS-422 (only SSE232-1C43)

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

Configuration Commands : Set COM Window of Time

COMMAND DESCRIPTION:

Sets the window of time for the selected COM port

in the converter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 8

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Window of time in ms (0 to 2000).

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

Configuration Commands : Set COM End Character

COMMAND DESCRIPTION:

Sets the end character for the selected COM port

in the converter.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 9

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = ASCII code for end character (0 to 255), or use -1 for NONE.

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

Configuration Commands : Set Automatic Reset

COMMAND DESCRIPTION:

Configures the automatic reset option for channels in server mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 10

HMITalk1.DriverP1 = 0 to disable, 1 to enable.

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Set COM Mode

COMMAND DESCRIPTION:

Configures the COM mode as client or server.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 11

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = 0 for server, 1 for client.

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Set Client Port

COMMAND DESCRIPTION:

Sets the port in which the client's connection is waited.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 12

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Client Port number (1-65535).

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Set Inactivity Timeout

COMMAND DESCRIPTION:

Sets the maximum time of inactivity allowed to the connection

corresponding to the selected COM, after which the connection

is terminated and the device returns to client waiting mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 13

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Maximum time, in minutes (0-10000).

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Set Server IP

COMMAND DESCRIPTION:

Sets the server IP address to which the selected COM will connect.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 14

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP6 = IP address (aaa.bbb.ccc.ddd).

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Set Server Port

COMMAND DESCRIPTION:

Sets the server port to which the selected COM will connect.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 15

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

HMITalk1.DriverP2 = Server Port number (1-65535).

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Configuration Commands : Set Protocol

COMMAND DESCRIPTION:

Configures the network protocol (TCP/UDP) for all channels.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 16

HMITalk1.DriverP1 = Protocol:

0 = TCP

1 = UDP

HMITalk1.DriverP9 = Current password. Leave empty if password is null.

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

 

Supervision and Control Commands : Read Connection Status

COMMAND DESCRIPTION:

Reads the connection status (connected or disconnected) of

the sockets of all the channels (COM) available according

to the converter model.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-4

HMITalk1.DriverP0 = 20

 

RETURNS:

- HMITalk1.PointValue(0) = Status of first channel COM A (0 or 1).

- HMITalk1.PointValue(1) = Status of second channel COM B, if available (0 or 1).

- HMITalk1.PointValue(2) = Status of third channel COM C, if available (0 or 1).

- HMITalk1.PointValue(3) = Status of fourth channel COM D, if available (0 or 1).

 

NOTE:

0 = Disconnected

1 = Connected

Supervision and Control Commands : Reset COM Channel

COMMAND DESCRIPTION:

Resets the socket of selected channel or COM. The channel must

be available in the addressed converter model.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 20

HMITalk1.DriverP1 = COM port:

0 = COM A

1 = COM B

2 = COM C

3 = COM D

 

WHERE:

- HMITalk1.PointValue(0) = Not used.

Supervision and Control Commands : Read All Input Status

COMMAND DESCRIPTION:

Reads the status (High or Low) of all the inputs available

in the addressed converter model.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = 21

 

RETURNS:

- HMITalk1.PointValue(0) = Status of first input (0 or 1).

.

.

.

- HMITalk1.PointValue(N-1) = Status of last input (0 or 1).

 

NOTE:

0 = Status is Low

1 = Status is High

Supervision and Control Commands : Read Single Input Status

COMMAND DESCRIPTION:

Reads the status (High or Low) of a specific input. The input

must be available in the addressed converter model.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 22

HMITalk1.DriverP1 = Index of input to be read (0-7).

 

RETURNS:

- HMITalk1.PointValue(0) = Status of input (0 or 1).

 

NOTE:

0 = Status is Low

1 = Status is High

Supervision and Control Commands : Set Output

COMMAND DESCRIPTION:

Changes the status of the selected output. The output

must be available in the addressed converter model.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = 21

HMITalk1.DriverP1 = Index of output to be set (0-7).

 

WHERE:

- HMITalk1.PointValue(0) = New output status (0 or 1).

 

NOTE:

0 = Status is Low

1 = Status is High

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

[2000] CONFIG (DataType): Analog inputs are not supported by this driver

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

[2106] CONFIG (NumValues): Invalid number of channels (max=4)

[2278] CONFIG (NumValues): Too many inputs requested

[2279] CONFIG (NumValues): Only one input can be requested

[3584] CONFIG (P1): Invalid setting

[3585] CONFIG (P1): Invalid COM

[3586] CONFIG (P1): Invalid input index

[3587] CONFIG (P1): Invalid output index

[4132] CONFIG (P2): Invalid setting

[6008] CONFIG (P6): Invalid Address

[7505] CONFIG (P9): Password not null is expected

[8119] CONFIG (Remote): Error executing command

About the XEXEMYS.tlk driver

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

Driver Source Code Last Update: 04/15/2004 12:31:28

Driver Reference Last Update: 10/30/2008 17:37:25

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

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

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