MsgProtocol

Purpose:

Configure and process CyFlex messages, converting logical commands to protocol-specific messages, handling events, and updating variables.

Enter:

MsgProtocol <filename> <device_name> [priority] [debug]

Where:

filename

Specify the .ini configuration filename.

device_name

Specify a unique name for this instance of MsgProtocol. 

priority

Optional. Specify the task priority. The default is 20.

debug

Optional. Specify ON to enable debug statements. The default is OFF.

Example:

MsgProtocol gac.ini GAC
OR
MsgProtocol /specs/MEXA.ini CTC_MEXA

gac.ini and MEXA.ini are configuration files in the above examples GAC and CTC_MEXA are the device names.

Notes:

The priority must be specified for the debug option to be recognized.

See Also:

MsgTCP