CPKSoft Engineering

XKOYO305.tlk Driver Reference

Koyo DL305 PLC Family Communications Driver

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

Driver Overview

XKOYO305 driver allows you to connect to KOYO Direct PLCs, Series 305,

using DirectNet (hexa-mode) protocol.

Supported Equipment Type

Programmable Logic Controllers

Supported Devices List

KOYO Direct Logic DL305 Series

KOYO Direct Logic DL330 PLC

KOYO Direct Logic DL330P PLC

KOYO Direct Logic DL340 PLC

Supported Commands List

Read Timer/Counter/Data Registers in Binary Mode

Read Input/Output, Internal Relays and Shift Register Bits in Words and Binary Mode

Read Scratch Pad Memory in Binary Mode

Read Ladder Memory in Binary Mode

Read Communication Errors in Binary Mode

Read Input/Output, Internal Relays and Shift Register Bits in Bit Mode

Write Timer/Counter/Data Registers in Binary Mode

Write Input/Output, Internal Relays and Shift Register Bits in Words and Binary Mode

Write Scratch Pad Memory in Binary Mode

Write Ladder Memory in Binary Mode

Write Communication Errors in Binary Mode

Write Input/Output, Internal Relays and Shift Register Bits in Bit Mode

Read Timer/Counter/Data Registers in BCD Mode

Read Input/Output, Internal Relays and Shift Register Bits in Words and BCD Mode

Read Scratch Pad Memory in BCD Mode

Read Ladder Memory in BCD Mode

Read Communication Errors in BCD Mode

Write Timer/Counter/Data Registers in BCD Mode

Write Input/Output, Internal Relays and Shift Register Bits in Words and BCD Mode

Write Scratch Pad Memory in BCD Mode

Write Ladder Memory in BCD Mode

Write Communication Errors in BCD Mode

Read Timer/Counter/Data Registers in Binary Mode

COMMAND DESCRIPTION:

Reads the timer/counter/data registers values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case, HMITalk1.DriverP2 must have a value from 1 to 64 (dec.) to

access PLC records 600 to 677 (octal), and a value from

65 to 128 (dec.) to access PLC records 400 to 577 (octal).

HMITalk1.DriverP3 = 0

Read Input/Output, Internal Relays and Shift Register Bits in Words and Binary Mode

COMMAND DESCRIPTION:

Reads the input/output, internal relays and shift register bits

values in word and binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP2 must have the 8 bit- "package number" accessed, where:

HMITalk1.DriverP2 = (n/8)+1 , where "n" is the I/O bit number (decimal)

which heads each PLC group of 8 bits.

For example: for the group of I/O bits from 136 to 143 (dec.):

HMITalk1.DriverP2 = (136/8)+1=18

HMITalk1.DriverP3 = 0

Read Scratch Pad Memory in Binary Mode

COMMAND DESCRIPTION:

Reads the scratch pad memory values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 54

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Read Ladder Memory in Binary Mode

COMMAND DESCRIPTION:

Reads the ladder memory values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 55

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Read Communication Errors in Binary Mode

COMMAND DESCRIPTION:

Reads the communication errors values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Read Input/Output, Internal Relays and Shift Register Bits in Bit Mode

COMMAND DESCRIPTION:

Reads the input/output, internal relays and shift register bits

values in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP2 must have the 8 bit- "package number" accessed, where:

HMITalk1.DriverP2 = (n/8)+1 , where "n" is the I/O bit number (decimal)

which heads each PLC group of 8 bits.

For example: for the group of I/O bits from 136 to 143 (dec.):

HMITalk1.DriverP2 = (136/8)+1=18

HMITalk1.DriverP3 = 0

Write Timer/Counter/Data Registers in Binary Mode

COMMAND DESCRIPTION:

Writes the timer/counter/data registers values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case, HMITalk1.DriverP2 must have a value from 1 to 64 (dec.) to

access PLC records 600 to 677 (octal), and a value from

65 to 128 (dec.) to access PLC records 400 to 577 (octal).

HMITalk1.DriverP3 = 0

Write Input/Output, Internal Relays and Shift Register Bits in Words and Binary Mode

COMMAND DESCRIPTION:

Writes the input/output, internal relays and shift register bits

values in word and binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP2 must have the 8 bit- "package number" accessed, where:

HMITalk1.DriverP2 = (n/8)+1 , where "n" is the I/O bit number (decimal)

which heads each PLC group of 8 bits.

For example: for the group of I/O bits from 136 to 143 (dec.):

HMITalk1.DriverP2 = (136/8)+1=18

HMITalk1.DriverP3 = 0

Write Scratch Pad Memory in Binary Mode

COMMAND DESCRIPTION:

Writes the scratch pad memory values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 54

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Write Ladder Memory in Binary Mode

COMMAND DESCRIPTION:

Writes the ladder memory values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 55

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Write Communication Errors in Binary Mode

COMMAND DESCRIPTION:

Writes the communication errors values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Write Input/Output, Internal Relays and Shift Register Bits in Bit Mode

COMMAND DESCRIPTION:

Writes the input/output, internal relays and shift register bits

values in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP2 must have the 8 bit- "package number" accessed, where:

HMITalk1.DriverP2 = (n/8)+1 , where "n" is the I/O bit number (decimal)

which heads each PLC group of 8 bits.

For example: for the group of I/O bits from 136 to 143 (dec.):

HMITalk1.DriverP2 = (136/8)+1=18

HMITalk1.DriverP3 = 0

Read Timer/Counter/Data Registers in BCD Mode

COMMAND DESCRIPTION:

Reads the timer/counter/data registers values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case, HMITalk1.DriverP2 must have a value from 1 to 64 (dec.) to

access PLC records 600 to 677 (octal), and a value from

65 to 128 (dec.) to access PLC records 400 to 577 (octal).

HMITalk1.DriverP3 = 1

Read Input/Output, Internal Relays and Shift Register Bits in Words and BCD Mode

COMMAND DESCRIPTION:

Reads the input/output, internal relays and shift register bits

values in word and BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP2 must have the 8 bit- "package number" accessed, where:

HMITalk1.DriverP2 = (n/8)+1 , where "n" is the I/O bit number (decimal)

which heads each PLC group of 8 bits.

For example: for the group of I/O bits from 136 to 143 (dec.):

HMITalk1.DriverP2 = (136/8)+1=18

HMITalk1.DriverP3 = 1

Read Scratch Pad Memory in BCD Mode

COMMAND DESCRIPTION:

Reads the scratch pad memory values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 54

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Read Ladder Memory in BCD Mode

COMMAND DESCRIPTION:

Reads the ladder memory values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 55

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Read Communication Errors in BCD Mode

COMMAND DESCRIPTION:

Reads the communication errors values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Write Timer/Counter/Data Registers in BCD Mode

COMMAND DESCRIPTION:

Writes the timer/counter/data registers values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case, HMITalk1.DriverP2 must have a value from 1 to 64 (dec.) to

access PLC records 600 to 677 (octal), and a value from

65 to 128 (dec.) to access PLC records 400 to 577 (octal).

HMITalk1.DriverP3 = 1

Write Input/Output, Internal Relays and Shift Register Bits in Words and BCD Mode

COMMAND DESCRIPTION:

Writes the input/output, internal relays and shift register bits

values in word and BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP2 must have the 8 bit- "package number" accessed, where:

HMITalk1.DriverP2 = (n/8)+1 , where "n" is the I/O bit number (decimal)

which heads each PLC group of 8 bits.

For example: for the group of I/O bits from 136 to 143 (dec.):

HMITalk1.DriverP2 = (136/8)+1=18

HMITalk1.DriverP3 = 1

Write Scratch Pad Memory in BCD Mode

COMMAND DESCRIPTION:

Writes the scratch pad memory values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 54

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Write Ladder Memory in BCD Mode

COMMAND DESCRIPTION:

Writes the ladder memory values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 55

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Write Communication Errors in BCD Mode

COMMAND DESCRIPTION:

Writes the communication errors values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (0-90). If HMITalk1.DriverP0 = 0 then

the connection is point-to-point.

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

About the XKOYO305.tlk driver

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

Driver Source Code Last Update: 10/05/2000 17:39:54

Driver Reference Last Update: 10/30/2008 17:40:39

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

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

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