Logs the designated variable value each time the designated BOOL variable turns ON.
Add the following variables.
| [Name] | [Data Type] | [Source] | [Device Address] |
Var1 |
[INT] |
'Schneider Modbus Serial Equipment' |
400005 |
Var2 |
[INT] |
400030 | |
Var3 |
[INT] |
400031 | |
Var4 |
[BOOL] |
(Any) |
(Any) |
Add the following logging group.
| [Name] |
| LoggingGroup1 |
| Tab | Property | Value |
| [Basic] | [Max Record] | 300 |
| [Condition Type] | [ValueChange] | |
| [Execution Condition] | [ON] | |
| [Trigger Variable] | [Variable]
[Name]: Var4 |
Assign the following variables.
| [Variable Name] |
| Var1 |
| Var2 |
| Var3 |