@FatihKeles-vw3yg Merhaba Fatih. Plcde kullandigin adreslerin scada tagler kismina dogru bir sekilde eklenip eklenmedigini kontrol eder misin? Bir de tagleri neslelerle eslestirirken ilgili tagin visible oldugundan emin ol lutfen.
Is it possible to change the tags values in WinCC Flexible without changing the program in the PLC for the purpose of displaying M3 units to barrels or Ft to cm?
Hello. This is possible. An internal tag needs to be created in the SCADA system for the tag containing analog data from the PLC system. A formula should be written in the vbscript to convert feet to centimeters. In this formula, the data received from the PLC in feet units is multiplied by a value of 30.48 and then added to the newly created internal tag. The data in centimeters contained within the internal tag is then added to the SCADA screen for observation. vbscript can be written like this.... Sub ConvertFeetToCm() ' Read the value in feet Dim feetValue feetValue = SmartTags("analog_data_length_in_feet") ' Calculate the value in centimeters Dim cmValue cmValue = feetValue * 30.48 ' Write the value in centimeters to the new tag SmartTags("analog_data_length_in_cm") = cmValue End Sub
Çok güzel bir paylaşım olmuş ellerinize sağlık
Tesekkur ederim.
Thanks for the tutorial. I made a scada using 120 labels but I can't see more than 96 labels at runtime. Is there a tag limit? Can you help me?
@FatihKeles-vw3yg Merhaba Fatih. Plcde kullandigin adreslerin scada tagler kismina dogru bir sekilde eklenip eklenmedigini kontrol eder misin? Bir de tagleri neslelerle eslestirirken ilgili tagin visible oldugundan emin ol lutfen.
NICE
@@goldhunter21 Thank you.
Is it possible to change the tags values in WinCC Flexible without changing the program in the PLC for the purpose of displaying M3 units to barrels or Ft to cm?
Hello. This is possible. An internal tag needs to be created in the SCADA system for the tag containing analog data from the PLC system. A formula should be written in the vbscript to convert feet to centimeters. In this formula, the data received from the PLC in feet units is multiplied by a value of 30.48 and then added to the newly created internal tag. The data in centimeters contained within the internal tag is then added to the SCADA screen for observation.
vbscript can be written like this....
Sub ConvertFeetToCm()
' Read the value in feet
Dim feetValue
feetValue = SmartTags("analog_data_length_in_feet")
' Calculate the value in centimeters
Dim cmValue
cmValue = feetValue * 30.48
' Write the value in centimeters to the new tag
SmartTags("analog_data_length_in_cm") = cmValue
End Sub