Technical data

Table Of Contents
Contents
System Software for S7-300/400 System and Standard Functions - Volume 1/2
x
A5E00709327-01
3.6
Testing a Data Block with SFC 24 "TEST_DB"................................................ 3-3
3.7
Compressing the User Memory with SFC 25 "COMPRESS"........................... 3-3
3.8
Transferring a Substitute Value to Accumulator 1 with SFC 44 "REPL_VAL" . 3-3
3.9
Generating Data Blocks in Load Memory with SFC 82 "CREA_DBL" ............. 3-3
3.10
Reading from a Data Block In Load Memory with SFC 83 "READ_DBL"........ 3-3
3.11
Writing a Data Block in Load Memory with SFC 84 "WRIT_DBL".................... 3-3
3.12
Creating a Data Block with SFC 85 "CREA_DB" ............................................. 3-3
4
SFCs for Controlling Program Execution 4-3
4.1
Re-triggering Cycle Time Monitoring with SFC 43 "RE_TRIGR" ..................... 4-3
4.2
Changing the CPU to STOP with SFC 46 "STP".............................................. 4-3
4.3
Delaying Execution of the User Program with SFC 47 "WAIT"........................ 4-3
4.4
Triggering a Multicomputing Interrupt with SFC 35 "MP_ALM"........................ 4-3
4.5
Controlling CiR with SFC 104 "CiR" ................................................................. 4-3
5
SFCs for Handling the System Clock 5-3
5.1
Setting the TOD with SFC 0 "SET_CLK".......................................................... 5-3
5.2
Reading the Time with SFC 1 "READ_CLK".................................................... 5-3
5.3
Synchronizing Slave Clocks with SFC 48 "SNC_RTCB" ................................. 5-3
5.4
Setting the Time-of-Day and the TOD Status with SFC 100 "SET_CLKS"...... 5-3
6
SFCs for Handling Run-Time Meters 6-3
6.1
Runtime Meters ................................................................................................ 6-3
6.2
Handling Runtime meters with SFC 101 "RTM"............................................... 6-3
6.3
Setting the Runtime Meter with SFC 2 "SET_RTM"......................................... 6-3
6.4
Starting and Stopping a Run-time Meter with SFC 3 "CTRL_RTM"................. 6-3
6.5
Reading a Runtime Meter with SFC 4 "READ_RTM" ...................................... 6-3
6.6
Reading the System Time with SFC 64 "TIME_TCK"...................................... 6-3
7
SFCs/SFBs for Transferring Data Records 7-3
7.1
Writing and Reading Data Records.................................................................. 7-3
7.2
Reading Defined Parameters with SFC 54 "RD_DPARM"............................... 7-3
7.3
Reading Predefined Parameters with SFC 102 "RD_DPARA" ........................ 7-3
7.4
Writing Dynamic Parameters with SFC 55 "WR_PARM"................................. 7-3
7.5
Writing Default Parameters with SFC 56 "WR_DPARM" ................................. 7-3
7.6
Assigning Parameters to a Module with SFC 57 "PARM_MOD" ..................... 7-3
7.7
Writing a Data Record with SFC 58 "WR_REC" .............................................. 7-3
7.8
Reading a Data Record with SFC 59 "RD_REC"............................................. 7-3
7.9
Further Error Information for SFCs 55 to 59..................................................... 7-3
7.10
Reading Predefined Parameters with SFB 81 "RD_DPAR"............................. 7-3
8
DPV1 SFBs According to PNO AK 1131 8-3
8.1
Reading a Data Record with SFB 52 "RDREC"............................................... 8-3
8.2
Writing a Data Record with SFB 53 "WRREC"................................................. 8-3
8.3
Receiving an Interrupt with SFB 54 "RALRM".................................................. 8-3
8.4
Sending an Interrupt to the DP Master with SFB 75 "SALRM" ........................ 8-3
9
SFCs for Handling Time-of-Day Interrupts 9-3
9.1
Handling Time-of-Day Interrupts ...................................................................... 9-3
9.2
Characteristics of SFCs 28 to 31...................................................................... 9-3
9.3
Setting a Time-of-Day Interrupt with SFC 28 "SET_TINT"............................... 9-3
9.4
Canceling a Time-of-Day Interrupt with SFC 29 "CAN_TINT" ......................... 9-3
9.5
Activating a Time-of-Day Interrupt with SFC 30 "ACT_TINT" .......................... 9-3
9.6
Querying a Time-of-Day Interrupt with SFC 31 "QRY_TINT"........................... 9-3