Barcode / DPRNT

Use this dialog to configure how DNC-Max should read 'DPRNT' style messages.

When using a DPRNT type message data can come from the CNC at a rate where looking at each message as a separate program is not fast enough.

Using this option allows DNC-Max to scan the stream of incoming data, and process messages at a much higher rate, without having to wait for a receive timeout, end trigger etc.

Barcode / DPRNT dialog

param

Enable extraction of 'DPRNT' style messages

Check this field if DNC-Max should read 'DPRNT' style messages.

When using a DPRNT type message data can come from the CNC at a rate where looking at each message as a separate program is not fast enough.

Using this option allows DNC-Max to scan the stream of incoming data and process messages at a much higher rate, without having to wait for a receive timeout, end trigger etc.

param

Start trigger

Use this field to specify a message start trigger.

It is recommended to use something that is unique and longer than 2 characters.

The start trigger must match the trigger configured in the server operator message configuration.

param

End trigger

Use this field to specify an end trigger.

If the control is configured to send a new line character after the DPRNT command, then you should specify a new line (\LF or \CR) in this field.

param

Ignore data after bytes received

Use this field to specify how many bytes of normal data can be received before DNC-Max stops scanning for DPRNT type messages.

You should keep this value low so when DNC-Max is receiving a program that contains a valid message string, it will not trigger a message.

param

Ignore following

Use this field to specify a string after which the start trigger should be ignored.

Example: To avoid picking up the start trigger when receiving a regular program line 'N123 DPRNT [MACCYCLESTART]' specify [ in this field.

param

Strip data

Use this field to specify data that should be stripped from the message.

param

Use end trigger

Check this field to use an end trigger.

If the control is configured to send a new line character after the DPRNT command you should check this field, and specify a new line (\LF or \CR) in the 'End trigger' field.

param

Strip end trigger from message

Check this field to strip the end trigger from the received message.

param

Use start trigger as end trigger

Check this field to use the start trigger as end trigger.

If messages do not have a unique end trigger you should check this field if multiple message can be received in a short period of time (less than a second), otherwise DNC-Max will not be able to tell where the first message ends, and the second message starts.

param

Strip leading/trailing spaces

Check this field to strip leading/trailing spaces/new line characters from the received message.

param

Strip ASCII 0's

Check this field to strip ASCII 0's before scanning from messages. Check this field if the control is sending 0's before/after the message.

param

Strip control characters

Check this field to strip control characters (DC codes etc.) before scanning from messages. Check this field if the control is sending control characters before/after the message.

param

Log ignored messages

Check this field to log all ignored messages in the port log.

An ignored message is one that doesn't match any of the triggers configured in the server operator message configuration.

param

Enable debug output

Check this field to log all received messages in the port log.