6-23
FM 453 Servo Drive / Step Drive Positioning Module
C79000-G7076-C453-01
6.5
FC MSRMENT (FC 5) – Read Measured Values
You use FC MSRMENT to read the measured values into the user DB (start-
ing at address 60). You can call FC MSRMENT in OB 40, if the process in-
terrupt was activated (see Section 5.2 ), or in OB 1. You are not allowed to
call FC 5 simultaneously in both OBs.
Call in LAD Notation
(ladder diagram)
Call in STL Notation
(statement list)
EN
ENO
FC MSRMENT
IN_MSR
DB_NO
RET_VAL
CALL
MSRMENT(
DB_NO
:= ,
RET_VAL
:= ,
IN_MSR
:= );
The following table describes the parameters of FC 5
.
Name
Data
Type
P
Type
Meaning
DB_NO
WORD
I
Data block number
RET_VAL
INT
Q
Return code of SFC 59 “RD_REC”
IN_MSR
BOOL
I/O
Start Read process
Parameter types: I = input parameter, Q = output parameter,
I/O = in/out parameter (initiation parameter)
This function works together with a user DB. The DB number is passed when
you call the function with the DB_NO parameter.
Reading of the measured values MEASUREMENT_VALUES (in user DB
starting at address 60) is started when you set the in/out parameter IN_MSR
to one. The parameter is reset by the FC after the job is executed. The FC
must be called up until it has reset the in/out parameter. When the FM 453 is
used centrally, the Read job is processed within a single function-block cal-
lup. When the FM 453 is used in a distributed configuration, it may take sev-
eral function block calls to process the read job (only applies when called in
OB 1).
The in/out parameter remains set while the job is running. Data transfer is
complete when the in/out parameter is reset (IN_MSR = FALSE).
Task
Call Options
Description of
Parameters
Principle of
Operation
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 ...