![background image](http://html1.mh-extra.com/html/omron/ns/ns_programming-manual_743537494.webp)
Section 2 NS Series Functions
2-20 Special Functions
2-447
NS Series Programming Manual
2-20-4 Error Log Function
The error log function keeps a record of macro execution errors.
Procedure for Using Error Logs
Perform the following procedure to use the error log function.
1. Make the error log settings.
There are no settings required on the CX-Designer for error logs.
2. Initialize error log.
If necessary, initialize the error log from the PT System Menu and clear old records before starting
recording.
3. Execute the error log function.
Errors that occur when macros are executed during PT operation will be recorded.
4. Check error log records.
Error log records are displayed from the System Menu.
The records can be displayed in the order the errors occurred (sort by occurrence) or in the order of
frequency.
N
N
N
o
o
o
t
t
t
e
e
e
♦
The error log can be initialized using system memory bit $SB42.
♦
You can set whether to automatically initialize log data when screen data is downloaded by select-
ing
PT – Transfer
in the Transfer Settings Menu.
In the following cases, however, be sure to initialize the log data.
•
Alarm/event settings, data log settings, the operation log, or other settings related to logs are
changed.
•
A project different from the project stored in the NS-series PT is downloaded.
Error Log Record Format
The following data is stored to memory for error logs.
•
Time and date of error
•
Screen number (
−
1 for project macros.)
•
Functional object ID (
−
1 for project macros and screen macros.)
•
Macro execution type
0: When loading a project
4: Alarm/Event ON
5: Alarm/Event OFF
10: When loading a screen
11: When unloading a screen
20: Touch ON
21: Touch OFF
22: Before inputting numeral and string
Summary of Contents for NS -
Page 2: ......
Page 12: ...Contents vi NS Series Programming Manual...
Page 46: ...Section 1 Overview 1 5 Procedure before Operation 1 33 NS Series Programming Manual...
Page 590: ...Section 3 Using PTs 3 12 Function Key Settings NS15 Only 3 35 NS Series Programming Manual...
Page 604: ...Section 4 Using Functions 4 1 Application 4 13 NS Series Programming Manual...
Page 640: ...Section 5 Troubleshooting and Maintenance 5 2 Error Messages 5 35 NS Series Programming Manual...
Page 680: ...Appendices Appendix 6 Additional NS Series Functions A 39 NS Series Programming Manual...
Page 682: ......
Page 683: ......