EasyManuals Logo
Home>Omron>Controller>NX701-1620

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 #266 background imageLoading...
Page #266 background image
Appendix A
A-78
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_PutLog (Record Operation Log)
The DB_PutLog instruction puts a user-specified record into the Execution Log or Debug Log.
Instruction
Name
FB/FUN
Graphic expression
ST expression
DB_PutLog Record
Operation Log
FB
DB_PutLog_instance (Execute,
LogType, LogCode, LogName,
LogMsg, Done, Busy, Error,
ErrorID);
Note The DB_PutLog_instance is an instance of DB_PutLog instruction, which is declared as a variable.
Variables
Input Variables
Name
Meaning
Data type
Valid range
Unit
Default
Description
Execute Execute BOOL TRUE or FALSE --- FALSE Specify the
execution condition.
LogType Log Type _eDBC_LOGTYPE _DBC_LOGTYPE_EXECUTION(1):
Execution Log
_DBC_LOGTYPE_DEBUG(2):
Debug Log
0
Specify the type of
log to output
LogCode Log Code INT 0 to 9999 --- 0 Specify the code to
record in the log.
LogName Log Name STRING 33 bytes max. (including the final
NULL character)
--- '' Specify the name to
record in the log.
LogMsg Log Message STRING 129 bytes max. (including the final
NULL character)
--- '' Specify the message
to record in the log.
Output Variables
Name
Meaning
Data type
Valid range
Unit
Description
Done Done BOOL TRUE or
FALSE
--- TRUE when the instruction is normally
completed.
Busy Executing BOOL TRUE or
FALSE
--- TRUE when the instruction is being executed.
Error Error BOOL TRUE or
FALSE
--- TRUE when the instruction is terminated due to
an error.
ErrorID Error Code WORD 16#0000 to
16#FFFF
--- Contains the error code when an error occurs.
ErrorID
DB_PutLog
LogType Busy
Execute
Done
Error
LogCode
LogName
LogMsg
DB_PutLog_instance

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