Iec 61131-3 Second edition 2003-01 Programmable controllers – Part 3: Programming languages
Download 1.35 Mb. Pdf ko'rish
|
ourdev 569653
- Bu sahifa navigatsiya:
- 2.6.4.5 Action control The control of actions shall be functionally equivalent to the application of the following rules: 1)
Table 45 - Action qualifiers
No. Qualifier Explanation 1 None Non-stored (null qualifier) 2 N N on-stored 3 R overriding Reset 4 S S et (Stored) 5 L time Limited 6 D time Delayed 7 P P ulse 8 SD S tored and time Delayed 9 DS D elayed and Stored 10 SL S tored and time Limited 11 P1 P ulse (rising edge) 12 P0 P ulse (falling edge) 2.6.4.5 Action control The control of actions shall be functionally equivalent to the application of the following rules: 1) Associated with each action shall be the functional equivalent of an instance of the ACTION_CONTROL function block defined in figures 14 and 15. If the action is declared as a Boolean variable, as defined in 2.6.4.1, the Q output of this block shall be the state of this Boolean variable. If the action is declared as a collection of statements or networks, as defined in 2.6.4.1, then this collection shall be executed continually while the A (activation) output of the ACTION_CONTROL function block stands at BOOL#1. In this case, the state of the output Q (called the "action flag") can be accessed within the action by reading a read-only boolean variable which has the form of a reference to the Q output of a function block instance whose instance name is the same as the corresponding action name, for example, ACTION1.Q. NOTE 1 The condition Q=FALSE will ordinarily be used by an action to determine that it is being executed for the final time during its current activation. NOTE 2 The value of Q will always be FALSE during execution of actions invoked by P0 and P1 qualifiers. NOTE 3 The value of A will be TRUE for only one execution of an action invoked by a P1 or P0 qualifier. For all other qualifiers, A will be true for one additional execution following the falling edge of Q. NOTE 4 Access to the functional equivalent of the Q or A outputs of an ACTION_CONTROL function block from outside of the associated action is an implementation-dependent feature. NOTE 5 The manufacturer may opt for a simpler implementation as shown in figure 15 b). In this case, if the action is declared as a collection of statements or networks, as defined in 2.6.4.1, then this collection shall be executed continually while the Q output of the ACTION_CONTROL function block stands at BOOL#1. In any case the manufacturer shall specify which of the features given in table 45 a) is supported. Copyright International Electrotechnical Commission Provided by IHS under license with IEC Not for Resale No reproduction or networking permitted without license from IHS --``````-`-`,,`,,`,`,,`--- 61131-3 IEC:2003(E) – 95 – 2) A Boolean input to the ACTION_CONTROL block for an action shall be said to have an association with a step as defined in 2.6.4.2, or with an action block as defined in 2.6.4.3, if the corresponding qualifier is equivalent to the input name (N, R, S, L, D, P, P0, P1, SD, DS, or SL). The association shall be said to be active if the associated step is active, or if the associated action block's input has the value BOOL#1. The active associations of an action are equivalent to the set of active associations of all inputs to its ACTION_CONTROL function block. A Boolean input to an ACTION_CONTROL block shall have the value BOOL#1 if it has at least one active association, and the value BOOL#0 otherwise. 3 ) The value of the T input to an ACTION_CONTROL block shall be the value of the duration portion of a time-related qualifier (L, D, SD, DS, or SL) of an active association. If no such association exists, the value of the T input shall be t#0s. Download 1.35 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling