Overview
The INSYS icom industrial routers and fault monitors with INSYS OS support automatic data transmission from monitored PLCs or other devices to the Cumulocity Cloud. This is realised by the Monitoring App, an addition to the standard INSYS OS firmware. The app allows an easy and efficient monitoring of Siemens LOGO!™ and S7 controls as well as Modbus TCP/RTU devices or the I/Os of an INSYS IMON fault monitor. Measurement values, conditions, events and alarms can be transmitted to the Cumulocity Cloud. All available data can be setup directly in the Monitoring App and are automatically provided to the cloud account for (automatically self-scaling) charts and lists. Several PLCs can be monitored in parallel with one INSYS Smart Device. The transmission of data to several cloud accounts is also possible If the cloud service or transmission path is (temporarily) not available, data can be buffered on the INSYS Smart Device or transmitted via redundant transmission paths in the meantime. Cloud Control enables the modification of parameters of the INSYS Smart Device from the cloud service.
The following INSYS OS Smart Devices support Cumulocity (Monitoring App 2.5.2 or higher must be installed):
- IMON series: Condition Monitors
- EBW series: Basic Industrial Routers
- MoRoS series: All-round Industrial Routers
Cumulocity support for INSYS Smart Devices with icom OS is described here.
Setup Cumulocity Cloud
The following example for a simple monitoring application (monitoring input 1 of an INSYS IMON Smart Device and displaying the status in Cumulocity) is broken up in two steps:
It is necessary to make the following settings in both web interfaces, of Cumulocity and the Monitoring App of the Smart Device.
Prerequisites
- You have a functional Monitoring App with one of above INSYS Smart Devices.
- The Monitoring App is installed on the INSYS Smart Device and the required monitoring package is available and licensed.
- The INSYS Smart Device has Internet connection.
Device Registration
You need to register the INSYS Smart Device in your Cumulocity Cloud account first. The self-registration functionality of Cumulocity uses the serial number of the INSYS Smart Device as unique identifier. The serial number is indicated on the device label and can also be displayed in the System menu on the System data page in the web interface of the INSYS Smart Device.
Registering the device in Cumulocity
Enter the serial number of the INSYS Smart Device in the Device Management menu on the Registration page of Cumulocity and click on Register Device.
The device is registered in Cumulocity with this. Cumulocity is waiting for the first connection of this device.
Now you need to go to the web interface ot the Monitoring App to proceed.
Adding Cumulocity as recipient
It is necessary to add the Cumulocity Cloud as a recipient in the Monitoring App. To do so, proceed as follows:
- In the Setup application menu, open the Recipients page and click on Add recipient
- Enter a descriptive Name for the recipient and select the Type Cumulocity-Cloud
- Choose the Protocol https
- Enter the Server-URL of your Cumulocity account
- Enter a descriptive Device name for the monitored device
- Check the checkbox Self-registration
- Click on OK
The INSYS Smart Device will now establish the connection to Cumulocity. You’ll then need to accept the registration as outline in the following section.
Accepting the registration
The Monitoring App has configured the recipient now and will connect to Cumulocity via the INSYS Smart Device. This is indicated by the pending acceptance message. You only need to accept the registration in the Devices menu on the Registration page of Cumulocity now and the device is available in Cumulocity.
Application Configuration
The following simple exemplary application monitors input 1 of an INSYS IMON fault monitor and transmits the condition of input 1 to Cumulocity every time it changes. The following configuration steps in the web interface of the Monitoring App are necessary for this (adding Cumulocity as recipient has already been done in the previous steps):
- Adding the IMON as device
- Adding input 1 as element
- Adding monitoring of input 1
- Adding the server feed action
- Adding the assignment of monitoring and action
Adding the IMON as device
It is necessary to add the IMON as a device in the Monitoring App. To do so, proceed as follows:
- Click on ? (Display help text) to aid setup with inline help text
- In the Setup application menu, open the Devices page and click on Add device
- Enter a descriptive Name for the device and select the Type I/O
- Click on OK
Adding input 1 as element
It is necessary to add input 1 as an element in the Monitoring App. To do so, proceed as follows:
- In the Setup application menu, open the Elements page and click on Add element
- Enter a descriptive Name for the element and select the Device IO, IMON and Input Number 1
- Click on OK
Adding monitoring of input 1
It is necessary to add a monitoring. In this example, we’ll monitor the IMON for a change of input 1.
- In the Monitoring menu, click on Add monitoring
- Enter a descriptive Name for the monitoring and select the Source Element, IN1 and toggles
- Click on OK
Adding the server feed action
It is necessary to add an action that imitates a server feed to Cumulocity when triggered.
- In the Actions menu on the Definitions page, click on Add action
- Enter a descriptive Name for the action and select the Target Server feed
- Select the previously added Recipient
- Select the Message type Measurements
- Enter a descriptive Chart name
- Enter a Type that can be used by downstream applications
- Enter a Unit for the value
- Select the element to be transmitted using the button »
- Click on OK
Adding the assignment of monitoring and action
It is necessary to assign the monitoring to the action that is to be triggered when the monitored condition is detected.
- In the Actions menu on the Assignments page, click on Add assignment
- Assign the previously added Monitoring to the respective Action
- Click on OK
Checking the result
It is necessary to assign the monitoring to the action that is to be triggered when the monitored condition is detected.
- In the Actions menu on the Assignments page, click on Add assignment
- Assign the previously added Monitoring to the respective Action
- Click on OK
Refer to the INSYS website for further information.