1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

TOnMonitoringCtrlIOExCB

Features

This is a callback function for checking I/O state data installed in the control box of the robot controller. As the callback function is executed automatically in the case of a specific event, a code that requires an excessive execution time (within 50 msec) within the callback function should not be made.

Parameter

Parameter Name

Data Type

Default Value

Description

*pCtrlIO

struct. MONITORING_CTRLIO_EX

-

Refer to definition of structure

Return

None.

Example

C++
void OnMonitoringCtrlIOExCB(const LPMONITORING_CTRLIO_EX pCtrlIO)
{
    cout << "gpio data" << endl;
for (int i = 0; i < NUM_DIGITAL; i++)
     cout << "DI#"<< i << ": " << pCtrlIO->_tInput._iActualDI[i] << endl;
}

int main()
{
Drfl.SetOnMonitoringCtrlIOEx(OnMonitoringCtrlIOExCB)
}