Wednesday, June 27, 2012

July 27 CBC forte implementation

Designing the interfaces for all CBC functions except for create functions (coming) produced interfaces amazingly similar to LMS FBs for similar sensors. Motors are quite different, but not the interface. So are general FB interfaces needed, where only the insides changes or are that can be used as templates?


Forte Specific questions:
Nothing major, but need to note 

  • WSTRING and STRING data inputs and String functions like strcmp. What type conversions are needed to get it to work.  [ask in fordiac forums]
  • RSP exported like a normal input event, but it isn't [forte issue - start outside of forums]
  • CBC shut_down_in(float delay)  Delay is a time, but is type float. 1499 uses "REAL" for float, (I thought), but get type problem. Plus really should use TIME for type even if have to translate it to float. [Assume seconds, but will test and work on translation]