Alarm_A

PLCopen motion icon

 Function BlockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. - Alarm with automatic resetClosed New start of the microprocessor..

Inputs

Input

Data Type

Range

Unit

Default

Description

ACK

BOOL

 

 

 

Acknowledge command.

IN

BOOL

 

 

 

Process signal.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

 

 

TRUE if alarm is active.

QACK

BOOL

 

 

TRUE if alarm is acknowledged.

Remarks

  • Combine this block with the lim_alrm block for managing analog alarms.

Sequence

FBD Language Example

FFLD Language Example

IL Language Example

(* MyALARM is declared as an instance of ALARM_A functionClosed A function calculates a result according to the current value of its inputs. 
A function has no internal data and is not linked to declared instances. block *)
Op1: CAL MyALARM (IN, ACK)
FFLD  MyALARM.Q
STClosed Structured text - A high-level language that is block structured and syntactically resembles Pascal.  Q
FFLD  MyALARM.QACK
ST  QACK

ST Language Example

(* MyALARM is declared as an instance of ALARM_A function block *)
MyALARM (IN, ACK, RST);
Q := MyALARM.Q;
QACK := MyALARM.QACK;

See Also

Alarm_M