DanLoad6000 driver implements communication with Daniel Measurement and Control on TCP/IP or serial networks. The communications blocks are dynamically created according the pooling cycle defined on the AccessType for each Device Point.

Refer to the User Guide for more information on the  Device Module.

On this page:


Summary

Communication Driver Information

Driver name

DanLoad6000

Assembly Name

T.ProtocolDriver.DanLoad6000

Assembly Version

1.0.2.0

Available for Linux

False

Interface 

TCP/IP, Serial and MultiSerial

PLC types supported 

Any PLC compatible with DanLoad6000 Protocol

Multi-threading

User configurable

Max number of nodes

User defined

PC Hardware requirements

Standard PC Ethernet interface board, RS485 or RS232 port

Supported Operands

Q - Query Commnad / R - Reply Command


Channels Configuration

Protocol Options

BlockSize: Defines the maximum amount of items per group, the default value is 250.

If the communication points are configured in sequence and the BlockSize equals to 250, the driver can create the internal groups with 125 Registers or 2000 Coils.

Settings

  • Serial and MultiSerial channels:

Default configuration:

DataBits: 8.

StopBits: 1 if parity is used, 2 if no parity.
Set the other fields according to your Serial or MultiSerial port configuration.

  • TCP/IP channels:

NodeConnections: Defines the maximum number of parallel requests that will be sent to each node (asynchronous communication).


Nodes Configuration

Station Configuration 

SlaveId: Set this field with the address of the slave device in the DanLoad6000 Network. They can be addressed from 1 to 247 for serial nodes, or 0 to 255 for TCP/IP nodes. The address 0 is used for the broadcast.

  • Serial channels:

Station syntax: <SlaveId>
Ex: 1

  • MultiSerial channels:

Station syntax: <ComPort>;<SlaveId>

Where : <ComPort> = COM Port of the slave device in the DanLoad6000 network (default is com1).
Ex: com1;1

  • TCP/IP channels:

Station syntax: <IP address>;<Port number>;<SlaveId>

Where : <IP address> = IP address of the slave device in the DanLoad6000 network < Port number > = TCP port where the slave device is listening (default is 502).
Ex: 192.168.1.1;502;1



Points Configuration

The syntax for the DanLoad6000 communication points is: <Operand><Address>

Where:

<Operand> indicates the command executed:

    • Q - Query Command
    • R - Reply Command

<Address> indicates the parameters inside the data struct to send ou receive

Ex: Q001 (Query Command, Parameter = 1)


Access Point

All commands must use the Read Pooling or Read Trigger.

Block Command: Number of command to be executed:

Example:

08 – Prompt Reset (08h)
56 – Clear Display (38h)
39 – ConfigRecipe (27h)
35 – Set Program Value (23h)
25 – Request Meter (19h)


Example

Data Structs from DanLoad6000 Communication Specification

Request Selected Recipe – 02h

Struct Tasq {
	Unsigned char dfl (ignored)
	Unsigned char cmdcode (ignored)
}

Struct Tasr {
	Unsigned char dfl (ignored)
	Unsigned char cmdcode (ignored)
	Int recipenumber (parameter 1)
} 


Driver configuration

  • Access Type:

Block Command: 02

  • Points:

Operand: Q

Address: 001


Troubleshoot

The status of the driver execution can be observed through the platform built-in diagnostic tools. Refer to the Using Diagnostic Tools topic in Devices Communication page.

DanLoad6000 protocol error codes:

Error

Name

Description

1

ILLEGAL FUNCTION

The function code received in the query is not allowable.

2

ILLEGAL DATA ADDRESS

The data address received in the query is not allowable.

3

ILLEGAL DATA VALUE

A value contained in the query data field is not allowable.


Driver Revision History

DanLoad6000 Driver Revision History

Version 

Notes

1.0.2.0

Initial release on new documentation standards

  • No labels