Adding variables
Adding variable or channels
The prerequisite is a TwinCAT Measurement project with a Scope View. To add channels to the configuration, double-click in the Target Browser on the corresponding channels in the tree structure or mark channels and select the command Add Symbols (Add Subsymbols) in the context menu or the toolbar. The symbols are now inserted at the last-selected place in the Scope configuration. Alternatively, you can add selected elements anywhere in the configuration via drag & drop.
If you select a folder, an Ads Big type or an array containing subsymbols, the command Add Subsymbols adds a channel for each subsymbol. The command Add Symbol only adds one channel with the information for the selected symbol.
Disabling and enabling a channel
A channel can be disabled in the configuration in order to prevent it being recorded. However, it is retained when saving the configuration.
In the Solution Explorer, mark the channel to be deactivated and set the Disabled property in the Properties window to TRUE.
Task selection
If you select a target computer in the tree structure, the connected tasks become visible. These are marked in color:
- Green = PLC task
- Blue = NC task
- Red = other
If a task is not displayed, you can use Enable Server Ports to call up a selection menu that displays the restriction to particular tasks.
All popular Ads ports are displayed in the dialog, regardless of whether server tasks are concerned. If a port is not listed here it can be entered in the text field at the bottom left. All selected ports that are servers are adopted after confirming with OK. Subsequently a check is made as to which of the ports exist, in order to update the display.
Viewing the symbol list
If a symbol list is available for the selected task, you can call it by selecting. All symbols of a task are transferred into a hierarchical view according to separators (e.g. '.'), allowing simple browsing.
Settings
The option Name Detail Level in the settings can be used to set the detail level of the channel name formed from the symbol name. If the detail level is zero, only the part of the symbol name after the last dot is transferred. Each further level then adds the term before the respective next full stop. For example, with a detail level of “0” the symbol “Main.Signals.Sine” becomes “Sine”, with a detail level of “1” it becomes “Signals.Sine”, with a detail level of “2” or higher “Main.Signals.Sine”.
Starting and stopping a recording
Once you have selected all channels for the recording you can start the recording with the Record command in the TwinCAT Measurement toolbar () and stop it again with the Stop Record command ()