Values of communication lines
An object of Line type can acquire the following values in D2000 system:
Object value | Description |
---|---|
True | The line is working. |
False | The line is not working. Note: Solving the 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 |
---|---|
LonWorks | 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. |
RFC2217 Client | A TCP connection with the RFC2217 server was establish and possibly the parameters of the serial port were queried. |
Serial Serial Line Redundant System&Line Redundant | Podarilo sa otvoriť sériový port a nastaviť požadované parametre sériového portu. The serial port and set the required serial port parameters. |
SerialOverUDP Device Redundant SerialOverUDP Line Redundant SerialOverUDP System&Line Redundant | Podarilo sa obsadiť (bind) špecifikovaný lokálny UDP port (porty). |
TCP/IP-TCP TCP/IP-TCP Redundant | Podarilo sa nadviazať TCP spojenie (klientské protokoly), resp. podarilo sa obsadiť (bind) špecifkovaný lokálny port (serverovské protokoly). |
TCP/IP-UDP | Podarilo sa obsadiť (bind) špecifikovaný lokálny UDP port. |
Poznámka:
- zatvorenie linky (pre linky kategórie Serial a Serial Line Redundant a RFC2217 Client tell príkazom LNSTAT OPEN/CLOSE spôsobí zmenu hodnoty linky na False.
- zatvorenie linky TCP/IP-TCP v protokole Modbus Client v dôsledku parametra protokolu Immediate Disconnect spôsobí zmenu hodnoty linky na False.
- zatvorenie linky TCP/IP-TCP v protokole IEC 60870-5-104 v dôsledku vypnutia všetkých komunikačných staníc spôsobí zmenu hodnoty linky na False.
Object value of category Communication lines can have set also the flags (user attributes). Currently they are implemented for 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 detailed description see note in the description of the protocol.
Related pages: