Create System Functions
The OPC import data does not automatically generate system functions (schedulers, or trends). They must be manually created after a data import, based on the most current project SX Open configuration file, if:
- Entries are available in the Schedules tab;
- Entries are available in the Trend tab;
- Entries are available in the Configuration tab (the BACnet alarm info column). They must be checked.
Create Management Station Event for OPC Devices
- You imported a CSV file.
- Select Project > Subsystem networks > [OPC network].
- Select the data point to configure the management station event.
- The alarm details are displayed in the Alarm configuration expander in the Configurator tab.
Additional information on creating events is available in Step-by-step > Configuring a Project > Configuration Workflows & Procedures > Configuring Objects:
- Creating a Discrete Alarm
- Creating a Continuous Alarm
- Creating a BitString Alarm
Create a Scheduler Program
Scenario: You want to create a weekly schedule for an OPC object. The times used in the example must be synchronized against the actual project times.
- You imported a CSV file.
- The number of schedules to be created is based on existing schedule available in the Excel worksheet in the Schedules tab.
- In System Browser, select Application View.
- Select Applications > Schedules.
- The Schedules tab displays.
Create a New Schedule
- Click New .
- Click New Management Station Schedule.
- In the Schedules section, click the Linked Objects tab.
- In System Browser, select the Manual navigation check box.
- Select Logical View.
- Select Logical View > [Network Name] > [Plant Name] > [Data Point].
- Drag the data point to the Linked Objects section.
- Click the Schedule entries tab and in the Expander under Output values, set the operating mode values for Inactive and Active as follows:
Active=On and Inactive=Off.
- You can now configure the weekly schedule by setting the daily times for each day of the week for Inactive and Active. Each weekday is initially set in full to inactive (Off).
Create Schedule Entries
- In the weekly view to the right, click the column Monday in the Schedule entries tag. The entire week is initially set to Inactive.
- Right-click in the Monday column and select Add Weekly Entry. Drag the edge of the entry to set the start time to 8 am and the end time to 5 pm.
- In the Schedule entries tab, select, next to the start time (8:00:00), the change to Active and, next to the end time (17:00:00), the change to Inactive. The timespan from 8 am to 5 pm is now set to Active.
- Repeat steps 2-3 for the remaining days of the week: Tuesday, Wednesday, Thursday, and Friday.
- The schedule is now repeated each week. The timespans that you set, for example, for Thursday, is in other words, repeated each Thursday.
Save Schedule
- Click Save .
- The Save Object As dialog box displays.
- In the Name field, enter the text Plant on weekdays from 8-17.
- Click OK.
- The new schedule object is available in the System Browser under Management Station Schedules. The operating mode Occupancy Status is automatically set for each day of the week based on settings for Active/Inactive.
Create Online Trend
Scenario: You want to create an online trend for an OPC object.
- You imported a CSV file.
- The number of online trend objects for creation is defined in the Excel worksheet in the Trend tab.
- In System Browser, select logical view.
- Select Logical View > [Network Name] > [Plant Name] > [Data Point].
- In the Related Items, the corresponding related objects are displayed under Trend.
- Click New Trend.
- The information on the trend is displayed in the secondary pane.
- Drag the selected data point to the trend application.
- Change the Trend View properties.
- Change the series properties.
- Click Save As .
- A Save Object As dialog box appears.
- Select the desired folder to save the Trend View.
- Type a name and description for the new Trend View.
- Click OK.
- An online trendlog object is created for each data point in Application View > Trends > Online Log Objects.
Additional information on creating trends is available in Working with Trends.