Individual Components Command 'Write Values' in the menu 'Online'. Button 'Write Values' in the dialog 'Editing the writelist and the forcelist'. When the command 'Write values' is executed, all the values contained in the writelist are written, once only , to the appropriate variables in the controller at the beginning of the cycle, then deleted from the writelist. (If the command 'Force values' is executed, the variables in question are also deleted from the writelist, and transferred to the forcelist!) In the sequential function chart language (SFC), the individual values from which a transition expression is assembled cannot be changed with 'Write values'.
This is due to the fact that in monitoring the 'Total value' of the expression, not the values of the individual variables are displayed (e.g. "a AND b" is only displayed as TRUE if both variables actually have the value TRUE). In FBD, on the other hand, only the first variable in an expression, used for example as input to a function block, is monitored. Thus a 'Write values' command is only possible for this variable. 'Online' 'Force values' Shortcut: With this command, one or more variables are permanently set to user-defined values. The setting occurs in the run-time system, both at the beginning and at the end of the cycle. The time sequence in one cycle: 1.Read inputs, 2.
Force values 3. Process code, 4. Force values 5. Write outputs. The function remains active until it is explicitly suspended by the user (command 'Online' 'Release force') or the programming system is logged-out. For setting the new values, a writelist is first created, just as described under 'Online' 'Write values'. The variables contained in the writelist are accordingly marked in Monitoring. The writelist is transferred to a forcelist as soon as the command ' Online' 'Force values' is executed. It is possible that an active forcelist already exists, in which case it is updated as required. The writelist is then emptied and the new values displayed in red as 'forced'.
Modifications of the forcelist will be transferred to the program with the next 'Force values' command. The forcelist is created at the first forcing of the variables contained in the writelist, while the writelist existed prior to the first writing of the variables that it contains. The command for forcing a variable, which means that it will be entered into the forcelist can be found at the following places: Command 'Force Values' in the menu ‘Online'. Button 'Force Values' in the dialog 'Editing the writelist and the forcelist'. In the sequential function chart language, the individual values from which a transition expression is assembled cannot be changed with 'Force values'.
This is due to the fact that in monitoring the 'Total value' of the expression, not the values of the individual variables are displayed (e.g. "a AND b" is only displayed as TRUE if both variables actually have the value TRUE). In FBD, on the other hand, only the first variable in an expression, used for example as input to a function block, is monitored. Thus a 'Force values' command is only possible for this variable. 'Online' 'Release Force' Shortcut: + This command ends the forcing of variable values in the controller. The variable values change again in the normal way. Forced variables can be recognized in Monitoring by the red color in which their values are displayed.
You can delete the whole forcelist, but you can also mark single variables for which the forcing should be released. To delete the whole forcelist, which means to release force for all variables, choose one of the following ways: Command 'Release Force' in menu 'Online'. Button 'Release Force' in dialog 'Editing the writelist and the forcelist' Delete the whole forcelist using the command ‘Release Force’ in the dialog ‘Remove Write-/Forcelist’. This dialog opens if you choose the command ‘Release Force’ while also a writelist exists. TX1200 107 Version: 1.3