7. Maintenance
361
Serial.COM2.
wTXPendingBytes
Number of characters left in the
transmission buffer in COM 2. (0
to 65535)
Serial.COM2.
wBreakErrorCounter
These counters are restarted in
the following conditions:
- Startup
- Configuration of COM 2 serial
port
- Removal of RX and TX queues
PS.: When the CPU is set with
parity Without Parity, the counter
of errors of parity is not increased
in case it receives a different
parity. In this case, it will be
indicated a frame error. The
maximum value of each counter is
65535.
Serial.COM2.
wParityErrorCounter
Serial.COM2.
wFrameErrorCounter
Serial.COM2.
wRXOverrunCounter
Table 7-16. Serial COM 2 Detailed Diagnostics Group Description
Note:
Parity Error Counter: When the serial COM 2 is configured Without Parity, this error counter
won’t be incremented when it receives a message with a different parity. In this case, a frame error
will be indicated.
CPU Direct Representation Variable
DG_Modulo.tDetailed.*
AT Variable
Indicates the state of the link in
NET 1.
Selected protocol in NET 1:
00: Without protocol
Ethernet.NET1.
wProtocol.bMODBUS_R
TU_ETH_Client
MODBUS RTU Client via TCP
Ethernet.NET1.
wProtocol.bMODBUS_E
TH_Client
Ethernet.NET1.
wProtocol.bMODBUS_R
TU_ETH_Server
MODBUS RTU Server via TCP
Ethernet.NET1.
wProtocol.bMODBUS_E
TH_Server
Ethernet.NET1.
abyGateway