Creating LL984 Segments and Networks
Original instructions
Introduction
The logic of LL984 is programmed in networks.
Several networks are grouped in segments.
Each network contains a matrix of 7 rows and 11 columns, where you can place contacts, coils, function blocks etc.
At the beginning of each segment's code execution the inputs of a RIO drop can be read and at the end the outputs of the same or another RIO drop can be written.
Recommendations
It is recommended not to use more than 64 segments and 5,000 networks in an application.
Restrictions
For creating LL984 segments and networks the following rules apply:
Creating a Segment
Step
Action
1
Left-click the Sections directory of the MAST task, or place the cursor using the arrow keys on this directory.
2
Click the right mouse button or use Shift+F10 to select New Section in the context menu.
Result: The properties dialog for the segment is opened.
3
Enter the section (segment) name.
The section (segment) name must be unique in the entire project and conform to the general naming conventions of Control Expert.
4
Select LL984 Segment as programming Language of the segment.
5
Select the functional module to which the segment is attached from the Localization tab if necessary.
Also refer to Functional modules.
6
Define a boolean variable in the Condition tab with which the segment can be activated/deactivated (segment active when variable=1) if required.
You have the following options to select variables:
  • Enter the name of the variable/address directly or copy it from the clipboard.
  • Use the ... button to open a Data Selection dialog.
7
Only applies to Quantum projects:
Assign a read RIO drop and a write RIO drop to the segment in the Remote IO tab if required.
8
Enter a comment in the Comment tab if desired (max. 1024 characters).
9
If you wish to create additional segments, confirm the entries with Apply. In this case, the dialog will remain open and you can generate additional segments.
If you do not wish to create additional segments, confirm the entries with OK. In this case, the dialog will close and the generated segment is displayed as the last element in the Sections directory.
NOTE: The position of sections and segments inside the Structural view matches exactly the execution sequence and can be changed via drag-and-drop.
Creating a Network
Step
Action
1
Left-click an LL984 Segment in the Sections directory of the MAST task, or place the cursor using the arrow keys on this directory.
2
Click the right mouse button or use Shift+F10 to select New 984 Network in the context menu.
Result: The properties dialog for the network is opened.
3
Enter the network name.
The network name must be unique in the entire project and conform to the general naming conventions of Control Expert.
4
LL984 Network is preselected for the Language of the network and can not be changed.
5
Define a boolean variable in the Condition tab with which the segment can be activated/deactivated (segment active when variable=1) if required.
You have the following options to select variables:
  • Enter the name of the variable/address directly or copy it from the clipboard.
  • Use the command button ...to open a Data Selection dialog.
6
Enter a comment in the Comment tab if desired.
7
Confirm the entries with OK. The dialog will close and the generated network is displayed as the last element in the LL984 Segment directory.
NOTE: The position of networks inside the Structural view matches exactly the execution sequence and can be changed via drag-and-drop.
A new network is normally inserted as the last element in the LL984 Segment directory.
To insert a new network directly before a selected network use Insert Network … from the context menu.
Creating a Network for Subroutines
Step
Action
1
Left-click the SR Sections directory of the MAST task, or place the cursor using the arrow keys on this directory.
2
Click the right mouse button or use Shift+F10 to select New SR Section in the context menu.
Result: The properties dialog for the SR section (LL984 Segment) is opened.
3
Enter the SR section (LL984 segment) name.
The SR section (LL984 Segment) name must be unique in the entire project and conform to the general naming conventions of Control Expert.
4
Select LL984 Segment as programming Language of the segment.
NOTE: There can be only 1 LL984 SR segment in a project. So when there is already 1 existing you can no longer select LL984 Segment as programming Language for a new SR section.
5
Enter a comment in the Comment tab if desired (max. 1024 characters).
6
Confirm the entries with OK. The dialog will close and the generated LL984 segment is displayed in the SR Section directory.
7
Left-click the LL984 Segment in the SR Sections directory of the MAST task, or place the cursor using the arrow keys on this directory.
8
Click the right mouse button or use Shift+F10 to select New 984 Network in the context menu.
Result: The properties dialog for the network is opened.
9
Enter the network name.
The network name must be unique in the entire project and conform to the general naming conventions of Control Expert.
10
LL984 Network is preselected for the Language of the network and can not be changed.
11
Enter a comment in the Comment tab if desired.
12
Confirm the entries with OK. Tthe dialog will close and the generated network is displayed as the last element in the LL984 Segment directory.
NOTE: The position of networks inside the Structural view matches exactly the execution sequence and can be changed via drag-and-drop.
Displaying or Modifying Segment/Network Properties
Step
Action
1
Left-click on the desired segment/network, or place the cursor on this section/network with the arrow keys.
2
Click the right mouse button or use Shift+F10 to select Properties in the context menu.
Result: The Properties dialog for is opened.
3
Implement the desired changes.
4
Confirm all entries with OK.
Exporting/Importing Segments/Networks
Please refer to Exporting/Importing LL984 Segments/Networks.