Jump to content

Recommended Posts

Posted (edited)
I just discovered the data types structure function available to the CJ2H CPUs. It seems like a very neat way to structure all standard device symbols. However, I came on to one small problem, the comments don't display what I have entered in the symbols table and struct member comment. For example: [struct] VSD_Motor Auto := BOOL Manual := BOOL I then create a new motor called M100 (Main mixer motor) as global symbol address 100 with VSD_Motor type. In my program I create a new contact using M100.Auto (100.0) , all works perfect but the comments. when I click on it, the comment only shows 'Auto'. Is there any way to display 'Main mixer motor - Auto'? The data type is kinda useless unless the comments appear properly in the cross referencing. Edited by digispark

Posted
I don't see a way to do it. If I were you, I would name the structure "M100_Main_Mixer_Motor" or something like that, perhaps M100_Main_Mixer for a shorter variation.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...