V_Pa1500_Set16Digitaloutputoff - Addi-Data ADDINUM PA 1500 Technical Description

Digital input and output board
Table of Contents

Advertisement

PA 1500
Example:
Switching on the digital output memory (ON)
see function "i_PA1500_SetOutputMemoryOn (...)
l_Value = 5555 Hex
The outputs 1, 3, 5, 7, 9, 11, 13, 15 are set. The other outputs hold their
state.
Switching off the digital output memory (OFF)
see function "i_PA1500_SetOutputMemoryOff (...)
l_Value = 5555 Hex
Outputs 1, 3, 5, 7, 9, 11, 13, 15 are set.Outputs 2, 4, 6, 8, 10, 12, 14, 16 are
reset.
Return value:
0: No error
-1: The handle parameter of the board is wrong
8)

v_PA1500_Set16DigitalOutputOff (...)

Syntax:
<Return value> = v_PA1500_Set16DigitalOutputOff
Parameters:
BYTE
b_BoardHandle
LONG
l_Value
Task:
Resets one or several outputs of board PA 1500.
Example:
l_Value = 5555 Hex
The outputs 1, 3, 5, 7, 9, 11, 13, 15 are reset.
IMPORTANT!
i
You can use this function only if the digital output memory is ON. See
function i_PA1500_SetOutputMemoryOn (..).
(BYTE b_BoardHandle,
LONG_ l_Value)
Handle of the PA 1500
Output value (0 to 65535)
Standard software
69

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