EasyManua.ls Logo

Omron NX701-1620 - Page 263

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-75
A
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
DB_ControlSpool (Resend/Clear Spool Data)
When the instruction is terminated due to an error, execute the error handler for the device (FaultHandler_GetConnectionStatus).
Program the FaultHandler_GetConnectionStatus according to the device.
Operating
DB_GetConnection
Status_instance.Error
// Error handler
FaultHandler_Get
ConnectionStatus();
Resend the Spool data.
Operating
DB_ControlSpool_instance
Execute
DBConnection
Cmd
DB_ControlSpool
Done
Busy
Error
ErrorID
MyDB1
_eDBC_SPOOL_CMD#_DBC_SPOOL_RESEND
Resend
When the instruction is terminated due to an error, change the variable ControlSpool_OK to FALSE.
Operating
DB_ControlSpool_instance.Error
// Error handler
ControlSpool_OK := FALSE
Resend
When the instruction is normally completed, change the variable ControlSpool_OK to TRUE.
Operating
DB_ControlSpool_instance.Done
// Error handler
ControlSpool_OK :=
TRUE
Resend
DB Connection Instructions

Table of Contents

Related product manuals