lib/iec_types_all.h
changeset 628 fe0d516fe291
parent 404 ff3313e22883
child 743 fbf77edf54ca
equal deleted inserted replaced
627:e7caa7d32ef5 628:fe0d516fe291
   129   TIME elapsed_time;  // time since step is active
   129   TIME elapsed_time;  // time since step is active
   130 } STEP;
   130 } STEP;
   131 
   131 
   132 typedef struct {
   132 typedef struct {
   133   BOOL stored;  // action storing state. 0 : not stored, 1: stored
   133   BOOL stored;  // action storing state. 0 : not stored, 1: stored
   134   BOOL state; // current action state. 0 : inative, 1: active
   134   __IEC_BOOL_t state; // current action state. 0 : inative, 1: active
   135   BOOL set;   // set have been requested (reset each time the body is evaluated)
   135   BOOL set;   // set have been requested (reset each time the body is evaluated)
   136   BOOL reset; // reset have been requested (reset each time the body is evaluated)
   136   BOOL reset; // reset have been requested (reset each time the body is evaluated)
   137   TIME set_remaining_time;    // time before set will be requested
   137   TIME set_remaining_time;    // time before set will be requested
   138   TIME reset_remaining_time;  // time before reset will be requested
   138   TIME reset_remaining_time;  // time before reset will be requested
   139 } ACTION;
   139 } ACTION;