Here’s what more than 2,500 business decision-makers around the world say.Download the report
...with the Facility Hero app in hand! Discover how you can optimize your maintenance efforts today.Learn more
Access tailored services, 24/7 self-service and expert help. Anywhere, anytime, any project.Discover now
Everything you need to know about our IoT technology backbone.Learn more
Explore our global offerings or select your country from one of our five regions.Global
Découvrez nos offres globales ou sélectionnez votre pays dans l’une de nos cinq régions.
Yes, this can be done by editing the functionblock's .UCS file found in \proworx\32\Scripts. The ADD.UCS file below will be used as an example. The exercise is to change the first row's description 'Operand # 1' to 'AddBlock1'.
'Editor.scGetText(1)' is being replaced by "AddBlock"
Sub ADD(TopAddr, MidAddr, BotAddr, TopLen, MidLen, BotLen, Page, Unused1, Unused2)
' Create and resize the new grids
NumRows = 1 'Not including the header.
VisableRows = 1 'Not including the header.
Call Editor.scAddGrid( TopAddr, NumRows, VisableRows)
Call Editor.scAddGrid( MidAddr, NumRows, VisableRows)
Call Editor.scAddGrid( BotAddr, NumRows, VisableRows)
' Fill the row descriptions (GridIndex, GridRow, HeaderString, Radix)
Call Editor.scSetRowInfo( 1, 1 , "AddBlock"+"1" ,"Decimal" ) ' "Operand #1"
Call Editor.scSetRowInfo( 2, 1 , Editor.scGetText(1)+"2" ,"Decimal" ) ' "Operand #2"
Call Editor.scSetRowInfo( 3, 1 , Editor.scGetText(2) ,"Decimal" ) ' "Result"
' Set up the Equation line
Call Editor.scAddEquation( "A + B = C" , "1,1,I" , "2,1,I" , "3,1,I" , "" , "" )
Sign up for all the latest solutions, offers and best practices straight to your inbox.
We are excited that you have joined the group. You will receive your welcome email soon describing the program and what to expect in the upcoming weeks. Enjoy!