Siemens SIMATIC S7-300 Manual page 102

Fm 354 servo drive positioning module
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

Programming the FM 354
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.
FC 5 can only be used in OB 40 with the appropriate S7-300 CPU versions;
see compatibility list in Table 1-1.
Called either in interrupt OB 40 (un-
der development) or in the OB 1 con-
text
Call options
Description of
The following table describes the parameters of FC MSRMENT
parameters
DB_NO
RET_VAL INT
IN_MSR
Parameter types: I = input parameter, Q = output parameter,
6-22
Centralized use
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/Q
I/Q = in/out parameter (initiation parameter)
Distributed use (under development)
Call in interrupt OB 40 not possible, since data
transfer from the DP (distributed I/O) is not
synchronous; hence call in the OB 1 context
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
FM 354 Servo Drive Positioning Module
:= ,
:= ,
:= );
.

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents