Smart Camera Documentation

Adding GPIO Interface

29 views October 16, 2018 soliton-support 2

NUERA Standard / NUERA Pro has inbuilt 2 inputs and 2 outputs, both are fast GPIOs, 24 volt compatible and optically isolated.

One input is dedicated for fast external trigger and other one could be used for application logic. User can control two GPIOs for external device control like for relay, panel lamp, solenoid valve, rejection system, etc.

One can easily extend more no. of IOs using external RS232 or Ethernet based IOs extenders.

Following code can be used in the application for setting GPIO outputs:

//to set GPO 1
Set_GPO_1_High();
Set_GPO_1_Low();

//to set GPO 2
Set_GPO_2_High();
Set_GPO_2_Low();

Following code can be used in the application for checking the status of GPIO input:

//to check status of GPI 2
unsigned char input_status = 0;
Check_GPI_2_Active_Status(input_status);

For any further assistance, please contact our application engineer at camera.support@solitontech.com

Was this helpful?