Siemens SIMATIC FM 453 Manual page 119

Servo drive / step drive positioning module
Hide thumbs Also See for SIMATIC FM 453:
Table of Contents

Advertisement

6.5
FC MSRMENT (FC 5) – Read Measured Values
Task
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 Options
Description of
The following table describes the parameters of FC 5
Parameters
DB_NO
RET_VAL INT
IN_MSR
Parameter types: I = input parameter, Q = output parameter,
Principle of
This function works together with a user DB. The DB number is passed when
Operation
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).
FM 453 Servo Drive / Step Drive Positioning Module
C79000-G7076-C453-01
Call in LAD Notation
(ladder diagram)
FC MSRMENT
EN
DB_NO
RET_VAL
IN_MSR
Name
Data
P
Type
Type
WORD
I
Q
BOOL
I/O
I/O = in/out parameter (initiation parameter)
Programming the FM 453
Call in STL Notation
(statement list)
CALL MSRMENT(
ENO
DB_NO
RET_VAL
IN_MSR
.
Meaning
Data block number
Return code of SFC 59 "RD_REC"
Start Read process
:= ,
:= ,
:= );
6-23

Advertisement

Table of Contents
loading

Table of Contents