Skip to main content

DCON ASCII Master

Purpose

This plugin uses DCON ASCII commands to read industrial IO module bits and write outputs supported by the module. It is named DCONMaster in the device selector.

See Collection Configuration for common channel, device, variable, and data-format settings. This page covers only the DCON station, address options, and debug.

Open the plugin

Open Development Configuration → Collection Configuration, create a TCP client, TCP server, serial, or UDP channel matching the field link, then create a device using DCONMaster.

Supported scope

ItemDescription
ChannelsTCP client, TCP server, serial, and UDP.
Data typesBoolean, Byte, common signed/unsigned integers, Float, Double, String, and Decimal.

Plugin properties

SettingDefaultDescription
Default station1Used when the variable address has no s= option.
Maximum batch length100Maximum length combined in one polling operation; lower it when required by the module.

The default data order is ABCD. Enter the common DTU ID only when the device is connected through the DTU service.

Address rules

Use [s=station;][w=write length;]bit index.

ExampleDescription
0Reads bit 0 at the default station.
s=2;0Reads bit 0 at station 2.
w=2;0Uses a two-byte output value when writing bit 0.
s=2;w=4;3Writes bit 3 at station 2 using a four-byte output value.
  • w accepts only 1, 2, 3, or 4.
  • The bit index for a Boolean write must be below 16.
  • Verify that the bit is an output channel before sending a write command.

Special methods

This plugin has no additional special methods. Variables use DCON addresses directly.

Functions

FunctionPurpose
Read and writeRead a confirmed point and write only to an approved test point.
MessagesView sent and received frames, protocol fields, and error details.

Device debug

Open Development Configuration → Collection Configuration, select the DCON device, and click More Functions, then open Debug.

FeaturePurpose
Read/WriteReads one DCON bit address or performs an approved write.
MessagesShows ASCII requests, responses, and connection logs.

Read/Write

Enter the bit address, data type, and array length. Read a known channel first and write only after verifying the module and site state.

DCON read and write debug

Messages

Start message capture to verify the station, address, write length, request, response, and module result.

DCON message debug

Verify the configuration

  1. Read one known input bit and verify the station, bit index, and field state.
  2. Confirm a valid ASCII request and response under Messages.
  3. Write only an approved output bit and immediately verify the module and field state.

Troubleshooting

SymptomCheck
Module does not respondChannel, serial settings, station, network, and module protocol mode.
Address cannot be parseds=, w=, semicolons, and bit-index format.
Write is rejectedBit index below 16, w from 1 to 4, and target is an output channel.
State does not match the fieldStation, bit index, data type, and module channel mapping.