AddLINT (FB) ¶ FUNCTION_BLOCK AddLINT EXTENDS CBM.ETrigA Adds a LINT value to the buffer. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError , iError ) are present at the outputs for exactly one cycle. ETrigA xAbort BOOL TRUE : Action is stopped immediately and all outputs are reset to their initial values. ETrigA Output xDone BOOL TRUE : Action successfully completed ETrigA xBusy BOOL TRUE : Function block active ETrigA xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrigA xAborted BOOL TRUE : Action aborted by user ETrigA Input liInput LINT The value to be added to the buffer. Output eError ERROR Error code of the call. Inout rCSVWriter CSVWriter Reference to the CSVWrtiter-FB
AddLREAL (FB) ¶ FUNCTION_BLOCK AddLREAL EXTENDS CBM.ETrigA Adds a LREAL value to the buffer InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError , iError ) are present at the outputs for exactly one cycle. ETrigA xAbort BOOL TRUE : Action is stopped immediately and all outputs are reset to their initial values. ETrigA Output xDone BOOL TRUE : Action successfully completed ETrigA xBusy BOOL TRUE : Function block active ETrigA xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrigA xAborted BOOL TRUE : Action aborted by user ETrigA Input lrInput LREAL The value to be added to the buffer. Output eError ERROR specific Outputs Inout rCSVWriter CSVWriter Reference to the CSVWrtiter-FB
AddLTIME (FB) ¶ FUNCTION_BLOCK AddLTIME EXTENDS CBM.ETrigA Adds a LTIME value to the buffer. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError , iError ) are present at the outputs for exactly one cycle. ETrigA xAbort BOOL TRUE : Action is stopped immediately and all outputs are reset to their initial values. ETrigA Output xDone BOOL TRUE : Action successfully completed ETrigA xBusy BOOL TRUE : Function block active ETrigA xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrigA xAborted BOOL TRUE : Action aborted by user ETrigA Input ltInput LTIME The value to be added to the buffer. Output eError ERROR Error code of the call. Inout rCSVWriter CSVWriter Reference to the CSVWrtiter-FB
AddLWORD (FB) ¶ FUNCTION_BLOCK AddLWORD EXTENDS CBM.ETrigA Adds a LWORD value to the buffer. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError , iError ) are present at the outputs for exactly one cycle. ETrigA xAbort BOOL TRUE : Action is stopped immediately and all outputs are reset to their initial values. ETrigA Output xDone BOOL TRUE : Action successfully completed ETrigA xBusy BOOL TRUE : Function block active ETrigA xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrigA xAborted BOOL TRUE : Action aborted by user ETrigA Input lwInput LWORD The value to be added to the buffer. Output eError ERROR Error code of the call. Inout rCSVWriter CSVWriter Reference to the CSVWrtiter-FB
AddREAL (FB) ¶ FUNCTION_BLOCK AddREAL EXTENDS CBM.ETrigA Adds a REAL value to the buffer. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError , iError ) are present at the outputs for exactly one cycle. ETrigA xAbort BOOL TRUE : Action is stopped immediately and all outputs are reset to their initial values. ETrigA Output xDone BOOL TRUE : Action successfully completed ETrigA xBusy BOOL TRUE : Function block active ETrigA xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrigA xAborted BOOL TRUE : Action aborted by user ETrigA Input rInput REAL The value to be added to the buffer. Output eError ERROR Error code of the call. Inout rCSVWriter CSVWriter Reference to the CSVWrtiter-FB
AddSINT (FB) ¶ FUNCTION_BLOCK AddSINT EXTENDS CBM.ETrigA Adds a SINT value to the buffer. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError , iError ) are present at the outputs for exactly one cycle. ETrigA xAbort BOOL TRUE : Action is stopped immediately and all outputs are reset to their initial values. ETrigA Output xDone BOOL TRUE : Action successfully completed ETrigA xBusy BOOL TRUE : Function block active ETrigA xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrigA xAborted BOOL TRUE : Action aborted by user ETrigA Input siInput SINT The value to be added to the buffer. Output eError ERROR Error code of the call. Inout rCSVWriter CSVWriter Reference to the CSVWrtiter-FB
AddSTRING (FB) ¶ FUNCTION_BLOCK AddSTRING EXTENDS CBM.ETrigA Adds a STRING value to the buffer. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError , iError ) are present at the outputs for exactly one cycle. ETrigA xAbort BOOL TRUE : Action is stopped immediately and all outputs are reset to their initial values. ETrigA Output xDone BOOL TRUE : Action successfully completed ETrigA xBusy BOOL TRUE : Function block active ETrigA xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrigA xAborted BOOL TRUE : Action aborted by user ETrigA Input sInput STRING The value to be added to the buffer. Output eError ERROR Error code of the call. Inout rCSVWriter CSVWriter Reference to the CSVWrtiter-FB
NextElement (FB) ¶ FUNCTION_BLOCK NextElement EXTENDS CBM.ETrig Reads the next element of a CSV file. InOut: Scope Name Type Initial Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError ) are present at the outputs for exactly one cycle. ETrig Output xDone BOOL TRUE : Action successfully completed ETrig xBusy BOOL TRUE : Function block active ETrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrig Input udiMaxElementLength UDINT 255 Max length of the element xReset BOOL Reset the read position to the first element psElement POINTER TO STRING Pointer to element to read Inout csvReaderInit CSVReaderInit Initialization of the CSV reader Output eError CSV_ERROR Error code xHasNextElement BOOL True, if there are more elements to read
NextLine (FB) ¶ FUNCTION_BLOCK NextLine EXTENDS CBM.ETrig Reads the next line of a CSV file. InOut: Scope Name Type Initial Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError ) are present at the outputs for exactly one cycle. ETrig Output xDone BOOL TRUE : Action successfully completed ETrig xBusy BOOL TRUE : Function block active ETrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrig Input udiMaxLineLength UDINT 255 Max length of a line xReset BOOL Reset the read position to the first element psLine POINTER TO STRING Pointer the result string Inout csvReaderInit CSVReaderInit The initialization of CSV reader Output eError CSV_ERROR Error code xHasNextLine BOOL True, if the reader has more lines.
ReadAll (FB) ¶ FUNCTION_BLOCK ReadAll EXTENDS CBM.ETrig Reads all elements of a CSV file and saves the values in a string array. InOut: Scope Name Type Initial Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError ) are present at the outputs for exactly one cycle. ETrig Output xDone BOOL TRUE : Action successfully completed ETrig xBusy BOOL TRUE : Function block active ETrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrig Input udiMaxElementLength UDINT 80 Max length of an element. pasDataArray POINTER TO STRING Pointer to a string array. The lenght of the strings must be equal to udiMaxElementLength! Inout csvReaderInit CSVReaderInit Initialization of the CSV reader. Output eError CSV_ERROR Error code iNumberOfElements UDINT Nubmer of elements