Values of communication lines
An object of Line type can acquire the following values in the D2000 system:
|True||The line is working.|
|False||The line is not working.|
Note: Solving line failure problems depends on the line category. Each line generates the output file called line_name.log placed in the subdirectory TRACE of the application directory. The file contains detailed information about the error.
The definition of working of the line depends on its category:
|Line category||Functioning line|
The LonWorks dynamic library (ldv32.dll) was initialized and the specialized LON device could be opened.
|MOXA IP Serial Library|
The Moxa dynamic library (Ipserial.dll) was initialized, a connection to the specified Moxa devices was established, and specified serial port parameters were set.
A TCP connection with the RFC2217 server was established and possibly the parameters of the serial port were queried.
Serial Line Redundant
The serial port was open and the required serial port parameters were set.
|SerialOverUDP Device Redundant|
SerialOverUDP Line Redundant
SerialOverUDP System&Line Redundant
Binding to the specified local UDP port(s) was successful.
A TCP connection was established (client protocols), resp. binding to the specified local TCP port(s) was successful (server protocols).
Binding to the specified local UDP port was successful.
- closing the line (for lines of categories Serial, Serial Line Redundant, System&Line Redundant, and RFC2217 Client with the tell command LNSTAT OPEN/CLOSE will change the value of the line to False.
- closing the TCP/IP-TCP line in the Modbus Client protocol due to the Immediate Disconnect protocol parameter will cause the line value to change to False.
- closing the TCP/IP-TCP line in the IEC 60870-5-104 protocol due to disabling all communication stations will cause the line value to change to False.
Object value of category Communication lines can have set also the flags (user attributes). Currently, they are implemented for the following combinations of line categories and communication protocols:
- Line category TCP/IP-TCP and communication protocol IEC 870-5-104 Server: flags inform about connected clients. For a detailed description see note in the description of the protocol.