Hi,
I have a question to consult you.
PV name: "Global-second2_dword" is used to display 60 seconds countdown from PLC.
If the seconds countdown is less than 10, it displays a single digital in terminal. Now I want to add zero in the left of the single digital. eg.09,08,07,06,05,04,03,02,01,00.
Maybe string operation may solve the problem. I have tried "scalcout" record, but epics displays the error message:
Record XXX is of unknown type "scalcout" and I have no idea how to write the db.
I have post the record in the following lines:
####################################
record(ai, "Global-Second")
{
field(DTYP, "s7nodave")
field(INP, "@s7_300 (PG=.2s) MW60")
field(SCAN, "I/O Intr")
field(FLNK, "Global-Second2_dword")
}
record(calc, "Global-Second2_dword")
{
field(INPA, "Global-Second.VAL")
field(CALC, "A/10")
}
####################################
Any help will be apprecieated and thanks in advance!
Zhefu