I_Pa1500_Set8Digitaloutputoff; V_Pa1500_Set16Digitaloutputon - Addi-Data ADDINUM PA 1500 Technical Description

Digital input and output board
Table of Contents

Advertisement

Standard software
6)

i_PA1500_Set8DigitalOutputOff (...)

Syntax:
<Return value> = i_PA1500_Set8DigitalOutputOff
Parameters:
BYTE
b_BoardHandle
BYTE
b_Port
BYTE
b_Value
Task:
Resets one or several outputs of one port . Resetting means setting on high.
Example:
b_Port
= 1
b_Value = 55 Hex
The outputs 1, 3, 5, 7 are reset.
IMPORTANT!
i
You can use this function only if the digital output memory is ON. See
function i_PA1500_SetOutputMemoryOn (..).
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The port number is not 1 or 2
-3: The digital output memory is OFF. Please first use the function
i_PA1500_SetDigitalOutputMemoryOn
7)

v_PA1500_Set16DigitalOutputOn (...)

Syntax:
<Return value> = v_PA1500_Set16DigitalOutputOn
Parameters:
BYTE
b_BoardHandle
LONG
l_Value
Task:
Sets one or several outputs of board PA 1500
68
(BYTE b_BoardHandle,
BYTE b_Port,
BYTE b_Value)
Handle of the PA 1500
Number of the output port (1 or 2)
Output value (0 to 255)
(BYTE b_BoardHandle,
LONG l_Value)
Handle of the PA 1500
Output value (0 to 65535)
PA 1500

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents