QOR
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
IN1 INn |
BOOL |
|
|
|
Boolean inputs. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
DINT |
|
|
Number of inputs being TRUE. |
Remarks
- The block accepts a non-fixed number of inputs.
FBD Language Example
The block can have a maximum of 16 inputs.
FFLD Language Example
The block can have a maximum of 16 inputs.
IL Language Example
Op1: LD IN1
QOR IN2, IN3
ST Q
ST Language Example
Q := QOR (IN1, IN2);
Q := QOR (IN1, IN2, IN3, IN4, IN5, IN6);