Function
This instruction is used to shut down the DB Connection Service.
Be sure to execute this instruction before turning OFF the power supply to the CPU Unit to prevent data loss of
Operation Logs.
Precautions for Correct Use
ï‚– Execution of this instruction is continued until processing is completed even if the value of Execute changes to
FALSE or the execution time exceeds the task period. The value of Done changes to TRUE when processing
is completed. Use this to confirm normal completion of processing.
ï‚– Refer to Using this Section of the NJ/NX-series Instructions Reference Manual (Cat. No. W502) for a timing
chart for Execute, Done, Busy, and Error.
ï‚– This instruction cannot be used on an event task. A compiling error will occur.
ï‚– The DB Connection Instructions cannot be executed during and after execution of this instruction. When a DB
Connection Instruction is executed, it will be terminated due to an error.
ï‚– Be sure to execute this instruction before you turn OFF the power supply to the CPU Unit. If the power supply
is turned OFF without executing this instruction, the Operation Log file may be corrupted or its contents may be
lost.
ï‚– 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 stopping processing of the DB Connection Service was
in progress
ï‚– When the instruction was executed after the DB Connection Service was shut down or while the DB
Connection Service was being shut down
ï‚– When more than 32 DB Connection Instructions were executed at the same time