CPKSoft Engineering

XOMRON.tlk Driver Reference

Omron Sysmac C20H/C28H/C40H Protocol Driver

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

Driver Overview

XOMRON allows you to connect to the OMRON programmable controllers

which use the Host Link System communications protocol for the

models SYSMAC C20H, C28H, C40H and C60H.

Supported Equipment Type

Programmable Logic Controllers

Supported Devices List

OMRON PLC model SYSMAC C20H

OMRON PLC model SYSMAC C28H

OMRON PLC model SYSMAC C40H

OMRON PLC model SYSMAC C60H

OMRON PLC model CPM1A

OMRON PLC model SRM1

OMRON PLC model CQM1

OMRON PLC model C200HX/G/E

OMRON PLC model CVM1/CPU01

OMRON PLC model CVM1/CPU11

OMRON PLC model CVM1/CPU21

OMRON Panel Indicator K3TS

Supported Commands List

IR Area Read

HR Area Read

RJ Area Read

RL Area Read

RD Area Read

RC Area Read

SV Read 1

TC Status Read

IR Area Write

HR Area Write

AR Area Write

LR Area Write

DM Area Write

PV Write

SV Change 1

TC Status Write

K3TS Read Set Value

K3TS Read Hold Data

K3TS Read Display Value (PV)

K3TS Write Set Value

IR Area Read

COMMAND DESCRIPTION:

Reads the contents of the specified number of IR words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 0

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be read.

HR Area Read

COMMAND DESCRIPTION:

Reads the contents of the specified number of HR words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 1

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be read.

RJ Area Read

COMMAND DESCRIPTION:

Reads the contents of the specified number of RJ words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 2

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be read.

RL Area Read

COMMAND DESCRIPTION:

Reads the contents of the specified number of RL words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 3

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be read.

RD Area Read

COMMAND DESCRIPTION:

Reads the contents of the specified number of RD words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 4

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be read.

RC Area Read

COMMAND DESCRIPTION:

Reads the contents of the specified number of RC words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 5

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be read.

SV Read 1

COMMAND DESCRIPTION:

Reads the contents of the specified number of SV 1 words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = Analog Input:1 DI:1-16

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 6

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the TC type.

- 0 = For TIM

- 1 = For TIMH

- 2 = For CNT

- 3 = For CNTR

HMITalk1.DriverP4 = Number (0 to 47).

TC Status Read

COMMAND DESCRIPTION:

Reads the contents of the specified number of TC Status.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 7

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be read.

IR Area Write

COMMAND DESCRIPTION:

Writes the contents of the specified number of IR words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 10

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be written.

HR Area Write

COMMAND DESCRIPTION:

Writes the contents of the specified number of HR words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 11

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be written.

AR Area Write

COMMAND DESCRIPTION:

Writes the contents of the specified number of AR words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 12

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be written.

LR Area Write

COMMAND DESCRIPTION:

Writes the contents of the specified number of LR words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 13

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be written.

DM Area Write

COMMAND DESCRIPTION:

Writes the contents of the specified number of DM words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 14

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be written.

PV Write

COMMAND DESCRIPTION:

Writes the contents of the specified number of PV words.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 15

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be written.

SV Change 1

COMMAND DESCRIPTION:

Writes the contents of the specified number of SV Change 1.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 16

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the TC type.

- 0 = For TIM

- 1 = For TIMH

- 2 = For CNT

- 3 = For CNTR

HMITalk1.DriverP4 = Number (0 to 511).

TC Status Write

COMMAND DESCRIPTION:

Writes the contents of the specified number of TC status.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output / Digital Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 17

HMITalk1.DriverP2 = Indicates the type of read.

- 0 = Reads information in word mode. In the event

of using it from DI, it it will return 1 if

the value is higher than 0 and 0 is less than

or equal to 0.

- 1..16 = Number of bit (0-15) wherefrom the value returned

by the PLC is read. For the case of outputs,

indicates the number of bit to be modified.

It will write 1 if the value to be written

is higher than 0 and 0 if less than or equal

to 0.

HMITalk1.DriverP3 = Defines the address of data to be written.

K3TS Read Set Value

COMMAND DESCRIPTION:

Reads the set value information from K3TS.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 20

HMITalk1.DriverP2 = Defines the element to read.

- 0 = For LL set value data.

- 1 = For L set value data.

- 2 = For H set value data.

- 3 = For HH set value data.

K3TS Read Hold Data

COMMAND DESCRIPTION:

Reads the contents of the hold data.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-2

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 21

HMITalk1.DriverP2 = Indicates the element to read.

- 0 = For maximun hold value.

- 1 = For minimun hold value.

 

RETURNS:

- HMITalk1.PointValue(0) = Requested Value.

- HMITalk1.PointValue(1) = Status Data

- 1 = For Overflow.

- 2 = For Underflow.

- 4 = For Sensor failure.

- 8 = For Zero-shift.

- 16 = For Hold input now ON.

- 32 = For Bank 1.

- 64 = For Bank 2.

- 128 = For Bank 4.

K3TS Read Display Value (PV)

COMMAND DESCRIPTION:

Reads the contents of the display value.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input / Digital Input

HMITalk1.DriverNumPoints = 1-2

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 22

 

RETURNS:

- HMITalk1.PointValue(0) = Requested Value.

- HMITalk1.PointValue(1) = Status Data

- 1 (bit 0) = For Overflow.

- 2 (bit 1) = For Underflow.

- 4 (bit 2) = For Sensor failure.

- 8 (bit 3) = For Forced zero.

- 16 (bit 4) = For Hold mode.

- 32 (bit 5) = For Bank 1.

- 64 (bit 6) = For Bank 2.

- 128 (bit 7) = For Bank 4.

- 256 (bit 8) = For LL comparative output.

- 512 (bit 9) = For L comparative output.

- 1024 (bit 10) = For H comparative output.

- 2048 (bit 11) = For HH comparative output.

- 4096 (bit 12) = For PASS output.

- 8192 (bit 13) = For In test mode.

K3TS Write Set Value

COMMAND DESCRIPTION:

Writes the set value.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1

HMITalk1.DriverP0 = Identifies the controller's station number (00-31).

HMITalk1.DriverP1 = 30

HMITalk1.DriverP2 = Indicates the element to write.

- 0 = For LL set value data.

- 1 = For L set value data.

- 2 = For H set value data.

- 3 = For HH set value data.

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

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

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

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

[2194] CONFIG (NumValues): Too many values (max=2)

[3007] CONFIG (P0): Invalid device address

[3508] CONFIG (P1): Invalid command

[4072] CONFIG (P2): Invalid mode

[4074] CONFIG (P2): Invalid mode (0-3)

[4115] CONFIG (P2): Invalid type (0-2)

[4116] CONFIG (P2): Invalid type (0-3)

[4573] CONFIG (P3): Invalid TC type (0-3)

[5018] CONFIG (P4): Invalid number (0-47)

[5019] CONFIG (P4): Invalid number (0-511)

[8004] CONFIG (Remote): Aborted due to entry number data error in transmit data

[8005] CONFIG (Remote): Aborted due to format error in transmit data

[8006] CONFIG (Remote): Aborted due to frame length error in transmit data

[8007] CONFIG (Remote): Aborted due to framing error in transmit data

[8008] CONFIG (Remote): Aborted due to overrun in transmit data

[8009] CONFIG (Remote): Aborted due to parity error in transmit data

[8021] CONFIG (Remote): Address over (data overflow)

[8114] CONFIG (Remote): Entry number data error

[8144] CONFIG (Remote): Format error (parameter length error)

[8146] CONFIG (Remote): Frame checksum error (FCS)

[8148] CONFIG (Remote): Frame length error

[8150] CONFIG (Remote): Framing Error

[8186] CONFIG (Remote): Instruction not found

[8224] CONFIG (Remote): No memory unit mounted

[8231] CONFIG (Remote): Not executable

[8232] CONFIG (Remote): Not executable in MONITOR mode

[8233] CONFIG (Remote): Not executable in PROGRAM mode

[8234] CONFIG (Remote): Not executable in RUN mode

[8235] CONFIG (Remote): Not executable with PROM mounted

[8256] CONFIG (Remote): Overrun error

[8259] CONFIG (Remote): Parity error

[8270] CONFIG (Remote): Probably produced by noise

[8359] CONFIG (Remote): User memory is write protected

About the XOMRON.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:43:00

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

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

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