adccommunitymod (AutomationDirect) asked a question.

Line Trend Graph BCD

Created Date: April 26,2015

Created By: hiaxisguy

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Good Evening, I'm displaying a Line Trend Graph on an EA7-S6M HMI and logging the same to the USB. The data being read from the DL-06 PLC is from a thermocouple input module with BCD INT 32 format. As you all know, there is an implied decimal point in this data so when the data is displayed on the graph, a temperature of 78.0 degrees displays as 780 degrees. When displaying data elsewhere in the project, there is the option to scale the data by a user defined factor or specify the position of the implied decimal but I can't seem to figure out how to scale the data by 10 to make it display properly in the graph. How can I divide this data by 10 to make it display properly on the trend and in the log? Obviously it would be fairly simple to just do the data type conversion in the PLC and scale it accordingly and have the screen read the modified data but I should note that this project is already in the field and I am not on site. I have remote access to the screen via VPN and can update the screen software remotely but I cannot update the PLC software remotely so I would like to implement a solution in the screen if possible to avoid the long trip out there. Any ideas? Your help is appreciated. Brian


  • adccommunitymod (AutomationDirect)

    Created Date: April 26,2015

    Created by: hiaxisguy

    Good Evening,

    I'm displaying a Line Trend Graph on an EA7-S6M HMI and logging the same to the USB. The data being read from the DL-06 PLC is from a thermocouple input module with BCD INT 32 format. As you all know, there is an implied decimal point in this data so when the data is displayed on the graph, a temperature of 78.0 degrees displays as 780 degrees.

    When displaying data elsewhere in the project, there is the option to scale the data by a user defined factor or specify the position of the implied decimal but I can't seem to figure out how to scale the data by 10 to make it display properly in the graph. How can I divide this data by 10 to make it display properly on the trend and in the log?

    Obviously it would be fairly simple to just do the data type conversion in the PLC and scale it accordingly and have the screen read the modified data but I should note that this project is already in the field and I am not on site. I have remote access to the screen via VPN and can update the screen software remotely but I cannot update the PLC software remotely so I would like to implement a solution in the screen if possible to avoid the long trip out there.

    Any ideas?

    Your help is appreciated.

    Brian

    Expand Post