Technical FAQs

Ask a Question

How to set default values for drive graphic keypad parameters

Goals and Symptoms
In "Display Configuration" tab of "Display" item, the table has no "default value" column.
How to set default values for drive graphic keypad parameters ?
Causes and Fixes
First of all, the "default value" is the value of the parameter after a drive factory setting.
It is not the value of the parameter when the IMC program is started.

The IMC template for Controller Inside has to be used.
From the welcome screen of SoMachine, choose :
"Create new machine", "Start with application", "Controller Templates", "ATV_IMC_Template_for_ATV_CI_Migration.project"

Then in "DisplaySetupParameter" POU, find the following function :

DisplayNumericSet(Indice:=1, (* Display parameter to be configured 1 TO 50 *)
Visibility:=TRUE, (* TRUE : Display it ; FALSE : Hidden *)
AppliLock:=FALSE, (* TRUE : Only Controller Inside can write it *)
RunLock:= FALSE, (* TRUE : No write access when drive is RUN *)
Signed:= FALSE, (* TRUE : the Display parameter is signed *)
Minimum:= 0, (* minimum *)
Maximum:= 500, (* maximum *)
Default:= xxx, (* default value when Factory setting selected *)
Decimal:=0 );

It is used to configure parameter O01.

Replace "xxx" by the desired value.

After a drive factory setting, O01 will be equal to xxx.
Was this helpful?
What can we do to improve the information ?