Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84248members
353348posts

Reading device status from field units

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
jen6190
Ensign Ensign
Ensign
2
1338

Reading device status from field units

Please i am new to GEO SCADA. i am using  DNP3  Analog Input to read status from my GP10 and RT10 field units,i want to view their device status but i do not want the actual status value to show, i want it to show "online or offline". So want is , if device status value is "1" it should show online on my HMI and not the actual value "1". Please how do i do this??


Accepted Solutions
Hardin4019
Lieutenant
Lieutenant
1
1329

Re: Reading device status from field units

Put a text field in your Mimic, then animate the value text field with an if statement. Something like iif("devicestatus.currentvalue" = 1, 'Online', 'Offline'). The problem is a value greater than 1 like the 2049 device status you posted in the other thread also means 1 + 2048, which is online, and the device configuration was changed through the buttons on the device. You will need to come up with some exception handling in your if statement, like if the device status is a 2 or a 3 then the battery is low and the device is offline (2) or battery is low and still online (3), and anything greater than 3 (like 2049) is the (devicestatus.currentvalue - 2048) to get the lower more meaningful bit values.

 

I'm not sure about DNP3, but in Modbus, you could use a digital input and point it to only a single bit of an integer containing register (with a bit offset for anything higher than the least significant bit up to +7 bits) and get only the device status (online or offline). But this has the added side effect of not telling your users if the battery is low without using another point. 

 

Also don't forget that there are other ClearSCADA status's that are meaningful, like Out of Communications (outstation), point configuration errors, etc, that would be good to include as possible messages for your users. A typical display of a value for me is a small mimic point display mimic that has all of these things setup as animations, point value / state, alarm state including disabled alarms, alarm severity color, blink, and point name or objectdisplayname, etc.

See Answer In Context

2 Replies 2
Hardin4019
Lieutenant
Lieutenant
1
1330

Re: Reading device status from field units

Put a text field in your Mimic, then animate the value text field with an if statement. Something like iif("devicestatus.currentvalue" = 1, 'Online', 'Offline'). The problem is a value greater than 1 like the 2049 device status you posted in the other thread also means 1 + 2048, which is online, and the device configuration was changed through the buttons on the device. You will need to come up with some exception handling in your if statement, like if the device status is a 2 or a 3 then the battery is low and the device is offline (2) or battery is low and still online (3), and anything greater than 3 (like 2049) is the (devicestatus.currentvalue - 2048) to get the lower more meaningful bit values.

 

I'm not sure about DNP3, but in Modbus, you could use a digital input and point it to only a single bit of an integer containing register (with a bit offset for anything higher than the least significant bit up to +7 bits) and get only the device status (online or offline). But this has the added side effect of not telling your users if the battery is low without using another point. 

 

Also don't forget that there are other ClearSCADA status's that are meaningful, like Out of Communications (outstation), point configuration errors, etc, that would be good to include as possible messages for your users. A typical display of a value for me is a small mimic point display mimic that has all of these things setup as animations, point value / state, alarm state including disabled alarms, alarm severity color, blink, and point name or objectdisplayname, etc.

jen6190
Ensign Ensign
Ensign
0 Likes
0
1317

Re: Reading device status from field units

Thanks! this is working just fine also, i  assumed that if battery is low and still online (2) , i will have 2 + 2048, so i wrote an expression for this following your suggestion.