# Logging Data at Specified Timing

Logs the designated variable value each time the designated BOOL variable turns ON.

## Example Operation

## Setting Workflow

1. Add Variables
2. Add Logging Group
3. Assign the Variables

## Add Variables

### Project Explorer : [Variables] ➞ [All Variables]

Add the following variables.

#### Variables properties :

[Name] | [Data Type] | [Source] | [Device Address]
Var1 | [INT] | 'Schneider Modbus Serial Equipment' | 400005
Var2 | [INT] | 400030
Var3 | [INT] | 400031
Var4 | [BOOL] | (Any) | (Any)

## Add Logging Group

### Project Explorer : [All Loggings]

Add the following logging group.

[Name]
LoggingGroup1

#### Logging Group (Name: LoggingGroup1) properties :

Tab | Property | Value
[Basic] | [Max Record] | 300
[Condition Type] | [ValueChange]
[Execution Condition] | [ON]
[Trigger Variable] | [Variable] [Name]: Var4

## Assign the Variables

### Project Explorer : [LoggingGroup1]

Assign the following variables.

[Variable Name]
Var1
Var2
Var3