To acquire the logic inputs on the CPU module these two functions can be used:
bool_t eGetInp00(void);
bool_t eGetInp01(void);
To acquire the inputs from an extension module connected to the SlimLine bus use the function:
bool_t eSLineDInp(uint8_t Module, eSLDIOMODE Mode, bool_t Filter, void* Value);
To set the logic output on the CPU module these two functions can be used:
void eSetOut00(bool_t Sts);
void eSetOut01(bool_t Sts);
To set the outputs on the extension module connected to the SlimLine bus use the function:
bool_t eSLineDOut(uint8_t Module, eSLDIOMODE Mode, void* Value);
The eSLDIOMODE is an enum defined in the ElSLLinux.h file. Refer to the PTP127*000 example to better understand how to manage the I/Os.