EasyManuals Logo

Omron NX701-1620 User Manual

Omron NX701-1620
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #268 background imageLoading...
Page #268 background image
Appendix A
A-80
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
When the Execution Log is specified:
The log is recorded to the internal buffer of the CPU Unit and the instruction is completed normally.
When an SD Memory Card is inserted into the CPU Unit, the log records stored in the internal buffer are saved
into the SD Memory Card.
When the Debug Log is specified:
The Debug Log cannot be recorded. The instruction is terminated due to an error (Operation Log Disabled).
An error occurs for this instruction in the following cases. Error will be TRUE.
When the instruction was executed while the initialization processing of the DB Connection Service
was in progress
When the instruction was executed while the DB Connection Service was stopped due to an error
When the instruction was executed after the DB Connection Service was shut down or while the DB
Connection Service was being shut down
When a value that is not defined as an enumerator was specified in the LogType input variable.
When the value of the LogCode input variable is outside the valid range
When the SD Memory Card is not available or write-protected
When the log cannot be recorded because the specified Operation Log is disabled
When more than 32 DB Connection Instructions were executed at the same time
Sample Programming
This section gives sample programming for putting the following log record into the Execution Log when the
trigger variable changes to TRUE.
Log code: 100
Log name: Production Order
Log message: Production Start, RecipeCode=12345678
Ladder Diagram
Main Variables
Name
Data type
Initial value
Comment
DB_PutLog_instance
DB_PutLog
---
Instance of DB_PutLog instruction
Trigger
BOOL
FALSE
Variable used as a trigger for recording the user-specified log
Operating BOOL FALSE When this variable is TRUE, recording of the user-specified log is
executed.
OperatingEnd BOOL FALSE This variable changes to TRUE when recording of the user-specified log
is completed.
RS_instance
RS
---
Instance of RS instruction
RecipeCode
UDINT
1234678
Recipe code used in the log message.
Msg
STRING[256]
‘’
Log message to record
PutLog_OK BOOL FALSE This variable changes to TRUE when the DB_PutLog instruction is
completed normally.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX701-1620 and is the answer not in the manual?

Omron NX701-1620 Specifications

General IconGeneral
BrandOmron
ModelNX701-1620
CategoryController
LanguageEnglish

Related product manuals