EasyManua.ls Logo

Curtis 1236SE - Clear_Digout(); Set_Digout()

Curtis 1236SE
157 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
128
Curtis 1232E/34E/36E/38E & 1232SE/34SE/36SE Manual, os 30
24 NOVEMBER 2015
8 — VCL
SET_DIGOUT()
This function turns on the selected digital output. The digital outputs are active low
(On = driver on and pulled to ground, Off = open circuit at the pin).
Syntax Set_Digout(DigOut_ID)
Parameters
DigOut_IDisthedigitaloutputidentication.
DigOut6 = Digital Output 6 (pin 19).
DigOut7 = Digital Output 7 (pin 20).
Returns
0 – Selected digital output not set.
1 – Selected digital output successfully set.
Error Codes
Bad_ID is returned when DigOut_ID is not in the range of DigOut6 to
DigOut7.
Example Set_Digout(DigOut6)
This example will set Digital Output 6 (pin 19) On (active low, pulled to ground).
CLEAR_DIGOUT()
This function turns off the selected digital output. The digital outputs are active low
(On = driver on and pulled to ground, Off = open circuit at the pin).
Syntax Clear_Digout(DigOut_ID)
Parameters
DigOut_IDisthedigitaloutputidentication.
DigOut6 = Digital Output 6 (pin 19).
DigOut7 = Digital Output 7 (pin 20).
Returns
0 – Selected digital output not cleared.
1 – Selected digital output successfully cleared.
Error Codes
Bad_ID is returned when DigOut_ID is not in the range of DigOut6 to
DigOut7.
Example Clear_Digout(DigOut6)
This example will set Digital Output 6 (pin 19) Off (open circuit).

Table of Contents

Related product manuals