Internet PLC Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Internet PLC Forum
»
General
»
Technical support
»
Initialization of DM and string
« previous
next »
Print
Pages: [
1
]
Author
Topic: Initialization of DM and string (Read 12646 times)
Tito
Newbie
Posts: 48
Think
Initialization of DM and string
«
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
Logged
support
Global Moderator
Hero Member
Posts: 3174
Re:Initialization of DM and string
«
Reply #1 on:
August 21, 2012, 11:33:12 AM »
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.
Logged
Email: support@triplc.com
Tel: 1-877-TRI-PLCS
Print
Pages: [
1
]
« previous
next »
Internet PLC Forum
»
General
»
Technical support
»
Initialization of DM and string