Internet PLC Forum
General => Technical support => Topic started by: Tito on August 21, 2012, 10:08:17 AM
-
Hi, How to initialize:-
1) DM,
do i have to put in loop and assign to -1?
2) String
do i have to assign with "" ?
thank you
-
If DIP switch #1 is OFF then all numeric variables are set to zero and all string variables are set to blank upon power on reset.
If DIP switch #1 is ON and your Nano-10 or FMD has FRAM-RTC then these data stays in the FRAM since it is non-volatile. In that case you will need to use a for next loop to assign values to whatever variables you need to set to a certain initial state.