6-6
FM 453 Servo Drive / Step Drive Positioning Module
C79000-G7076-C453-01
6.2
FC MODE_WR (FC 2) – Control Operating Modes and Process Write
Jobs
You can use FC MODE_WR to:
S
Control modes
S
Process write jobs
You must call FC MODE_WR once per channel in the OB 1 cycle.
The FC performs the following actions:
1. Reads the checkback signals. The values read by the FC are stored in the
user DB in the structure CHECKBACK_SIGNALS.
2. Transfers the control signals from the user DB (structure CON-
TROL_SIGNALS). Depending on the mode selected (CHECK-
BACK_SIGNALS.MODE) control signals CONTROL_SIG-
NALS.START, CONTROL_SIGNALS.DIR_P and
CONTROL_SIGNALS.DIR_M are cleared when a start is detected (edge
generation of signals for FM).
3. Executes the write job from the user DB (JOB_WR), transfers the
associated data from the user DB, and displays the write job status.
4. Generates the status bits JOB_WR.MODE_BUSY (operating mode busy,
i.e. started) and JOB_WR.POS_REACHED (position reached).
Call in LAD Notation
(ladder diagram)
Call in STL Notation
(statement list)
EN
ENO
FC MODE_WR
DB_NO
RET_VAL
CALL
MODE_WR(
DB_NO
:= ,
RET_VAL
:= );
The following table describes the parameters of this FC.
Name
Data
Type
P
Type
Meaning
DB_NO
WORD
I
Data block number
RET_VAL
INT
Q
Return code of SFC 58 “WR_REC”
Parameter types: I = input parameter, Q = output parameter
Task
Call Options
Description of
Parameters
Programming the FM 453
Summary of Contents for SIMATIC FM 453
Page 6: ...vi FM 453 Servo Drive Step Drive Positioning Module C79000 G7076 C453 01 Preface ...
Page 14: ...xiv FM 453 Servo Drive Step Drive Positioning Module C79000 G7076 C453 01 Table of Contents ...
Page 378: ...Index 6 FM 453 Servo Drive Step Drive Positioning Module C79000 G7076 C453 01 Index ...