Digital Outputs; I_Pa1508_Setoutputmemoryon; I_Pa1508_Setoutputmemoryoff; I_Pa1508_Set1Digitaloutputon - Addi-Data PA 1508 Technical Description

Digital i/o board, optically isolated
Table of Contents

Advertisement

Chapter 9
9.4.3

Digital outputs

1) i_PA1508_SetOutputMemoryOn (...)

Syntax:
<Return value> = i_PA1508_SetOutputMemoryOn (BYTE b_BoardHandle)
Parameters:
BYTE
Task:
Activates the digital output memory. After calling up this function, the outputs
you have previously activated with the function i_PA1508_SetXDigitalOutputOn
are not reset. You can reset them with the function i_PA1508_SetXDigitalOutputOff.
Return value:
0: No error
-1: Handle parameter of the board is wrong
-2: There is no output on this board

2) i_PA1508_SetOutputMemoryOff (...)

Syntax:
<Return value> = i_PA1508_SetOutputMemoryOff
Parameters:
BYTE
Task:
Deactivates the digital output memory.
Return value:
0: No error
-1: Handle parameter of the board is wrong
-2: There is no output on this board

3) i_PA1508_Set1DigitalOutputOn (...)

Syntax:
<Return value> = i_PA1508_Set1DigitalOutputOn
Parameters:
BYTE
BYTE
Task:
Sets the output which has been passed with b_Channel to V ext. All other
outputs are separated from the V ext.
Exception:
If you have switched on with the function "SetOutputMemoryOn" the same function
will be executed, but the switchng status of the outputs does not change.
b_BoardHandle
b_BoardHandle
b_BoardHandle
b_Channel
Handle of the PA 1508
Handle of the PA 1508
(BYTE b_BoardHandle,
BYTE b_Channel)
Handle of the PA 1508
Number of the output you want to set (1 to 8)
PA 1508
(BYTE b_BoardHandle)
35

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PA 1508 and is the answer not in the manual?

Questions and answers

Table of Contents