Clickdiovcccheck – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual
Page 149
148
APPENDIX • CLICK 500 DEVELOPER GUIDE
ClickDioVccCheck
Checks the DC supply voltage to determine if it exceeds the selected threshold. The thresh-
old is either 12 V or 24 V depending upon the on/off level of position 6 of DIP switch 2
(SW2) on the side of the device.
Position 6 - On = 24 VDC supply threshold - Off = 12 VDC supply threshold
VCC_OK == 1 (> supply threshold)
VCC_LOW == 0
˽
LIBRARY – click500DigitalIO.LIB
˽
SYNTAX –
int ClickDioVccCheck();
˽
RETURN VALUE – VCC_OK or VCC_LOW
˽
SEE ALSO – ClickDioSet
This manual is related to the following products: