eight_bools
Lifetime Supporting Member
Good Morning,
I've been working on an HMI using the Panel View 5000 series. I admittedly was not very good at Factory Talk View Studio, but I find view designer to be just different enough to struggle with most common items.
I am trying to concatenate two DINTs with a semi colon in the middle. I can get this to work, but I need to always display two digits, which is where I am having trouble.
Format should be mm:ss, but I am getting mm:ss, mm:s, m:s, m:ss depending on the value of my tags.
This would work in Factory Talk View Studio, but does not work in View Designer:
/*N:2 {::[PLC]Dryex.Line_1[2].Zone_Control.Remaining_Minutes} ZEROFILL DP:0*/:/*N:2 {::[PLC]Dryex.Line_1[2].Zone_Control.Remaining_Seconds} ZEROFILL DP:0*/
This is the expression I am currently using in view designer:
:: Dryex.Line_1[2].Zone_Control.Remaining_Minutes +":"+:: Dryex.Line_1[2].Zone_Control.Remaining_Seconds
Anyone have any thoughs? If we hadnt already purchased the PanelView 5000 I would go back to a PanelView Plus 7.
Thanks
I've been working on an HMI using the Panel View 5000 series. I admittedly was not very good at Factory Talk View Studio, but I find view designer to be just different enough to struggle with most common items.
I am trying to concatenate two DINTs with a semi colon in the middle. I can get this to work, but I need to always display two digits, which is where I am having trouble.
Format should be mm:ss, but I am getting mm:ss, mm:s, m:s, m:ss depending on the value of my tags.
This would work in Factory Talk View Studio, but does not work in View Designer:
/*N:2 {::[PLC]Dryex.Line_1[2].Zone_Control.Remaining_Minutes} ZEROFILL DP:0*/:/*N:2 {::[PLC]Dryex.Line_1[2].Zone_Control.Remaining_Seconds} ZEROFILL DP:0*/
This is the expression I am currently using in view designer:
:: Dryex.Line_1[2].Zone_Control.Remaining_Minutes +":"+:: Dryex.Line_1[2].Zone_Control.Remaining_Seconds
Anyone have any thoughs? If we hadnt already purchased the PanelView 5000 I would go back to a PanelView Plus 7.
Thanks