Before you can start using a UniStream controller with UniCloud, you need to take the following actions:
In UniLogic:
Enable your project for UniCloud, then sign up for UniCloud (or sign in if you already have a UniCloud account).
Next, you create a Asset Type,and include the tags and alarms you wish to make accessible to UniCloud.
Lastly, you Sync the Asset type with UniCloud, and download the project to your PLC.
In UniApps:
Activate UniCloud in the PLC, either via VNC, or by physically touching the HMI panel.
Create an Asset. You can do this via
UniApps, or via UniCloud.
Note that if you create an Asset via UniCloud, you need to load
a Security Certificate to the PLC, when you create an Asset in UniApps,
the PLC loads a certificate automatically and transparently.
In UniCloud: Sign into your UniCloud web account and create your first Dashboard.
The Asset type, along with the tags and alarms, are part of the UniLogic project, and may be downloaded to any number of PLCs. This means you can, for example, use a UniCloud dashboard to manage a series of machines spread over multiple locations.
1. Configure
the PLC's IP address, default gateway and
DNS Server.
2. Enable
VNC.
3. In the
Solution Explorer, click UniCloud, and then click to enable UniCloud integration.
If you have a UniCloud Account, skip to How
to Create an Asset Type.
If you do not have an account, create one according to the steps below.
To create your UniCloud
account, click Create Organization.
Enter the account administrator's
email address as the Main Contact and click Next.
Enter the Organization's
details and click Create Organization.
After you click Create Organization, UniLogic asks you to confirm the email sent to the Main Contact address.
Return to UniLogic and click
the Log in button on the ribbon. Use the credentials of your new organization.
You have now created an Organization and logged into your UniCloud account.
An Asset Type comprises the tags and alarms that you define as accessible by UniCloud
Click Create Asset Type.
Enter the Asset Name, and
click Create Asset Type.
UniLogic shows the Asset
type settings.
Under Subscription, you can edit the Tags timer interval option to
match your application needs. The interval determines the frequency
at which data syncs to UniCloud. (Note that you can also use a Ladder
element, Sync to Cloud, to force data
to be synced without regard to this Tags timer interval.)
UniLogic estimates the Expected Monthly Number of tag updates according
to your selections; and recommends the subscription plan you need;
if you make changes in your project, UniLogic automatically updates
the estimation.
Tags: in the Solution Explorer, click UniCloud>AssetType>Tags, and then click Add Tag.
Click in the fields to select
the tags; you can select individual tags or an entire struct.
Note that you can select Access Levels: Read only or Read/Write.
Usage count is the total amount of bytes in the selected tags; the
usage count is the basis for calculating your subscription needs.
As you add tags, UniLogic
estimates the Expected Monthly Number of tag updates according to
the Timer Interval and the tags you select, and recommends the subscription
plan you need.
Alarms: in the Solution Explorer, click UniCloud>AssetType>Alarms, and then click Enable Alarms for Cloud.
Check the Alarms you want
to access via UniCloud, or select the entire Alarm group.
Note that the Alarm state is pushed to UniCloud when an alarm turns
on and when it is reset.
In the Solution Explorer, click UniCloud>AssetType>Remote
Access, and then click Remote Access Control Enabled.
Click Sync Asset Type in
order to upload it to UniCloud.
Download your project to
the PLC.
Enter
UniApps:
-via VNC - click the cursor on the upper right corner of the
HMI and hold the mouse button down until the UniApps popop menu appears.
-via touchpanel - touch upper right corner of the HMI panel and maintain
contact until the UniApps popop menu appears.
Select
the Network tab, and press the arrow on the right side of the screen
to access and select UniCloud
Select
Activate UniCloud, and then select Create Asset in UniCloud.
Log in: enter your user name and password, then press Apply.
The Create
Asset window opens.
Note that Organization and Asset Type have been downloaded/synced from
UniLogic; you cannot edit them.
Fill in the Asset Name and click OK.
When the
Asset is created successfully, click Close.
Note that during this process, a security certificate is loaded into
the PLC; this process occurs transparently, without your intervention.
Click on Asset > Start
sending data. This connects UniStream to UniCloud; successful connection
is shown when the Change Status message, shown below, is displayed.
The communication status is now shown as Connected; UniCloud can now
access the Asset and harvest data.