CPKSoft Engineering

XKOYO405.tlk Driver Reference

Koyo DL405 PLC Family Communications Driver

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

Driver Overview

XKOYO405 driver allows you to connect to KOYO Direct PLCs, Series 405,

using DirectNet (hexa-mode) protocol.

Supported Equipment Type

Programmable Logic Controllers

Supported Devices List

KOYO Direct Logic DL405 Series

KOYO Direct Logic DL430 PLC

KOYO Direct Logic DL440 PLC

Supported Commands List

Read Timer/Counter/Accumulator and V-Memory in Binary Mode

Read Remote Input/Xs/Cs/Ys and Stage Status in Binary Mode

Read Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in Binary Mode

Read Remote Inputs/Xs/Special Relay 1 and Special Relay 2 in Bit Mode

Read Ys/Cs/Stage Status and Timer/Counter Status in Bit Mode

Read Input/Output 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 in Bit Mode

Write Timer/Counter/Accumulator and V-Memory in Binary Mode

Write Remote Input/Xs/Cs/Ys and Stage Status in Binary Mode

Write Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in Binary Mode

Write Remote Inputs/Xs/Special Relay 1 and Special Relay 2 in Bit Mode

Write Ys/Cs/Stage Status and Timer/Counter Status in Bit Mode

Write Input/Output 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 in Bit Mode

Read Timer/Counter/Accumulator and V-Memory in BCD Mode

Read Remote Input/Xs/Cs/Ys and Stage Status in BCD Mode

Read Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in BCD Mode

Read Input/Output 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/Accumulator and V-Memory in BCD Mode

Write Remote Input/Xs/Cs/Ys and Stage Status in BCD Mode

Write Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in BCD Mode

Write Input/Output in Words and BCD Mode

Write Scratch Pad Memory in BCD Mode

Write Ladder Memory in BCD Mode

Write Communication Errors in BCD Mode

Equivalence with PLCs Series 305

Read Timer/Counter/Accumulator and V-Memory in Binary Mode

COMMAND DESCRIPTION:

Reads the timer/counter/accumulator and V-Memory values in

binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR : from 1 to 128 (V00000 to V00177)

- CNT : from 513 to 640 (V01000 to V01177)

- V Memory: from 769 to 4096 (V01400 to V07777)

HMITalk1.DriverP3 = 0

Read Remote Input/Xs/Cs/Ys and Stage Status in Binary Mode

COMMAND DESCRIPTION:

Reads the remote input/Xs/Cs/Ys and stage status values in

binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GX : from 16385 to 16416 (V40000 to V40037)

- X : from 16641 to 16660 (V40400 to V40423)

- Y : from 16705 to 16724 (V40500 to V40523)

- C : from 16769 to 16798 (V40600 to V40777)

- Stage Status: from 16897 to 16920 (V41000 to V41027)

HMITalk1.DriverP3 = 0

Read Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in Binary Mode

COMMAND DESCRIPTION:

Reads the timer status/counter status/special relay 1 and special relay 2

values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR Status : from 16961 to 16968 (V41100 to V41107)

- CNT Status : from 16993 to 17000 (V41140 to V41147)

- Spec.Relay 1: from 17025 to 17030 (V41200 to V41205)

- Spec.Relay 2: from 17039 to 17049 (V41215 to V41230)

HMITalk1.DriverP3 = 0

Read Remote Inputs/Xs/Special Relay 1 and Special Relay 2 in Bit Mode

COMMAND DESCRIPTION:

Reads the remote inputs/Xs/special relay 1 and special relay 2

values in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 50

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GX : from 1 to 64 (GX000 to GX777)

- X : from 257 to 296 (X000 to X477)

- Spec.Relay : from 385 to 434 (SP000 to SP617)

HMITalk1.DriverP3 = 0

Read Ys/Cs/Stage Status and Timer/Counter Status in Bit Mode

COMMAND DESCRIPTION:

Reads the Ys/Cs/stage status and timer/counter status values

in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GY : from 0 to 256 (GY0000 to GY3777)

- Y : from 257 to 296 (Y000 to Y477)

- C : from 385 to 444 (C000 to C737)

- Stage : from 641 to 688 (S000 to S577)

- Timer Status : from 769 to 784 (T000 to T177)

- Counter Status: from 833 to 848 (CT000 to CT177)

HMITalk1.DriverP3 = 0

Read Input/Output in Words and Binary Mode

COMMAND DESCRIPTION:

Reads the input/output values in word and binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Indicates the station number (1-223).

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 (1-223).

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 (1-223).

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 (1-223).

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Read Input/Output in Bit Mode

COMMAND DESCRIPTION:

Reads the input/output values in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 89

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/Accumulator and V-Memory in Binary Mode

COMMAND DESCRIPTION:

Writes the timer/counter/accumulator and V-Memory values in

binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR : from 1 to 128 (V00000 to V00177)

- CNT : from 513 to 640 (V01000 to V01177)

- V Memory: from 769 to 4096 (V01400 to V07777)

HMITalk1.DriverP3 = 0

Write Remote Input/Xs/Cs/Ys and Stage Status in Binary Mode

COMMAND DESCRIPTION:

Writes the remote input/Xs/Cs/Ys and stage status values in

binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GX : from 16385 to 16416 (V40000 to V40037)

- X : from 16641 to 16660 (V40400 to V40423)

- Y : from 16705 to 16724 (V40500 to V40523)

- C : from 16769 to 16798 (V40600 to V40777)

- Stage Status: from 16897 to 16920 (V41000 to V41027)

HMITalk1.DriverP3 = 0

Write Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in Binary Mode

COMMAND DESCRIPTION:

Writes the timer status/counter status/special relay 1 and special relay 2

values in binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR Status : from 16961 to 16968 (V41100 to V41107)

- CNT Status : from 16993 to 17000 (V41140 to V41147)

- Spec.Relay 1: from 17025 to 17030 (V41200 to V41205)

- Spec.Relay 2: from 17039 to 17049 (V41215 to V41230)

HMITalk1.DriverP3 = 0

Write Remote Inputs/Xs/Special Relay 1 and Special Relay 2 in Bit Mode

COMMAND DESCRIPTION:

Writes the remote inputs/Xs/special relay 1 and special relay 2

values in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 50

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GX : from 1 to 64 (GX000 to GX777)

- X : from 257 to 296 (X000 to X477)

- Spec.Relay : from 385 to 434 (SP000 to SP617)

HMITalk1.DriverP3 = 0

Write Ys/Cs/Stage Status and Timer/Counter Status in Bit Mode

COMMAND DESCRIPTION:

Writes the Ys/Cs/stage status and timer/counter status values

in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 51

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GY : from 0 to 256 (GY0000 to GY3777)

- Y : from 257 to 296 (Y000 to Y477)

- C : from 385 to 444 (C000 to C737)

- Stage : from 641 to 688 (S000 to S577)

- Timer Status : from 769 to 784 (T000 to T177)

- Counter Status: from 833 to 848 (CT000 to CT177)

HMITalk1.DriverP3 = 0

Write Input/Output and Binary Mode

COMMAND DESCRIPTION:

Writes the input/output values in word and binary mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

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 (1-223).

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 (1-223).

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 (1-223).

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 0

Write Input/Output in Bit Mode

COMMAND DESCRIPTION:

Writes the input/output values in bit mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Digital Output

HMITalk1.DriverNumPoints = 1-8

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 89

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/Accumulator and V-Memory in BCD Mode

COMMAND DESCRIPTION:

Reads the timer/counter/accumulator and V-Memory values in

BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR : from 1 to 128 (V00000 to V00177)

- CNT : from 513 to 640 (V01000 to V01177)

- V Memory: from 769 to 4096 (V01400 to V07777)

HMITalk1.DriverP3 = 1

Read Remote Input/Xs/Cs/Ys and Stage Status in BCD Mode

COMMAND DESCRIPTION:

Reads the remote input/Xs/Cs/Ys and stage status values in

BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GX : from 16385 to 16416 (V40000 to V40037)

- X : from 16641 to 16660 (V40400 to V40423)

- Y : from 16705 to 16724 (V40500 to V40523)

- C : from 16769 to 16798 (V40600 to V40777)

- Stage Status: from 16897 to 16920 (V41000 to V41027)

HMITalk1.DriverP3 = 1

Read Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in BCD Mode

COMMAND DESCRIPTION:

Reads the timer status/counter status/special relay 1 and special relay 2

values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-128

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR Status : from 16961 to 16968 (V41100 to V41107)

- CNT Status : from 16993 to 17000 (V41140 to V41147)

- Spec.Relay 1: from 17025 to 17030 (V41200 to V41205)

- Spec.Relay 2: from 17039 to 17049 (V41215 to V41230)

HMITalk1.DriverP3 = 1

Read Input/Output in Words and BCD Mode

COMMAND DESCRIPTION:

Reads the input/output values in word and BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Input

HMITalk1.DriverNumPoints = 1-250

HMITalk1.DriverP0 = Indicates the station number (1-223).

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 (1-223).

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 (1-223).

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 (1-223).

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Write Timer/Counter/Accumulator and V-Memory in BCD Mode

COMMAND DESCRIPTION:

Writes the timer/counter/accumulator and V-Memory values in

BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR : from 1 to 128 (V00000 to V00177)

- CNT : from 513 to 640 (V01000 to V01177)

- V Memory: from 769 to 4096 (V01400 to V07777)

HMITalk1.DriverP3 = 1

Write Remote Input/Xs/Cs/Ys and Stage Status in BCD Mode

COMMAND DESCRIPTION:

Writes the remote input/Xs/Cs/Ys and stage status values in

BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- GX : from 16385 to 16416 (V40000 to V40037)

- X : from 16641 to 16660 (V40400 to V40423)

- Y : from 16705 to 16724 (V40500 to V40523)

- C : from 16769 to 16798 (V40600 to V40777)

- Stage Status: from 16897 to 16920 (V41000 to V41027)

HMITalk1.DriverP3 = 1

Write Timer Status/Counter Status/Special Relay 1 and Special Relay 2 in BCD Mode

COMMAND DESCRIPTION:

Writes the timer status/counter status/special relay 1 and special relay 2

values in BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

HMITalk1.DriverP1 = 49

HMITalk1.DriverP2 = Start address.

In this case HMITalk1.DriverP2 must have a value according to:

- TMR Status : from 16961 to 16968 (V41100 to V41107)

- CNT Status : from 16993 to 17000 (V41140 to V41147)

- Spec.Relay 1: from 17025 to 17030 (V41200 to V41205)

- Spec.Relay 2: from 17039 to 17049 (V41215 to V41230)

HMITalk1.DriverP3 = 1

Write Input/Output in Words and BCD Mode

COMMAND DESCRIPTION:

Writes the input/output values in word and BCD mode.

 

PROPERTY SETTINGS REQUIRED:

HMITalk1.DriverDataType = Analog Output

HMITalk1.DriverNumPoints = 1-125

HMITalk1.DriverP0 = Indicates the station number (1-223).

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 (1-223).

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 (1-223).

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 (1-223).

HMITalk1.DriverP1 = 57

HMITalk1.DriverP2 = Start address.

HMITalk1.DriverP3 = 1

Equivalence with PLCs Series 305

(allows you to set combined networks)

Commands with HMITalk1.DriverP1 = 49:

Series 305 Series 405

---------- ----------

R600 to R677 V000 to V077

R400 to R577 V100 to V177

 

Two PLC 305 Data Register bytes correspond to one PLC 405 word

in the V-Memory.

Example: V100 corresponds to R401 (MSB), R400 (LSB)

 

Commands with HMITalk1.DriverP1 = 51: See Host-Link Protocol Manual 4-12, 4-13 y 4-14.

Returned Errors List

[1005] DRIVER (Internal): Invalid driver stage

[1300] PROTOCOL (Timeout): No answer

[1404] PROTOCOL (Format): Error receiving acknowledge

[1405] PROTOCOL (Format): Error receiving expected EOT

[1406] PROTOCOL (Format): Error receiving first acknowledge

[1407] PROTOCOL (Format): Error receiving header acknowledge

[1420] PROTOCOL (Format): NAK or EOT received from device

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

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

[2186] CONFIG (NumValues): Too many values (max=128)

[2203] CONFIG (NumValues): Too many values (max=250)

[2235] CONFIG (NumValues): Too many values (max=8)

[3020] CONFIG (P0): Invalid device address (1-223)

[3508] CONFIG (P1): Invalid command

[4099] CONFIG (P2): Invalid start address

[4543] CONFIG (P3): Invalid mode

About the XKOYO405.tlk driver

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

Driver Source Code Last Update: 08/11/2005 16:01:48

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

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

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

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