PLC API | Function blocks Outputs VAR_OUTPUT bBusy : BOOL; bError : BOOL; nErrId : UDINT; END_VAR 6.1.3 FB_CUSTOM_SERVICE | FB_CUSTOM_SERVICE You can create almost any CIP service using the FB_CUSTOM_SERVICE function block. VAR_INPUT sNetId : T_AmsNetID; sIPv4Addr : T_IPv4Addr; bExecute : BOOL; nServiceCode : BYTE; nClass : WORD; nInstance : WORD; nAttribute : WORD; pDst : POINTER TO BYTE; nMaxLen : WORD; pSrc : POINTER TO BYTE; nSrcDataLen : WORD; nSessionTimeoutMSec : DWORD; nCmdTimeoutMSec : DWORD; bRackComm : BOOL; nPort : BYTE; nSlot : BYTE; END_VAR Inputs TF6281 54 Version:
1.9.0 Name Type Description bBusy BOOL When the function block is enabled, this output is set and remains set until a feedback is received. While Busy = TRUE, no new command will be accepted at the inputs. bError BOOL If an error occurs during the transfer of the command, then this output is set once the bBusy output was reset. nErrId UDINT If an bError output is set, this parameter supplies an error number.