EasyManua.ls Logo

Omron NX701-1620 - Db_Controlservice (Control DB Connection Service

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-54
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_ControlService (Control DB Connection Service)
The DB_ControlService instruction starts/stops the DB Connection Service or starts/finishes recording
to the Debug Log.
Instruction
Name
FB/FUN
Graphic expression
ST expression
DB_ControlService Control DB
Connection
Service
FB
DB_ControlService_instance
(Execute, Cmd, Done, Busy,
Error, ErrorID);
Note The DB_ControlService_instance is an instance of DB_ControlService 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.
Cmd Command _eDBC_CMD _DBC_CMD_START(1):
Start the service in Operation Mode
_DBC_CMD_START_TEST(2):
Start the service in Test Mode
_DBC_CMD_STOP(3): Stop the service
_DBC_CMD_DEBUGLOG_ON(4):
Start recording to Debug Log
_DBC_CMD_DEBUGLOG_OFF(5):
Finish recording to Debug Log
0 Specify the command to
execute
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.
DB_ControlService
Busy
Execute
Done
Error
ErrorID
Cmd
DB_ControlService_instance

Table of Contents

Related product manuals