Db_Controlservice (Control Db Connection Service - Omron NX701-1620 User Manual

Machine automation controller nj/nx-series database connection cpu units
Hide thumbs Also See for NX701-1620:
Table of Contents

Advertisement

Appendix A

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
DB_ControlService
Control DB
Connection
Service
The DB_ControlService_instance is an instance of DB_ControlService instruction, which is declared as a variable.
Note
Variables
Input Variables
Name
Meaning
Execute
Execute
Cmd
Command
Output Variables
Name
Done
Busy
Error
ErrorID
A-54
FB/FUN
FB
DB_ControlService_instance
Execute
Cmd
Data type
BOOL
TRUE or FALSE
_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
Meaning
Data type
Done
BOOL
Executing
BOOL
Error
BOOL
Error Code
WORD
Graphic expression
DB_ControlService
Done
Busy
Error
ErrorID
Valid range
Valid range
Unit
TRUE or
---
TRUE when the instruction is normally
FALSE
completed.
TRUE or
---
TRUE when the instruction is being executed.
FALSE
TRUE or
---
TRUE when the instruction is terminated due to
FALSE
an error.
16#0000 to
---
Contains the error code when an error occurs.
16#FFFF
NJ/NX-series Database Connection CPU Units User's Manual (W527)
ST expression
DB_ControlService_instance
(Execute, Cmd, Done, Busy,
Error, ErrorID);
Unit
Default
Description
---
FALSE
Specify the execution
condition.
0
Specify the command to
execute
Description

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents