EasyManua.ls Logo

Omron NX701-1620 - Page 246

Omron NX701-1620
306 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A
A-58
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
Start recording to the Debug Log.
LogOn
_eDBC_CMD#_DBC_CMD_DEBUGLOG_ON
EN
In
MOVE
ENO
Out
MyCmd
Finish recording to the Debug Log.
LogOn
_eDBC_CMD#_DBC_CMD_DEBUGLOG_
OFF
EN
In
MOVE
ENO
Out
MyCmd
Command to start/finish recording to the Debug Log.
Operating
DB_ControlService_instance
MyCmd
Execute
Cmd
DB_ControlService
Done
Busy
Error
ErrorID
When the instruction is normally completed, change the variable ControlService_OK to TRUE.
Operating
DB_ControlService_instance.Done
// Normal end processing
ControlService_OK := TRUE;
When the instruction is terminated due to an error, change the variable ControlService_OK to FALSE.
Operating
DB_ControlService_instance.Error
// Error handler
ControlService_OK := FALSE;
Structured Text (ST)
Main Variables
Name
Data type
Initial value
Comment
DB_ControlService_instance
DB_ControlService
---
Instance of DB_ControlService instruction
LogOn
BOOL
FALSE
Variable used as a trigger for controlling the Debug Log
LastTrigger BOOL FALSE Variable to retain the trigger status of the previous
execution
Operating BOOL FALSE The DB_ControlService instruction is executed when
this variable is TRUE.
OperatingStart BOOL FALSE The initialization processing is executed when this
variable is TRUE.
MyCmd _eDBC_CMD --- This variable is assigned to the Cmd input variable to
DB_ControlService_instance.

Table of Contents

Related product manuals