
SDK Programming Guide Version 1.511
ABLELink
R
Ethernet-Serial Server MAXI Series
Input Parameters:
None
Return Value:
None
Example:
BuzzerOn()
Remarks:
Turn the buzzer on for 40ms or run led blinking 40ms.
Please refer the
SetupProcessLed()
function.
SetupComLed()
Description:
Set LEDs on/off of COM ports.
Include:
DAPAPI.H
Usage: void
SetupComLed(ushort
port
, uchar
com_led
)
;
Input Parameters:
port:
// 0:port 1, 1:port 2
com_led:
// 0:off, 1:on
Return Value:
None
Example:
SetupComLed(0,1);
// com port1 led on
SetupComLed(1,0);
// com port2 led off
Remarks:
SetupProcessLed()
Description:
Set RUN LED to on/off.
Include:
DAPAPI.H
Usage: void
SetupProcessLed(
uchar
com_led
)
;
Input Parameters:
run_led:
// 0:off, 1:on
Return Value:
None
Example:
SetupProcessLed(1);
// set RUN led on
SetupProcessLed(0);
// set RUN led off
Remarks:
This function and BuzzerOn() function both control the same DO (maybe
RUN LED or buzzer), except that SetupProcessLed() is a state changed
function and BuzzerOn() is a trigger function.
Copyright © 2004 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.