![IDEC OpenNet series Скачать руководство пользователя страница 297](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384297.webp)
21: D
ATA
L
INK
C
OMMUNICATION
21-4
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
Special Data Registers for Data Link Communication Error
In addition to data registers assigned for data communication, the master station has 31 special data registers and each
slave station has one special data register to store data link communication error codes. If any communication error occurs
in the data link system, communication error codes are set to a corresponding data register for link communication error at
the master station and to data register D8400 at the slave station. For details of link communication error codes, see below.
If a communication error occurs in the data link communication system, the data is resent three times. If the error still
exists after three attempts, then the error code is set to the data registers for data link communication error. Since the error
code is not communicated between the master and slave stations, error codes must be cleared individually.
Master Station
If any slave stations are not connected, master station data registers which are assigned to the vacant slave stations can be
used as ordinary data registers.
Slave Station
Note:
Slave station data registers D8401 through D8430 can be used as ordinar y data registers.
Data Link Communication Error Code
The data link error code is stored in the special data register allocated to indicate a communication error in the data link
system. When this error occurs, special internal relay M8005 (data link communication error) is also turned on at both
master and slave stations. The detailed information of general errors can be viewed using
WindLDR
. Select Online > Mon-
itor, then select Online > PLC Status > Error Status: Details.
When more than one error is detected in the data link system, the total of error codes is indicated. For example, when
framing error (error code 2h) and BCC error (error code 10h) are found, error code 12 is stored.
Special Data
Register
Data Link Communication Error Data
Special Data
Register
Data Link Communication Error Data
D8400
Slave station 1 communication error
D8416
Slave station 17 communication error
D8401
Slave station 2 communication error
D8417
Slave station 18 communication error
D8402
Slave station 3 communication error
D8418
Slave station 19 communication error
D8403
Slave station 4 communication error
D8419
Slave station 20 communication error
D8404
Slave station 5 communication error
D8420
Slave station 21 communication error
D8405
Slave station 6 communication error
D8421
Slave station 22 communication error
D8406
Slave station 7 communication error
D8422
Slave station 23 communication error
D8407
Slave station 8 communication error
D8423
Slave station 24 communication error
D8408
Slave station 9 communication error
D8424
Slave station 25 communication error
D8409
Slave station 10 communication error
D8425
Slave station 26 communication error
D8410
Slave station 11 communication error
D8426
Slave station 27 communication error
D8411
Slave station 12 communication error
D8427
Slave station 28 communication error
D8412
Slave station 13 communication error
D8428
Slave station 29 communication error
D8413
Slave station 14 communication error
D8429
Slave station 30 communication error
D8414
Slave station 15 communication error
D8430
Slave station 31 communication error
D8415
Slave station 16 communication error
—
—
Special Data Register
Data Link Communication Error Data
D8400
Slave station communication error
Error Code
Error Details
1h
Overrun error (data is received when the receive data registers are full)
2h
Framing error (failure to detect star t or stop bit)
4h
Parity error (an error was found by the parity check)
8h
Receive timeout (line disconnection)
10h
BCC (block check character) error (disparity with data received up to BCC)
20h
Retr y cycle over (error occurred in all 3 trials of communication)
40h
I/O definition quantity error (discrepancy of transmit/receive station number or data quantity)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]