Справочник Пользователя для Mitsubishi Electronics MR-MC241

Скачать
Страница из 658
 
 
7 - 74 
7. AUXILIARY FUNCTION 
 
7.13 Log 
7.13.1 Summary 
The log function is a function that stores the status when an event occurs (start operation, completion, alarm 
occurs etc.) on the position board. The log data is stored in the log data buffer area (internal memory of the 
position board). When a reading of log data command is generated at a host controller, the log data stored in 
the log data buffer area is transferred to the dual port memory. 
The log data is a ring buffer where the oldest data is deleted sequentially. 
The log data is stored in the internal memory of the position board, and the log data is initialized when the 
power for the position board is turned off, or by a software reboot. 
Dual port memory
DF00h
DFFFh
Log data buffer area
Log data 
table
(256 bytes)
(for 16 events)
Log data
Buffer area
(65536 bytes)
(for 4096 events)
Transferred on
per page basis
* Log data read to dual port memory from internal memory
  of position board on per page (for 16 events) basis.
 
 
 
POINT 
 
Reading of log data can be performed in the test tool. 
 
API LIBRARY  
Use the sscStartLog function to start log. 
Use the sscStopLog function to stop log. 
Use the sscCheckLogStatus function to get log operation status. 
Use the sscCheckLogEventNum function to get the number of valid log data 
events. 
Use the sscReadLogData function to get the log data.