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 "Ladder diagram" Ladder logic is a method of drawing electrical logic schematics. It is now a very popular graphical language for programming Programmable Logic Controllers (PLCs). It was originally invented to describe logic made from relays. The name is based on the observation that programs in this language resemble ladders, with two vertical "rails" and a series of horizontal "rungs" between them IN1
QOR IN2, IN3
ST "Structured text" A high-level language that is block structured and syntactically resembles Pascal Q
ST Language Example
Q := QOR (IN1, IN2);
Q := QOR (IN1, IN2, IN3, IN4, IN5, IN6);