Cordex®CXCHPControllerSoftwareManual|22-Usingcustomviews,data,timers,counters,scheduler,andcustomactions
22.2.3. Create custom data - basic work flow
Thebasicworkflowforcustomdataisthesame,regardlessofwhatkindcustomdataisbeingcreated.
To create new custom data here is the basic work flow:
1. CreatethenewCustom Data.
2. ConfigureaName andDescription.
3. Createthevariables.
4. Entertheequation.
5. Verifythattheequationisvalid.
6. Testtheequation.
22.2.4. Create custom data - detailed work flow
Thefollowingstepsdescribeageneral,detailedworkflowforcreatingcustomdata.
1. GotoController > Programmability > Custom Data.Thistabledisplaysallthecustomdata
availableinthecontroller.
2. SelecttheAdd Custom Data button.Anewcustomdatalinedisplays.SelecttheGO TO button.
3. Therearethreetables:Configuration,Variables,andText Mapping.TheVariables tableshows
allthevariablesthathavebeencreatedforthiscustomdata.Initiallyitwillbeempty.TheText
Mapping tableisusedtomapnumericandboolean(true/false)resultsintotheResult as Text
entryintheConfiguration table.
4. IntheConfiguration table,enteranameanddescriptionforyourcustomdata.Thedescriptionis
optionalbutanameishighlyrecommended.
5. IntheVariables table,selecttheAdd Numeric Variable orAdd State Variable buttondepending
onthetypeofvariabletobeused.Anewvariablelinewilldisplay,selecttheGO TO button.
6. Inthenewvariabletable,enter:Name,andoptionallyaDescription.Givethevariableashort,but
meaningfulname(withnospaces)becausethisisthenameusedintheequation.
7.
SelecttheField EDIT button,andaselectorscreendisplays.Tousetheselector,selectanitem
fromtheleft-mostcolumn.Anewsetofselectionsdisplaystotheright.Selectuntilyouhavethe
valueneeded.SelectSave.
Onceafieldisselected,thebottomareaofthescreendisplaysthename,valueandadditional
informationwithintheHelp text.
8. Ifthisisastatevariable,alsoselectuptofour“TrueIf”values.
9. Repeatsteps5through8tocreateasmanyvariablesasrequired.
10. Afterallvariableshavebeencreated,selecttheEDIT buttonfortheEquation fieldonthe
Configuration table.Enterthedesiredequation.
11. VerifythattheCustom Data Status fieldshowsValid.Ifitdoesnot,usetheinformationprovided
tofindandfixtheerror.TheError Position,Error Token andExpected Token mayprovide
helpfulinformation.
0350058-J0 Rev AL Page 243