
12-4
12.1.2 Contents of Error Log Area
Error log area (bank 0)
Address
Name
Explanation
380H
Log mode
[Set value] (Default value: 0004H)
The recorded error differs depending on the set value.
Set value
0
1
2
3
4
System error
Recovery
possible error
-
Warning error
-
-
Access error
-
-
-
E-mail error
-
-
-
-
381H
Log block
reading pointer
[Set value] Offset from latest log block of log buffer [Default value: 0000H]
- To read the latest log block, “0” is specified. To read the oldest log block used,
“Number of log blocks used – 1” is specified (see 387H below). This value
should be set such that the number of log blocks used is greater than or equal
to the log block reading p the number of log block being read. If
anything else is specified, the results will be unclear.
382H
Number of
reading log block
[Set value] No. of reading blocks [Default value: 0000H]
- This specifies the number of blocks up to the old block to be read from the log
block reading point.
- A value of 14 or less should be set. If a value of 15 or higher is set, or if 0 is
set, 14 blocks will be read.
383H
384H
Reserved (Used by the system.)
385H
Log buffer size
[Stored value] Log buffer size available with the unit itself (number of log blocks)
[Set value: 0100H (256 blocks)]
- This is set by the unit itself when it boots.
386H
Total number of
log
[Stored value] Cumulative total of log blocks recorded after initialization
processing
- This is cleared to 0 when initialization processing is carried out.
- The number of logs is counted up to FFFFH (65535), but if an attempt is made
to record more logs than will fit into the available buffer space, logs are
overwritten, starting with the oldest.
- The number of logs will not be incremented past FFFFH (65535).
387H
Number of log
blocks used
[Stored value] Current number of log blocks available for reading in log buffer
- This is cleared to 0 when initialization processing is carried out.
- The count of the number of logs used will not be incremented past the buffer
size.
388H to
38FH
Latest log block
area (8 words)
[Stored value] Latest log information
- The unit itself updates the contents constantly, so information can be read
using the shared memory access instructions F150 (READ) and P150
(PREAD), without issuing a read request.
- This is cleared to 0 when initialization processing is carried out.
390H to
3FFH
Log block
reading
processing area
(8 words x 14
blocks)
[Stored value] Data read during log block read processing
- Up to 14 blocks are stored in the log, in the order in which the errors occurred,
when a read request is issued (the error log notified request bit of the
handshake area in the I/O or shared memory goes on).
- This is cleared to 0 when initialization processing is carried out.
Note:
1) Addresses 380H to 382H should be set before the error log notified request is issued.
2) The ET-LAN unit writes the latest values to addresses 385H to 38FH.
3) The ET-LAN unit writes values to addresses 390H to 3FFH after the error log notified request has
been issued.
Содержание FP2 ET-LAN
Страница 11: ...Chapter 1 Unit Functions and Restrictions ...
Страница 14: ...1 4 1 1 4 Connecting to a Network AFP2790 100BASE TX 10BASE T 10BASE5 AUI AFP27901 ...
Страница 24: ...1 14 ...
Страница 25: ...Chapter 2 Names and Functions of Parts ...
Страница 29: ...Chapter 3 Connection for LAN Cable ...
Страница 37: ...Chapter 4 Confirming the Design Contents ...
Страница 49: ...Chapter 5 Initialization Processing and Termination Processing ...
Страница 51: ...5 3 Operation of the ET LAN unit The relationship between initialization processing and open processing ...
Страница 68: ...5 20 ...
Страница 69: ...Chapter 6 Open Processing and Close Processing ...
Страница 71: ...6 3 Operation of the ET LAN unit The relationship between open processing and close processing ...
Страница 84: ...6 16 ...
Страница 85: ...Chapter 7 Computer Link Function ...
Страница 94: ...7 10 Program example ...
Страница 97: ...7 13 Example of communication data Same hierarchy communication ...
Страница 100: ...7 16 Example of communication data Other hierarchy communication ...
Страница 101: ...7 17 Other hierarchy communication for MEWTOCOL COM ...
Страница 102: ...7 18 ...
Страница 103: ...Chapter 8 Data Transfer Function ...
Страница 111: ...8 9 Program example ...
Страница 114: ...8 12 Example of communication data Same hierarchy communication ...
Страница 117: ...8 15 Example of communication data Other hierarchy communication ...
Страница 119: ...8 17 Other hierarchy communication for MEWTOCOL DAT ...
Страница 120: ...8 18 ...
Страница 121: ...Chapter 9 Transparent Communication Function ...
Страница 137: ...9 17 Program example ...
Страница 140: ...9 20 Reception processing After the following program has been run the received data is read from the receive buffer ...
Страница 141: ...9 21 9 5 3 Sample Program Reception to Transmission Program example for transmitting received data as it is ...
Страница 143: ...Chapter 10 Auto Connection ...
Страница 155: ...10 13 Case 1 Ladder program example ...
Страница 169: ...Chapter 11 E mail Function ...
Страница 200: ...11 32 ...
Страница 201: ...Chapter 12 Error Log Function ...
Страница 203: ...12 3 Latest log block area Log block reading processing area ...
Страница 219: ...Chapter 13 Troubleshooting ...
Страница 224: ...13 6 13 2 4 Troubleshooting Flowchart ...
Страница 225: ...13 7 ...
Страница 229: ...Chapter 14 MEWTOCOL Communication Procedure ...
Страница 241: ...14 13 WD Write data area This writes the contents of the data area To write the contents of DT LD and FL ...
Страница 242: ...14 14 To write to an index register ...
Страница 262: ...14 34 ...
Страница 263: ...Chapter 15 Specifications ...
Страница 292: ...15 30 15 6 ASCII Codes ...
Страница 293: ...15 31 15 7 Dimensions AFP2790 FP2 ET1 AFP27901 FP2 ET2 ...
Страница 294: ......
Страница 295: ...Chapter 16 Sample Program ...
Страница 298: ...16 4 ...
Страница 299: ...16 5 ...
Страница 300: ...16 6 ...
Страница 301: ...16 7 ...
Страница 304: ......
Страница 305: ......