Group Input/Output declaration

  • Hi,


    Can anybody help me with the proper syntax to declare a group I/O for a KRS2?


    I remember that it has to be under the config file,but that's all...


    Thanks a lot!

  • Works in any DAT file, in fact, although for some odd reason you can't use the GLOBAL keyword on SIGNAL declarations. At least, not as of KSS 5.6.8. So if you want the "group" signal to be global, it does need to be declared in CONFIG.DAT.


    For any size less than 32bit, any given SIGNAL will be treated as an unsigned integer variable. If you SIGNAL declare a 32bit range, the 32nd bit will be treated as a sign bit.

Advertising from our partners