Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue
idconnector-metadata


Property

Value

Sector

Factory-Floor Interfaces

Group

Field Devices

ConnectorControl

and Display Unit (CDU)DanLoad 6000

Name

CDU

DanLoad6000



DanLoad6000 driver implements communication with Daniel Measurement and Control on TCP/IP or serial networks. Device compatible with CDU Protocol

  • Name: CDU DanLoad6000
  • Version: 1.0.02.0
  • Protocol: Proprietary
  • Interface: Serial and TCP/IP
  • Runtime: .NET 24.0 8 (MultiplatformWindows)
  • Configuration:
    • Devices / Protocols

Table of Contents
maxLevel2
minLevel2
stylenone


On This Page:

Table of Contents
maxLevel2
minLevel2
stylenone


Overview

The CDU Protocol Driver facilitates communication between a Control and Display Unit (CDU) and connected systems over TCP/IP or serial interfaces. It enables data exchange by structuring messages based on defined polling cycles, allowing operators to send commands and receive responses. The driver supports ASCII-based interactions, simulating button inputs for remote control. It ensures proper data transmission by managing block sizes, delimiters, and device addressing.

CDU protocol driver implements communication with any device using CDU protocol DanLoad6000 driver implements communication with Daniel Measurement and Control on TCP/IP or serial networks. 


Communication Driver Information

Driver name

CDU Integration

DanLoad6000

Assembly Name

T.ProtocolDriver.

CDU

DanLoad6000

Assembly Version

1.0.

0

2.0

Available for Linux

False

Devices

Interface 

TCP/IP, Serial and MultiSerial

PLC types supported 

Device

Any PLC compatible with

CDU

DanLoad6000 Protocol

Protocol

Serial and TCP/IP

PC Requirements

Ethernet port

Configuration

Channels 

Settings

Serial configures settings like BaudRate, Comm, and DataBits, while TCP does not require specific settings, but both require the following:

  • ServerMode: True

  • AcceptUnsolicited: True

  • ListeningPort: This port has to be different for each channel you create. For example. if you have 2 CDU channels, one has to be for example 502, and the other 503, as long as those ports are not being used.

Serial and MultiSerial channels, default configuration:

  • BaudRate: 9600
  • DataBits: 8
  • StopBits: 1
  • Parity: None

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



Configuration

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

Nodes

Station Configuration

Serial channels:

Nothing

  • TCP/IP channels:

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

Where :

<IP address> = IP address of the slave device in the

ASCII network<Port number> 

DanLoad6000 network < Port number > = TCP port where the slave device is listening (default is 502).

E.g.

Ex:

 

192.168.1.

101

1;502;1


Points Configuration

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

Where:

<SequenceId>

<Operand> indicates the

data order where the TX message will be created:
  • <SizeOf> indicates the characters amount from the configured tag
  • Usually is used as “0:46”, so it will starts to read in index 0, and read 46 char, this is, the whole message.

    Access Point

    Not necessary to do any setting.

    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

    Code Block
    languagec#
    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

    Usage

    How to use CDU in the equipment?

    When you want to move in the menu, you just have to write the ASCII value below in the tag. In summary, if you want the action of “Pushbutton”, you write the “Ascii Value”.

    Pushbutton

    Dec Value

    Ascii Value

    Hex Value

    Data Sent to PLC

    Up

    65

    A

    41

    1b 5b 41

    Down

    66

    B

    42

    1b 5b 42

    Right

    67

    C

    43

    1b 5b 43

    Left

    68

    D

    44

    1b 5b 44

    0

    48

    0

    30

    30

    1

    49

    1

    31

    31

    2

    50

    2

    32

    32

    3

    51

    3

    33

    33

    4

    52

    4

    34

    34

    5

    53

    5

    35

    35

    6

    54

    6

    36

    36

    7

    55

    7

    37

    37

    8

    56

    8

    38

    38

    9

    57

    9

    39

    39

    Enter

    13

    CR

    0d

    0d

    Cancel

    27

    ESC

    1b

    1b

    Driver Revision History

    CDU

    Revision History

    Version 

    Notes

    1.0.

    0

    2.0

    Initial release

    published according to the

    on new documentation standards

    .



    In this section...

    Page Tree
    root@parent