Adding LogRecord and Dump Function Blocks
Follow these steps to add the LogRecord function block and Dump method to your project.
Step |
Action |
Comment |
---|---|---|
1 |
Insert a LogRecord function block in your POU using the Input Assistant or by directly typing LogRecord. |
From the Input Assistant dialog box, make these selections: oCategories: Function Blocks (Libraries) oItems: {} SEDL > LogRecord (Items in structured view) |
2 |
Click OK or press ENTER. |
The LogRecord function block is now part of your project. |
3 |
Select the appropriate data log file as LogRecord instance name |
From the input assistant, select the appropriate data log file or directly enter the data log file name. |
4 |
Configure the inputs and outputs as you would for other function blocks. |
Refer to the description of this function block’s parameters. |
Step |
Action |
Comment |
---|---|---|
1 |
Insert a Dump method to your POU using the Input Assistant or by directly typing LogRecord.Dump. |
From the Input Assistant dialog box, make these selections: oCategories: Function Blocks (Libraries) oItems: SEDL > LogRecord > Dump (Items in structured view) |
2 |
Click OK or press ENTER. |
The LogRecord.Dump method is now part of your project. |
3 |
Select the appropriate data log file as LogRecord instance name |
From the Input Assistant, select the appropriate data log file or directly enter the data log file name. |
4 |
Configure the inputs and outputs as you would for other functions. |
Refer to the description of this function block’s parameters. |