
lilbowwwow (Customer) asked a question.
Showing timer Acc. value on cmore
I have a domore PLC and a CM5 HMI
I would like to display a timer's acc. value on a hmi but I can just display it in a second format and not in a minute format.
Is there a way to do this or would I have to write code on the PLC to convert it first and than display the conversion.
The easiest way would be with a string, STRPRINT SS0 FmtTMR(T0,sec) would return for example 2h 4m 3s in SS0 when T0.Acc is 7,443,000.
Depending on your requirements; ranges, limits, etc, you could use the C-more Scaling Option on the Options tab in the Numeric Display. We use this method to show setpoints in minutes. For example: PLC Value Point1 = 0, PLC Value Point2 = 60000, Display Value Point1 = 0, Display Value Point2 = 1. And in the password-protected screen (where the manager sets the setpoints), we use the same scaling for the Numeric Entry object, with the Range set at 0-99 minutes (PLC timer range = 0 to 5940000).