Data point
element |
Data Type |
Description |
Settings.Type |
string |
Connection type: COM or MODEM.
All available types are read from the config file [channelmanager]
section (see dll config
entry). COM is used for a direct RS232 connection. |
Settings.OutOfService |
bool |
If the channel is set to "out
of service" (TRUE),
then the channel is no longer available until the value
of this element will be set to FALSE
again. |
Settings.InboundOutbound |
int |
The value specifies the direction
of the modem:
0 -> Outbound
1 -> Inbound
2 -> Inbound/outbound |
Settings.Port |
string |
For a "COM" channel
this data point element contains the used COM port. For
the terminal server it contains the IP address and port
on the terminal server. |
Settings.SerialSettings |
string |
For a direct modem communication
(without a terminal server) this element contains settings
like baudrate, parity, etc.
This is not used with terminal server since the Channel
Manager assumes that the terminal server rack is pre-configured.
That means that baudrates and port settings are pre-configured
and stored in the terminal server. |
Settings.CommunicationSettings
|
string |
Name of a data point of type
_ChannelManager_CommuncationSettings
used for inbound connections only. |
Status.CurrentDevice |
string |
The Channel Manager uses this
element to store the current device that this channel
is using. |
Status.NumBytesTX |
int |
Number of bytes that have been
sent through the channel. |
Status.NumBytesRX |
int |
Number of bytes that have been
received through the channel. |
Status.Busy |
bool |
TRUE -> channel is busy
FALSE -> channel is not busy |
Status.NumConnects |
int |
Number of times that this channel
was connected to a device. |
Status.Error |
int |
Error number from the chmgr.cat
message catalogue (defines all texts for errors). |
Status.ErrorText |
string |
Error text containing detailed
error information from chmgr.cat message catalogue. |
Status.State |
int |
Current state of a channel. |
Status.StateText |
string |
Current text for state of a channel. |
Status.NumErrors |
int |
Indicates number of errors since
start of the Channel Manager. |
Status.NumConsecutiveErrors |
int |
Indicates number of consecutive
errors. |
Debug.Enable |
bool |
TRUE -> writes the debug information
not only to a file but also to the data point element
Debug.Output.
The debug information are stored in a file in the directory
<WinCC OA
project>\log\DynamicLogic\debug. The maximum
file size and the debug file name can be specified in
the config file - see Possible
Config Entries of the Channel Manager.
The following information are stored in the debug file
(and in the data point element if configured):
|
Debug.Output |
string |
Text that contains the latest
debug information when Debug.Enable = TRUE. |