QS. Configuring and Launching MasterSCADA

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

QS. Configuring and Launching MasterSCADA

QS. Configuring and Launching MasterSCADA

Click the shortcut Start\Programs\MasterSCADA\MasterSCADA to open IDE; the project creation dialog is opened:

qs_img43

At the tab New Project of the Project Creation dialog, set ex as a name of the project being created, select (if required) a project folder, and click OK. The project access dialog is opened:

qs_img44

Keep the dialog fields empty and click OK. The project is created:

qs_img45

Click the menu command Service\Organizer\OPC DA servers:

qs_img46

Upon this command, the dialog to select a server is displayed. In that dialog, select the InSAT Modbus OPC Server DA server (click to switch the flag qs_img47 on the left of the server to the state qs_img48 ):

qs_img49

Click the OK dialog button.

Right-click the System group, and, in the context menu displayed, execute the command Insert\Computer. In the System group, the Computer1 group is created:

qs_img50

qs_img51

Click the OPC servers group, and then, on the right, click the InSAT Modbus OPC Server DA server. The cursor takes on the form qs_img52 :

qs_img53

While the cursor has that form, click the Computer1 group. The InSAT Modbus OPC Server DA group is added to the system tree:

qs_img54

Right-click the InSAT Modbus OPC Server DA group, and, in the context menu displayed, click the command Insert\All variables and groups:

qs_img55

Now the system tree looks like

qs_img56

Click the System group, and, at the Execution mode tab of the Settings tab, click the Project explorer switch:

qs_img57

In the system tree, click the Computer1 group, and, at the Windows tab, click the Start mnemo button:

qs_img58

Upon this command, the start mnemo is opened in the editor. Drag all tags to that mnemo. As a result, graphic elements to display tag values are placed onto the mnemo:

qs_img59

To place a trend onto the mnemo, do the follows:

mbul   In the Palette window, open the Windows tab, and click the Trend element in the list:

qs_img60

mbul   On the mnemo, click a point where the upper left trend corner must be positioned. As a result, the trend is placed:

qs_img61

mbul   One by one, drag the variables NodeTCP.Modbus.VAL and NodeTCP.Modbus.MAX onto the trend (as a result, the respective trend pens are configured):

qs_img62

The same way, place one more trend onto the mnemo, and drag the tags NodeRS.Modbus.VAL and NodeRS.Modbus.MAX onto that trend. Now the mnemo looks like

qs_img63

Save project components (click the button qs_img64 of the toolbar) and the project itself ( qs_img65 ).

Click the menu command Project\Start:

qs_img66

In the Operator identification dialog, select the sa operator and click OK:

qs_img67

In the Messages dialog displayed, click the Close button:

qs_img68

On the right of the system tree, the window to view/set values of variables is opened. That window displays the current values of the saw-shape signals (NodeTCP.Modbus.VAL and NodeRS.Modbus.VAL), and the upper limits of those signals (NodeTCP.Modbus.MAX and NodeRS.Modbus.MAX). All those values are received from the simulators of a Modbus TCP/IP device and a Modbus RTU device via the Modbus OPC Server server:

qs_img69

To check writing to the simulated devices, double-click a value of the NodeTCP.Modbus.MAX variable and, in the dialog opened, type 60 and click the Yes button:

qs_img70

Then, double-click a value of the NodeRS.Modbus.MAX variable and, in the dialog opened, type 10 and click the Yes button:

qs_img71

New values are displayed in MasterSCADA, in Modbus OPC Server and in the simulators:

qs_img72

qs_img73

Right-click the Computer1 group, and, in the menu displayed, click the command Go to\Mnemo:

qs_img74

The mnemo elements and trends indicate the respective current values of the saw-shape signals and their upper limits:

qs_img75