[r3]: / trunk / mcp3008 / Libraries / SPI_MCP3008 / IoDrvMCP3008 / ICmpIoDrv / IoDrvWriteOutputs / svnobj  Maximize  Restore  History

Download this file

19 lines (18 with data), 2.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{attribute 'conditionalshow'}
METHOD IoDrvWriteOutputs : UDINT
VAR_INPUT
	pConnectorMapList : POINTER TO IoConfigConnectorMap;
	nCount : DINT;
END_VAR
VAR
	i,j : DINT;
	k: UINT;
	wSize : WORD;
	pbyIecAddress : POINTER TO BYTE;
	bySrcValue : BYTE;
	wSrcIndex : WORD;	
	bySrcMask : BYTE;
	wDestIndex : WORD;	
	pdw: POINTER TO DWORD;
IoDrvWriteOutputs_Count := IoDrvWriteOutputs_Count + 1;
IoDrvWriteOutputs := Errors.ERR_OK;