RMA
Member
I've got to add a few screens to an existing WinCc project. It's five or six years since I last worked with WinCC and I'm having trouble accessing the variables (three analog, four BOOL) in the PLC.
My first attempt was to try accessing the PLC variable list in WinCC, there I could see my variables but when I tried to choose them as the variable parameter for the Input/Output field I got an error message saying that the data types were incompatible (although they don't apear to be).
I then tried setting the "B"-Flag in the Symbol Table for Step7 and Step7 created a Symbol by connecting the CPU name with a "/" to the Symbol in the Symbol Table. This looked exactly as some of the entries in the WinCC variable list ("Internal variables"?, the WinCC server's half a mile away, with no internet connection!), however, after saving the Symbol Table, the newly created Symbols do not appear in the WinCC variable list. Curiously enough, some of the variables which do appear in the WinCC variable list do not have the "B"-Flag set (actually, as far as I can see, none of them do).
One thing I've noticed is that all the variables seem to be in DBs, is this a "must" for WinCC, or can I access Markers, and I/Q-Bits directly?
As usual, the help-files are full of useful information on how to do all sorts of weird and wonderful things, but something as basic as actually accessing the variables is nowhere to be found!
Thanks in advance for any help.
Cheers
Roy
My first attempt was to try accessing the PLC variable list in WinCC, there I could see my variables but when I tried to choose them as the variable parameter for the Input/Output field I got an error message saying that the data types were incompatible (although they don't apear to be).
I then tried setting the "B"-Flag in the Symbol Table for Step7 and Step7 created a Symbol by connecting the CPU name with a "/" to the Symbol in the Symbol Table. This looked exactly as some of the entries in the WinCC variable list ("Internal variables"?, the WinCC server's half a mile away, with no internet connection!), however, after saving the Symbol Table, the newly created Symbols do not appear in the WinCC variable list. Curiously enough, some of the variables which do appear in the WinCC variable list do not have the "B"-Flag set (actually, as far as I can see, none of them do).
One thing I've noticed is that all the variables seem to be in DBs, is this a "must" for WinCC, or can I access Markers, and I/Q-Bits directly?
As usual, the help-files are full of useful information on how to do all sorts of weird and wonderful things, but something as basic as actually accessing the variables is nowhere to be found!
Thanks in advance for any help.
Cheers
Roy