luetin Posted February 11, 2010 Report Posted February 11, 2010 (edited) Hey guys, I've been trying to find out how to display variable comments in ladder view, but I can't find the option anywhere. Is it possible? Any help appreciated! I'm using GX IEC developer 7.04. Edited February 11, 2010 by luetin
Inntele Posted February 11, 2010 Report Posted February 11, 2010 See main menu View: Alias - to see symbolic names of the variables Comment - to see comments to the variables Statement - to see string comments which starts with ";" Note - to see comments to the executable instructions
luetin Posted February 11, 2010 Author Report Posted February 11, 2010 Hmm, I don't have those options, see attached image. I have the "lite" version of GX IEC developer for FX-plcs, does that matter?
Otto_P Posted February 11, 2010 Report Posted February 11, 2010 I'think that just in GX Devloper, I have the full version of GX IEC 7.03, and can't find those opitions.. Would you like to have them displyed all the time in the editor? If not then, activate the tooltip-function. The comments will show when you put the cursor over your variable in the editor.
luetin Posted February 11, 2010 Author Report Posted February 11, 2010 Tooltip works good enough, thanks!
Inntele Posted February 11, 2010 Report Posted February 11, 2010 Sorry that misled, not noticed that you are talking about IEC Developer. Honestly have never experienced the difficulties associated with the need to view the comments to the variables, since I always use DUT and in this case the variable names make it clear to understand what about they meant.
luetin Posted February 12, 2010 Author Report Posted February 12, 2010 I'm modifying a program someone else did, thus is the naming of variables a bit unclear to me. What is this DUT you mention? Some naming-standard?
Inntele Posted February 12, 2010 Report Posted February 12, 2010 (edited) DUT (Data Unit Type) is a complex variable, which can combine several variables relating to the sensors, actuators, etc. (e.g. level sensor, motor, frequency invertor ...). Thus you can create a standard description with set of parameters for defined unit. An example, DUT_Analog_Input: Signal -- INT Signal_Min -- INT Signal_Max -- INT Value_Min -- INT Value_Max -- INT Error -- BOOL You can use such DUT variables in GVL and in FB Header in whole and then to use a single element of DUT in program with name in following format DUT_Name.Variable_Name, an example Frequency_Invertor.Run Also you can create an ARRAY OF DUT. This procedure allow to create standard variables and FB and then to create very structured and readable program. Edited February 12, 2010 by Inntele
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now