CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

upper/lower case declaration variaible
https://forum.codesys.com/viewtopic.php?f=1&t=7736
Page 1 of 1

Author:  hki75 [ Wed Apr 05, 2017 7:46 am ]
Post subject:  upper/lower case declaration variaible

is it possible in Codesys 2 to define 2 variable as following:

VAR1 : bool;
var1 : bool;

without get error on compiling?

Author:  scott_cunningham [ Wed Apr 05, 2017 11:29 pm ]
Post subject:  Re: upper/lower case declaration variaible

CoDeSys variables are case insensitive- both variables you asked about are the same as far as CoDeSys is concerned. This was a decision to make troubleshooting in the field easier.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/