beautypg.com

Clickdioset – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 148

background image

APPENDIX

• CLICK 500 DEVELOPER GUIDE

147

ClickDioSet

Sets the given port to the given value.

˽

LIBRARY – click500DigitalIO.LIB

˽

SYNTAX –

void ClickDioSet(int digPortId, int value);

˽

PARAMETER1 – The digital port to set (D1, D2).

˽

Parameter2 – The value to set the port to:

CONTACT_OPEN == 0
CONTACT_CLOSED == 1

˽

SEE ALSO – ClickDioCheck