Download this file
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;