Siemens SINAMICS G120 Manual page 62

Hide thumbs Also See for SINAMICS G120:
Table of Contents

Advertisement

5 Functional Mechanisms of this Application
5.4 Parameter access functionality
In the individual states of the step chain, the following functions are executed:
Table 5-5: Function of the states of FB 20 "Parameter_access"
0
Wait for start trigger
1
Start WR_REC
2
Wait for end of
WR_REC
3
Check result of
WR_REC
4
Start RD_REC
5
Wait for end of
RD_REC
6
Check result of
RD_REC
7
Check for errors,
copy outputs
Call of the "Read data record" or "Write data record" system functions
After the currently required control bits were set in the sequence chart of FB 20
"Parameter_access", the "Write data record" and "Read data record" system
functions (SFB 53 "WRREC" and SFB 52 "RDREC") are called in network 10.
It is initially checked, whether the DB to be used exists in the SIMATIC
S7-300/400F CPU and how long it is. This creates an ANY pointer, which
references the data to be send/received, and calls the SFC.
SINAMICS G120C at S7-300/400F-DP
Beitrags-ID: 60441457,
V2.2,
State
Waiting for a rising edge of the "START" signal.
If it is detected, all output signals will be deleted, "BUSY" will
be set and step 1 will be activated.
The "REQ" signal of SFB 53 "WRREC" is set and step 2 is
activated.
Waiting until the "busy" signal of SFB 53 "WRREC" becomes
0 again. Then step 3 is activated.
It is checked whether the data record was written
successfully.
If so, the "REQ" signal of SFB 53 "WRREC" will be deleted
again and step 4 will be activated.
If SFB 53 "WRREC" reports the error 16#DF80_B500 (peer
not ready), step 3 will be activated again and SFB 53
"WRREC" will repeat the job.
If a different error has occurred, the "REQ" signal of SFB 53
"WRREC" will be deleted, an internal error bit will be set and
step 7 will be activated.
The "REQ" signal of FB "RDREC" is set and step 5 is
activated.
It is waited until the "busy" signal of FB "RDREC" becomes 0
again. Then step 6 is activated.
Check whether the data record has been read successfully.
If so, the "REQ" signal of SFB 52 "RDREC" will be deleted
again and step 7 will be activated.
If SFB 52 "RDREC" reports the error 16#DE80_B500 (peer
not ready), step 5 will be activated again and FB "RDREC"
will repeat the job.
If a different error has occurred, the "REQ" signal of SFB 52
"RDREC" will be deleted, an internal error bit will be set and
step 7 will be activated.
It is checked whether one of the internal error bits has been
set.
If an error bit has been set,
If no error bit has been set, the read times will be output, the
"BUSY" will be deleted, the "DONE" will be set and step 0
will be activated.
11/2014
Function
the "ERROR" signal will be set,
the "BUSY" signal deleted,
step 0 activated.
62

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics g110Sinamics g120dSinamics g120c

Table of Contents