Siemens SIMATIC STEP 7 V5.2 Getting Started page 49

Table of Contents

Advertisement

Programming Speed Monitoring
Append an output assignment to the comparator and address the inputs with the
names from the variable declaration table.
Then save your program.
When is the engine switched on and off?
When the variable #Switch_On has signal state "1" and the variable "Automatic_Mode" has
signal state "0," the engine is switched on. This function is not enabled until
"Automatic_Mode" is negated (normally closed contact).
When the variable #Switch_Off has signal state "1" or the variable #Fault has signal state
"0," the engine is switched off. This function is achieved again by negating #Fault (#Fault is
a "zero-active" signal and has the signal "1" in the normal state and "0" if a fault occurs).
How does the comparator monitor the engine speed?
The comparator compares the variables #Actual_Speed and #Setpoint_Speed and assigns
the result of the variables to #Setpoint_Speed_Reached (signal state "1").
STEP 7 Getting Started
A5E00171228-01
Creating a Program with Function Blocks and Data Blocks
Insert a new network and select the
input area.
Then navigate in the Program
Elements catalog under you reach the
Compare function, and insert a
CMP>=I.
You can find more information under Help >
Contents in the topics "Programming Blocks,"
"Creating Logic Blocks," and "Editing the Variable
Declaration" or in "Editing FBD Instructions."
5-13

Advertisement

Table of Contents
loading

Table of Contents