Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 81

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFC SFC SFC

0 CTU 1 CTD 2 CTUD 3 TP 4 TON 5 TOF 8 USEND 9 URCV 12 BSEND 13 BRCV 14 GET 15 PUT 16 PRINT 19 START 20 STOP 21 RESUME 22 STATUS 23 USTATUS 29 HS_COUNT 30 FREQ_MES 31 NOTIFY_8P 32 DRUM 33 ALARM 34 ALARM_8 35 ALARM_8P 36 NOTIFY 37 AR_SEND 38 HSC_A_B 39 POS 41 CONT_C 42 CONT_S 43 PULSEGEN 44 ANALOG 46 DIGITAL 47 COUNT 48 FREQUENC 49 PULSE 52 RDREC 53 WRREC 54 RALRM 60 SEND_PTP 61 RECV_PTP 62 RES_RECV 63 SEND_RK 64 FETCH_RK 65 SERVE_RK 75 SALRM 81 RD_DPAR 0 SET_CLK 1 READ_CLK 2 SET_RTM

IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS COUNTERS COM_FUNC TIMERS COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS ICONT ICONT ICONT ICONT TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP DP DP TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP IO_FUNCT CLK_FUNC CLK_FUNC CLK_FUNC

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC

3 CTRL_RTM 4 READ_RTM 5 GADR_LGC 6 RD_SINFO 7 DP_PRAL 9 EN_MSG 10 DIS_MSG 11 DPSYC_FR 12 D_ACT_DP 13 DPNRM_DG 14 DPRD_DAT 15 DPWR_DAT 17 ALARM_SQ 18 ALARM_S 19 ALARM_SC 20 BLKMOV 21 FILL 22 CREAT_DB 23 DEL_DB 24 TEST_DB 25 COMPRESS 26 UPDAT_PI 27 UPDAT_PO 28 SET_TINT 29 CAN_TINT 30 ACT_TINT 31 QRY_TINT 32 SRT_DINT 33 CAN_DINT 34 QRY_DINT 35 MP_ALM 36 MSK_FLT 37 DMSK_FLT 38 READ_ERR 39 DIS_IRT 40 EN_IRT 41 DIS_AIRT 42 EN_AIRT 43 RE_TRIGR 44 REPL_VAL 46 STP 47 WAIT 48 SNC_RTCB 49 LGC_GADR 50 RD_LGADR 51 RDSYSST 52 WR_USMSG 54 RD_PARM 55 WR_PARM 56 WR_DPARM 57 PARM_MOD

CLK_FUNC CLK_FUNC IO_FUNCT DB_FUNCT DP COM_FUNC COM_FUNC DP DP DIAGNSTC DP DP PMC_FUNC PMC_FUNC PMC_FUNC MOVE MOVE DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT IO_FUNCT IO_FUNCT PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL DIAGNSTC DIAGNSTC DIAGNSTC IRT_FUNC IRT_FUNC IRT_FUNC IRT_FUNC PGM_CNTL DIAGNSTC PGM_CNTL PGM_CNTL CLK_FUNC IO_FUNCT IO_FUNCT DIAGNSTC DIAGNSTC IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks

SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC FC FC FC FC FC FC FC FC FC FC

58 WR_REC 59 RD_REC 60 GD_SND 61 GD_RCV 62 CONTROL 63 AB_CALL 64 TIME_TCK 65 X_SEND 66 X_RCV 67 X_GET 68 X_PUT 69 X_ABORT 70 GEO_LOG 71 LOG_GEO 72 I_GET 73 I_PUT 74 I_ABORT 78 OB_RT 79 SET 80 RSET 81 UBLKMOV 82 CREA_DBL 83 READ_DBL 84 WRIT_DBL 85 CREA_DB 87 C_DIAG 90 H_CTRL 100 SET_CLKS 101 RTM 102 RD_DPARA 103 DP_TOPOL 104 CIR 105 READ_SI 106 DEL_SI 107 ALARM_DQ 108 ALARM_D 112 PN_IN 113 PN_OUT 114 PN_DP 126 SYNC_PI 127 SYNC_PO 61 GP_FPGP 62 GP_GPFP 63 GP_ADD 64 GP_SUB 65 GP_MUL 66 GP_DIV 67 GP_VGL 68 RAD_GP 69 MLD_TG 70 MLD_TGZ

IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC COM_FUNC PLASTICS CLK_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC COM_FUNC DIAGNSTC BIT_LOGC BIT_LOGC MOVE DB_CTRL DB_CTRL DB_CTRL DB_FUNCT COM_FUNC HF_FUNCT CLK_FUNC CLK_FUNC IO_FUNCT DP PGM_CNTL PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PROFIne2 PROFIne2 PROFIne2 IO_FUNCT IO_FUNCT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT

S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

71 MLD_EZW 72 MLD_EDW 73 MLD_SAMW 74 MLD_SAM 75 MLD_EZ 78 MLD_EDWK 79 MLD_EZK 80 MLD_EDK 81 COD_B4 82 COD_16 83 MUL_16 84 DIV_16 85 ADD_32 86 SUB_32 87 MUL_32 88 DIV_32 89 RAD_16 90 REG_SCHB 91 REG_SCHW 92 REG_FIFO 93 REG_LIFO 94 DB_COPY1 95 DB_COPY2 96 RETTEN 97 LADEN 98 COD_B8 99 COD_32 100 AE_460_1 101 AE_460_2 102 AE_463_1 103 AE_463_2 104 AE_464_1 105 AE_464_2 106 AE_466_1 107 AE_466_2 108 RLG_AA1 109 RLG_AA2 110 PER_ET1 111 PER_ET2 112 SINUS 113 COSINUS 114 TANGENS 115 COTANG 116 ARCSIN 117 ARCCOS 118 ARCTAN 119 ARCCOT 120 LN_X 121 LG_X 122 B_LOG_X 123 E_H_N

S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT

S5-S7 Converting Blocks S5-S7 Converting Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks PID Control Blocks PID Control Blocks PID Control Blocks PID Control Blocks PID Control Blocks SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FB FB FB FB FB FB FB FB

124 ZEHN_H_N 125 A2_H_A1 1 AD_DT_TM 2 CONCAT 3 D_TOD_DT 4 DELETE 5 DI_STRNG 6 DT_DATE 7 DT_DAY 8 DT_TOD 9 EQ_DT 10 EQ_STRNG 11 FIND 12 GE_DT 13 GE_STRNG 14 GT_DT 15 GT_STRNG 16 I_STRNG 17 INSERT 18 LE_DT 19 LE_STRNG 20 LEFT 21 LEN 22 LIMIT 23 LT_DT 24 LT_STRNG 25 MAX 26 MID 27 MIN 28 NE_DT 29 NE_STRNG 30 R_STRNG 31 REPLACE 32 RIGHT 33 S5TI_TIM 34 SB_DT_DT 35 SB_DT_TM 36 SEL 37 STRNG_DI 38 STRNG_I 39 STRNG_R 40 TIM_S5TI 41 CONT_C 42 CONT_S 43 PULSEGEN 58 TCONT_CP 59 TCONT_S 2 IDENTIFY 3 READ 4 REPORT

S5_CNVRT S5_CNVRT IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC ICONT ICONT ICONT CONTROL CONTROL CP_300 CP_300 CP_300

SIMATIC_NET_CP SIMATIC_NET_CP Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP Communication Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks

FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FB FB FB FB FB FB FB FC FC FC FC FC

5 STATUS 6 WRITE 8 USEND 9 URCV 12 BSEND 13 BRCV 14 GET 15 PUT 20 GETIO 21 SETIO 22 GETIO_PART 23 SETIO_PART 55 IP_CONFIG 63 TSEND 64 TRCV 65 TCON 66 TDISCON 67 TUSEND 68 TURCV 1 DP_SEND 2 DP_RECV 3 DP_DIAG 4 DP_CTRL 5 AG_SEND 6 AG_RECV 7 AG_LOCK 8 AG_UNLOCK 10 AG_CNTRL

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT CP_300 COMM COMM COMM COMM COMM COMM CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300

11 PNIO_SEND CP_300 12 PNIO_RECV CP_300 40 FTP_CONNECT P_300 C 41 FTP_STORE CP_300 42 FTP_RETRIEVE P_300 C 43 FTP_DELETE CP_300 44 FTP_QUIT CP_300 50 AG_LSEND CP_300 60 AG_LRECV CP_300 62 C_CNTRL CP_300 80 LEAD_LAG CONVERT 81 DCAT TIMERS 82 MCAT TIMERS 83 IMC COMPARE 84 SMC COMPARE 85 DRUM TIMERS 86 PACK MOVE 80 TONR TIMERS 81 IBLKMOV MOVE 82 RSET BIT_LOGC 83 SET BIT_LOGC 84 ATT TABLE

TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FB FB FB FC FC FC FC

85 FIFO 86 TBL_FIND 87 LIFO 88 TBL 89 TBL_WRD 90 WSR 91 WRD_TBL 92 SHRB 93 SEG 94 ATH 95 HTA 96 ENCO 97 DECO 98 BCDCPL 99 BITSUM 100 RSETI 101 SETI 102 DEV 103 CDT 104 TBL_TBL 105 SCALE 106 UNSCALE 60 SET_SW 61 SET_SW_S 62 TIMESTMP 60 LOC_TIME 61 BT_LT 62 LT_BT 63 S_LTINT

TABLE TABLE TABLE TABLE TABLE SHIFT TABLE SHIFT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT BIT_LOGC BIT_LOGC MATH_FP TABLE TABLE CONVERT CONVERT TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC

Count Up Count Down Count Up/Down Generate a Pulse Generate an On Delay Generate an Off Delay Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Send Data to Printer Initiate a Warm or Cold Restart on a Remote Device Changing a Remote Device to the STOP State Initiate a Hot Restart on a Remote Device Query the Status of a Remote Partner Receive the Status of a Remote Device Counter (high-speed counter, integrated function) (only exist on the CPU 312 IFM and CPU 314 IFM) Frequency Meter (frequency meter, integrated function (only exist on the CPU 312 IFM and CPU 314 IFM) Generating block related messages without acknowledgement indication Implement a Sequencer Generate Block-Related Messages with Acknowledgment Display Generate Block-Related Messages without Values for 8 Signals Generate Block-Related Messages with Values for 8 Signals Generate Block-Related Messages without Acknowledgment Display Send Archive Data Counter A/B (integrated function) (only exist on the CPU 314 IFM) Position (integrated function) (only exist on the CPU 314 IFM) Continuous Control (only exist on the CPU 314 IFM) Step Control (only exist on the CPU 314 IFM) Pulse Generation (only exist on the CPU 314 IFM) Positioning with Analog Output (only exist on the S7-300C CPUs) Positioning with Digital Output (only exist on the S7-300C CPUs) Controlling the Counter (only exist on the S7-300C CPUs) Controlling the Frequency Measurement (only exist on the S7-300C CPUs) Controlling Pulse Width Modulation (only exist on the S7-300C CPUs) Reading a Data Record Writing a Data Record Receiving an Interrupt Sending Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Receiving Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Deleting the Receive Buffer (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Sending Data (RK 512) (only exist on the S7-300C CPUs) Fetching Data (RK 512) (only exist on the S7-300C CPUs) Receiving and Providing Data (RK 512) (only exist on the S7-300C CPUs) Send interrupt to DP master Read Predefined Parameter Set System Clock Read System Clock Set Run-time Meter

Start/Stop Run-time Meter Read Run-time Meter Query Logical Address of a Channel Read OB Start Information Trigger a Hardware Interrupt on the DP Master Enable Block-Related, Symbol-Related and Group Status Messages Disable Block-Related, Symbol-Related and Group Status Messages Synchronize Groups of DP Slaves Deactivation and activation of DP slaves Read Diagnostic Data of a DP Slave (Slave Diagnostics) Read Consistent Data of a Standard DP Slave Write Consistent Data to a DP Standard Slave Generate Acknowledgeable Block-Related Messages Generate Permanently Acknowledged Block-Related Messages Query the Acknowledgment Status of the last ALARM_SQ Entering State Message Copy Variables Initialize a Memory Area Create Data Block Delete Data Block Test Data Block Compress the User Memory Update the Process Image Update Table Update the Process Image Output Table Set Time-of-Day Interrupt Cancel Time-of-Day Interrupt Activate Time-of-Day Interrupt Query Time-of-Day Interrupt Start Time-Delay Interrupt Cancel Time-Delay Interrupt Query Time-Delay Interrupt Trigger Multicomputing Interrupt Mask Synchronous Errors Unmask Synchronous Errors Read Error Register Disable New Interrupts and Asynchronous Errors Enable New Interrupts and Asynchronous Errors Delay Higher Priority Interrupts and Asynchronous Errors Enable Higher Priority Interrupts and Asynchronous Errors Re-trigger Cycle Time Monitoring Transfer Substitute Value to Accumulator 1 Change the CPU to STOP Delay Execution of the User Program Synchronize Slave Clocks Query the Module Slot Belonging to a Logical Address Query all Logical Addresses of a Module Read a System Status List or Partial List Write a User-Defined Diagnostic Event to the Diagnostic Buffer Read Defined Parameters Write Dynamic Parameters Write Default Parameters Assign Parameters to a Module

Write a Data Record Read a Data Record Send a GD Packet Fetch a Received GD Packet Query the Status of a Connection Belonging to a Communication SFB Instance Assembly Code Block (only exists for CPU 614) Read the System Time Send Data to a Communication Partner outside the Local S7 Station Receive Data from a Communication Partner outside the Local S7 Station Read Data from a Communication Partner outside the Local S7 Station Write Data to a Communication Partner outside the Local S7 Station Abort an Existing Connection to a Communication Partner outside the Local S7 Station Determine Start Address of a Module Determine the Slot Belonging to a Logical Address Read Data from a Communication Partner within the Local S7 Station Write Data to a Communication Partner within the Local S7 Station Abort an Existing Connection to a Communication Partner within the Local S7 Station Determine OB program runtime Set a Range of Outputs Reset a Range of Outputs Uninterruptible Block Move Create a Data Block in the Load Memory Read from a Data Block in Load Memory Write from a Data Block in Load Memory Create a Data Block Diagnosis of the Actual Connection Status Control Operation in H Systems Setting the Time-of-Day and the TOD Status Handling runtime meters Redefined Parameters Identifying the bus topology in a DP master system Controlling CiR Reading Dynamic System Resources Deleting Dynamic System Resources Generating Always Acknowledgeable and Block-Related Messages Generating Always Acknowledgeable and Block-Related Messages Update inputs in the user program interface of PROFInet components Update outputs in the user program interface of PROFInet components Update DP interconnections Update process image partition input table in synchronous cycle Update process image partition output table in synchronous cycle Change fixed point number to floating point number Change floating point number to fixed point number Add floating point numbers Subtract floating point numbers Multiply floating point number Divide floating point numbers Compare floating point numbers Extract root of floating point numbers Clock generator Clock generator (timing element)

Message of first value with single flashing light, wordwise, A Message of first value with double flashing light, wordwise, A Collected message, wordwise (sound alert) Collected message, bitwise Message of first value with single flashing light, bitwise, A Message of first value with double flashing light, wordwise, A+M Message of first value with single flashing light, bitwise, A+M Message of first value with double flashing light, bitwise, A+M Change BCD number to 16 bit dual number Change 16 bit dual number to BCD number Multiply 16 bit dual numbers Divide 16 bit dual numbers Add 32 bit dual numbers Subtract 32 bit dual numbers Multiply 32 bit dual numbers Divide 32 bit dual numbers Extract roots of 16 bit dual numbers Bi-directional shift register, bitwise Bi-directional shift register, wordwise Buffer memory (FIFO) Stack register (LIFO) Copy data block, direct assignment of parameters Copy data block, indirect assignment of parameterization Save scratchpad memory Load scratchpad memory Change BCD number to 32 bit dual number Change 32 bit dual number to BCD number Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Output analog value Output analog value Read and Write for extended periphery (direct assignment of parameters) Read and Write for extended periphery (indirect assignment of parameters) Sine (x) Cosine (x) Tangent (x) Cotangent (x) Arc sine (x) Arc cosine (x) Arc tangent (x) Arc cotangens (x) Natural logarithm ln (x) Decade logarithm Iog (x) General logarithm Iog (x) to basis b e to the power of n

10 to the power of n AKKU 2 to the power of AKKU 1 Point Math Add duration to a time Combine two STRING variables Combine DATE and TIME_OF_DAY to DT Delete in a STRING variable Data type conversion DINT to STRING Extract the DATE from DT Extract the day of the week from DT Extract the TIME_OF_DAY from DT Compare DT for equal Compare STRING for equal Find in a STRING variable Compare DT for greater than or equal Compare STRING for greater than or equal Compare DT for greater than Compare STRING for greater than Data type conversion INT to STRING Insert in a STRING variable Compare DT for smaller than or equal Compare STRING for smaller than or equal Left part of a STRING variable Length of a STRING variable Point Math Limit Compare DT for smaller than Compare STRING for smaller than Point Math Select maximum Middle part of a STRING variable Point Math Select minimum Compare DT for unequal Compare STRING for unequal Data type conversion REAL to STRING Replace in a STRING variable Right part of a STRING variable Data type conversion S5TIME to TIME Point Math Subtract two time values Point Math Subtract duration from a time Point Math Binary selection Data type conversion STRING to DINT Data type conversion STRING to INT Data type conversion STRING to REAL Data type conversion TIME to S5TIME Continuous Control Step Control Pulse Generation Temperature Continuous Controller Temperature Step Controller For checking device properties Reads data from a data area of the communication partner specified by a name or index depending on the assignment of parameters for the job. Allows unconfirmed transmission of variables by an FMS server.

allows status information to be requested from the communications partner on the specified FMS connection. Transfers data from a specified local data area to a data area on the communication partner. Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Read All Inputs of a DP Standard Slave/PROFINET IO Device Write All Outputs of a DP Standard Slave/PROFINET IO Device Read a Part of the Inputs of a DP Standard Slave/PROFINET IO Device Write a Part of the Outputs of a DP Standard Slave/PROFINET IO Device Transfers a configuration data block (CONF_DB) containing connection data for an Ethernet CP. Sending Data via TCP native and ISO on TCP Receiving Data via TCP native and ISO on TCP Establishing a Connection using TCP native and ISO on TCP Terminating a Connection using TCP native and ISO on TCP Sending Data via UDP Receiving Data via UDP transfers data to the PROFIBUS CP receives data on PROFIBUS used to request diagnostic information transfers control jobs to the PROFIBUS CP data by means of a configured connection to the communication partner (<= 240 bytes). data by means of a configured connection from the communication partner (<= 240 bytes, not email). the external data access by means of FETCH/WRITE (not for UDP, email). the external data access by means of FETCH/WRITE (not for UDP, email). allows you to diagnose connections. When necessary, you can reinitialize connection establishment using the FC. used for data transfer in the CP modes PROFINET IO controller or PROFINET IO device. used to receive data in the CP modes PROFINET IO controller or PROFINET IO device. Establish an FTP connection Store a file on the FTP server Retrieve a file from the FTP server Delete a file on the FTP server Enable an FTP connection data by means of a configured connection to the communication partner. data by means of a configured connection from the communication partner (not email). Query a connection status for S7-300 Lead/Lag Algorithm Discrete Control Alarm Timer Motor Control Alarm Timer Index Matrix Compare Scan Matrix Compare Event Maskable Drum Pack Data Software Timer On DelayRetentive Indirect Block Move Reset Range of Outputs Set Range of Outputs Add to Table

First In/First Out Unload Table Table Find Last In/First Out Unload Table Table Move Table to Word Word Shift Register Word to Table Bit Shift Register Seven Segment Decoder ASCII to Hex Hex to ASCII Encode Binary Position Decode Binary Position Tens Complement Sum Number of Bits Reset Range of Immediate Outputs Set Range of Immediate Outputs Standard Deviation Correlated Data Table Table to Table Scaling Values Unscaling Values supports the summertime/wintertime changeover in CPUs that do not have the time status. For this purpose it sets the CPU clo supports the summertime/wintertime changeover in CPUs that do have the time status. For this purpose it sets the time status transfers the time-stamped messages of an IM153-2 into its instance DB. reads the time status or time of the CPU and calculates the local time. It is therefore only useful on CPUs with time status. calculates the local time from the base time given at the input. calculates the base time from the local time given at the input. sets the required time interrupt to the preset time. This time is given in local time.

se it sets the CPU clock to the current time and according to the changeover rules in the Control DB. t sets the time status to the current time and according to the changeover rules in the Control DB. with time status.

SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks PID Control Blocks PID Control Blocks PID Control Blocks PID Control Blocks PID Control Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks IEC Function Blocks Communication Blocks IEC Function Blocks Communication Blocks IEC Function Blocks Communication Blocks IEC Function Blocks Communication Blocks IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks

FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FB FC FC FC FC FC FC FC FC FC FC FC FC FC

2 IDENTIFY 3 READ 4 REPORT 5 STATUS 6 WRITE 8 USEND 9 URCV 12 BSEND 13 BRCV 14 GET 15 PUT 20 GETIO 21 SETIO 22 GETIO_PART 23 SETIO_PART 41 CONT_C 42 CONT_S 43 PULSEGEN 55 IP_CONFIG 58 TCONT_CP 59 TCONT_S 60 SET_SW 61 SET_SW_S 62 TIMESTMP 63 TSEND 64 TRCV 65 TCON 66 TDISCON 67 TUSEND 68 TURCV 80 LEAD_LAG 81 DCAT 82 MCAT 83 IMC 84 SMC 85 DRUM 86 PACK 1 AD_DT_TM 1 DP_SEND 2 CONCAT 2 DP_RECV 3 D_TOD_DT 3 DP_DIAG 4 DELETE 4 DP_CTRL 5 DI_STRNG 5 AG_SEND 6 DT_DATE 6 AG_RECV 7 DT_DAY

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT ICONT ICONT ICONT CP_300 CONTROL CONTROL TIMEFUNC TIMEFUNC TIMEFUNC COMM COMM COMM COMM COMM COMM CONVERT TIMERS TIMERS COMPARE COMPARE TIMERS MOVE IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC

SIMATIC_NET_CP IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP Miscellaneous Blocks S5-S7 Converting Blocks Miscellaneous Blocks S5-S7 Converting Blocks Communication Blocks

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

7 AG_LOCK 8 DT_TOD 8 AG_UNLOCK 9 EQ_DT 10 EQ_STRNG 10 AG_CNTRL

CP_300 IEC CP_300 IEC IEC CP_300

11 FIND IEC 11 PNIO_SEND CP_300 12 GE_DT IEC 12 PNIO_RECV CP_300 13 GE_STRNG IEC 14 GT_DT IEC 15 GT_STRNG IEC 16 I_STRNG IEC 17 INSERT IEC 18 LE_DT IEC 19 LE_STRNG IEC 20 LEFT IEC 21 LEN IEC 22 LIMIT IEC 23 LT_DT IEC 24 LT_STRNG IEC 25 MAX IEC 26 MID IEC 27 MIN IEC 28 NE_DT IEC 29 NE_STRNG IEC 30 R_STRNG IEC 31 REPLACE IEC 32 RIGHT IEC 33 S5TI_TIM IEC 34 SB_DT_DT IEC 35 SB_DT_TM IEC 36 SEL IEC 37 STRNG_DI IEC 38 STRNG_I IEC 39 STRNG_R IEC 40 TIM_S5TI IEC 40 FTP_CONNECT P_300 C 41 FTP_STORE CP_300 42 FTP_RETRIEVE P_300 C 43 FTP_DELETE CP_300 44 FTP_QUIT CP_300 50 AG_LSEND CP_300 60 AG_LRECV CP_300 60 LOC_TIME TIMEFUNC 61 GP_FPGP S5_CNVRT 61 BT_LT TIMEFUNC 62 GP_GPFP S5_CNVRT 62 C_CNTRL CP_300

Miscellaneous Blocks S5-S7 Converting Blocks Miscellaneous Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

62 LT_BT 63 GP_ADD 63 S_LTINT 64 GP_SUB 65 GP_MUL 66 GP_DIV 67 GP_VGL 68 RAD_GP 69 MLD_TG 70 MLD_TGZ 71 MLD_EZW 72 MLD_EDW 73 MLD_SAMW 74 MLD_SAM 75 MLD_EZ 78 MLD_EDWK 79 MLD_EZK 80 MLD_EDK 80 TONR 81 COD_B4 81 IBLKMOV 82 COD_16 82 RSET 83 MUL_16 83 SET 84 DIV_16 84 ATT 85 ADD_32 85 FIFO 86 SUB_32 86 TBL_FIND 87 MUL_32 87 LIFO 88 DIV_32 88 TBL 89 RAD_16 89 TBL_WRD 90 REG_SCHB 90 WSR 91 REG_SCHW 91 WRD_TBL 92 REG_FIFO 92 SHRB 93 REG_LIFO 93 SEG 94 DB_COPY1 94 ATH 95 DB_COPY2 95 HTA 96 RETTEN 96 ENCO

TIMEFUNC S5_CNVRT TIMEFUNC S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT TIMERS S5_CNVRT MOVE S5_CNVRT BIT_LOGC S5_CNVRT BIT_LOGC S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT SHIFT S5_CNVRT TABLE S5_CNVRT SHIFT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT

S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB

97 LADEN 97 DECO 98 COD_B8 98 BCDCPL 99 COD_32 99 BITSUM 100 AE_460_1 100 RSETI 101 AE_460_2 101 SETI 102 AE_463_1 102 DEV 103 AE_463_2 103 CDT 104 AE_464_1 104 TBL_TBL 105 AE_464_2 105 SCALE 106 AE_466_1 106 UNSCALE 107 AE_466_2 108 RLG_AA1 109 RLG_AA2 110 PER_ET1 111 PER_ET2 112 SINUS 113 COSINUS 114 TANGENS 115 COTANG 116 ARCSIN 117 ARCCOS 118 ARCTAN 119 ARCCOT 120 LN_X 121 LG_X 122 B_LOG_X 123 E_H_N 124 ZEHN_H_N 125 A2_H_A1 0 CTU 1 CTD 2 CTUD 3 TP 4 TON 5 TOF 8 USEND 9 URCV 12 BSEND 13 BRCV 14 GET 15 PUT

S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT BIT_LOGC S5_CNVRT BIT_LOGC S5_CNVRT MATH_FP S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC

16 PRINT 19 START 20 STOP 21 RESUME 22 STATUS 23 USTATUS 29 HS_COUNT 30 FREQ_MES 31 NOTIFY_8P 32 DRUM 33 ALARM 34 ALARM_8 35 ALARM_8P 36 NOTIFY 37 AR_SEND 38 HSC_A_B 39 POS 41 CONT_C 42 CONT_S 43 PULSEGEN 44 ANALOG 46 DIGITAL 47 COUNT 48 FREQUENC 49 PULSE 52 RDREC 53 WRREC 54 RALRM 60 SEND_PTP 61 RECV_PTP 62 RES_RECV 63 SEND_RK 64 FETCH_RK 65 SERVE_RK 75 SALRM 81 RD_DPAR 0 SET_CLK 1 READ_CLK 2 SET_RTM 3 CTRL_RTM 4 READ_RTM 5 GADR_LGC 6 RD_SINFO 7 DP_PRAL 9 EN_MSG 10 DIS_MSG 11 DPSYC_FR 12 D_ACT_DP 13 DPNRM_DG 14 DPRD_DAT 15 DPWR_DAT

COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS COUNTERS COM_FUNC TIMERS COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS ICONT ICONT ICONT ICONT TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP DP DP TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP IO_FUNCT CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC IO_FUNCT DB_FUNCT DP COM_FUNC COM_FUNC DP DP DIAGNSTC DP DP

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC

17 ALARM_SQ 18 ALARM_S 19 ALARM_SC 20 BLKMOV 21 FILL 22 CREAT_DB 23 DEL_DB 24 TEST_DB 25 COMPRESS 26 UPDAT_PI 27 UPDAT_PO 28 SET_TINT 29 CAN_TINT 30 ACT_TINT 31 QRY_TINT 32 SRT_DINT 33 CAN_DINT 34 QRY_DINT 35 MP_ALM 36 MSK_FLT 37 DMSK_FLT 38 READ_ERR 39 DIS_IRT 40 EN_IRT 41 DIS_AIRT 42 EN_AIRT 43 RE_TRIGR 44 REPL_VAL 46 STP 47 WAIT 48 SNC_RTCB 49 LGC_GADR 50 RD_LGADR 51 RDSYSST 52 WR_USMSG 54 RD_PARM 55 WR_PARM 56 WR_DPARM 57 PARM_MOD 58 WR_REC 59 RD_REC 60 GD_SND 61 GD_RCV 62 CONTROL 63 AB_CALL 64 TIME_TCK 65 X_SEND 66 X_RCV 67 X_GET 68 X_PUT 69 X_ABORT

PMC_FUNC PMC_FUNC PMC_FUNC MOVE MOVE DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT IO_FUNCT IO_FUNCT PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL DIAGNSTC DIAGNSTC DIAGNSTC IRT_FUNC IRT_FUNC IRT_FUNC IRT_FUNC PGM_CNTL DIAGNSTC PGM_CNTL PGM_CNTL CLK_FUNC IO_FUNCT IO_FUNCT DIAGNSTC DIAGNSTC IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC COM_FUNC PLASTICS CLK_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC

70 GEO_LOG 71 LOG_GEO 72 I_GET 73 I_PUT 74 I_ABORT 78 OB_RT 79 SET 80 RSET 81 UBLKMOV 82 CREA_DBL 83 READ_DBL 84 WRIT_DBL 85 CREA_DB 87 C_DIAG 90 H_CTRL 100 SET_CLKS 101 RTM 102 RD_DPARA 103 DP_TOPOL 104 CIR 105 READ_SI 106 DEL_SI 107 ALARM_DQ 108 ALARM_D 112 PN_IN 113 PN_OUT 114 PN_DP 126 SYNC_PI 127 SYNC_PO

IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC COM_FUNC DIAGNSTC BIT_LOGC BIT_LOGC MOVE DB_CTRL DB_CTRL DB_CTRL DB_FUNCT COM_FUNC HF_FUNCT CLK_FUNC CLK_FUNC IO_FUNCT DP PGM_CNTL PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PROFIne2 PROFIne2 PROFIne2 IO_FUNCT IO_FUNCT

For checking device properties Reads data from a data area of the communication partner specified by a name or index depending on the assignment of parameters for the job. Allows unconfirmed transmission of variables by an FMS server. allows status information to be requested from the communications partner on the specified FMS connection. Transfers data from a specified local data area to a data area on the communication partner. Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Read All Inputs of a DP Standard Slave/PROFINET IO Device Write All Outputs of a DP Standard Slave/PROFINET IO Device Read a Part of the Inputs of a DP Standard Slave/PROFINET IO Device Write a Part of the Outputs of a DP Standard Slave/PROFINET IO Device Continuous Control Step Control Pulse Generation Transfers a configuration data block (CONF_DB) containing connection data for an Ethernet CP. Temperature Continuous Controller Temperature Step Controller supports the summertime/wintertime changeover in CPUs that do not have the time status. For this purpose it sets the CPU clo supports the summertime/wintertime changeover in CPUs that do have the time status. For this purpose it sets the time status transfers the time-stamped messages of an IM153-2 into its instance DB. Sending Data via TCP native and ISO on TCP Receiving Data via TCP native and ISO on TCP Establishing a Connection using TCP native and ISO on TCP Terminating a Connection using TCP native and ISO on TCP Sending Data via UDP Receiving Data via UDP Lead/Lag Algorithm Discrete Control Alarm Timer Motor Control Alarm Timer Index Matrix Compare Scan Matrix Compare Event Maskable Drum Pack Data Point Math Add duration to a time transfers data to the PROFIBUS CP Combine two STRING variables receives data on PROFIBUS Combine DATE and TIME_OF_DAY to DT used to request diagnostic information Delete in a STRING variable transfers control jobs to the PROFIBUS CP Data type conversion DINT to STRING data by means of a configured connection to the communication partner (<= 240 bytes). Extract the DATE from DT data by means of a configured connection from the communication partner (<= 240 bytes, not email). Extract the day of the week from DT

the external data access by means of FETCH/WRITE (not for UDP, email). Extract the TIME_OF_DAY from DT the external data access by means of FETCH/WRITE (not for UDP, email). Compare DT for equal Compare STRING for equal allows you to diagnose connections. When necessary, you can reinitialize connection establishment using the FC. Find in a STRING variable used for data transfer in the CP modes PROFINET IO controller or PROFINET IO device. Compare DT for greater than or equal used to receive data in the CP modes PROFINET IO controller or PROFINET IO device. Compare STRING for greater than or equal Compare DT for greater than Compare STRING for greater than Data type conversion INT to STRING Insert in a STRING variable Compare DT for smaller than or equal Compare STRING for smaller than or equal Left part of a STRING variable Length of a STRING variable Point Math Limit Compare DT for smaller than Compare STRING for smaller than Point Math Select maximum Middle part of a STRING variable Point Math Select minimum Compare DT for unequal Compare STRING for unequal Data type conversion REAL to STRING Replace in a STRING variable Right part of a STRING variable Data type conversion S5TIME to TIME Point Math Subtract two time values Point Math Subtract duration from a time Point Math Binary selection Data type conversion STRING to DINT Data type conversion STRING to INT Data type conversion STRING to REAL Data type conversion TIME to S5TIME Establish an FTP connection Store a file on the FTP server Retrieve a file from the FTP server Delete a file on the FTP server Enable an FTP connection data by means of a configured connection to the communication partner. data by means of a configured connection from the communication partner (not email). reads the time status or time of the CPU and calculates the local time. It is therefore only useful on CPUs with time status. Change fixed point number to floating point number calculates the local time from the base time given at the input. Change floating point number to fixed point number Query a connection status for S7-300

calculates the base time from the local time given at the input. Add floating point numbers sets the required time interrupt to the preset time. This time is given in local time. Subtract floating point numbers Multiply floating point number Divide floating point numbers Compare floating point numbers Extract root of floating point numbers Clock generator Clock generator (timing element) Message of first value with single flashing light, wordwise, A Message of first value with double flashing light, wordwise, A Collected message, wordwise (sound alert) Collected message, bitwise Message of first value with single flashing light, bitwise, A Message of first value with double flashing light, wordwise, A+M Message of first value with single flashing light, bitwise, A+M Message of first value with double flashing light, bitwise, A+M Software Timer On DelayRetentive Change BCD number to 16 bit dual number Indirect Block Move Change 16 bit dual number to BCD number Reset Range of Outputs Multiply 16 bit dual numbers Set Range of Outputs Divide 16 bit dual numbers Add to Table Add 32 bit dual numbers First In/First Out Unload Table Subtract 32 bit dual numbers Table Find Multiply 32 bit dual numbers Last In/First Out Unload Table Divide 32 bit dual numbers Table Extract roots of 16 bit dual numbers Move Table to Word Bi-directional shift register, bitwise Word Shift Register Bi-directional shift register, wordwise Word to Table Buffer memory (FIFO) Bit Shift Register Stack register (LIFO) Seven Segment Decoder Copy data block, direct assignment of parameters ASCII to Hex Copy data block, indirect assignment of parameterization Hex to ASCII Save scratchpad memory Encode Binary Position

Load scratchpad memory Decode Binary Position Change BCD number to 32 bit dual number Tens Complement Change 32 bit dual number to BCD number Sum Number of Bits Read analog value Reset Range of Immediate Outputs Read analog value Set Range of Immediate Outputs Read analog value Standard Deviation Read analog value Correlated Data Table Read analog value Table to Table Read analog value Scaling Values Read analog value Unscaling Values Read analog value Output analog value Output analog value Read and Write for extended periphery (direct assignment of parameters) Read and Write for extended periphery (indirect assignment of parameters) Sine (x) Cosine (x) Tangent (x) Cotangent (x) Arc sine (x) Arc cosine (x) Arc tangent (x) Arc cotangens (x) Natural logarithm ln (x) Decade logarithm Iog (x) General logarithm Iog (x) to basis b e to the power of n 10 to the power of n AKKU 2 to the power of AKKU 1 Count Up Count Down Count Up/Down Generate a Pulse Generate an On Delay Generate an Off Delay Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU

Send Data to Printer Initiate a Warm or Cold Restart on a Remote Device Changing a Remote Device to the STOP State Initiate a Hot Restart on a Remote Device Query the Status of a Remote Partner Receive the Status of a Remote Device Counter (high-speed counter, integrated function) (only exist on the CPU 312 IFM and CPU 314 IFM) Frequency Meter (frequency meter, integrated function (only exist on the CPU 312 IFM and CPU 314 IFM) Generating block related messages without acknowledgement indication Implement a Sequencer Generate Block-Related Messages with Acknowledgment Display Generate Block-Related Messages without Values for 8 Signals Generate Block-Related Messages with Values for 8 Signals Generate Block-Related Messages without Acknowledgment Display Send Archive Data Counter A/B (integrated function) (only exist on the CPU 314 IFM) Position (integrated function) (only exist on the CPU 314 IFM) Continuous Control (only exist on the CPU 314 IFM) Step Control (only exist on the CPU 314 IFM) Pulse Generation (only exist on the CPU 314 IFM) Positioning with Analog Output (only exist on the S7-300C CPUs) Positioning with Digital Output (only exist on the S7-300C CPUs) Controlling the Counter (only exist on the S7-300C CPUs) Controlling the Frequency Measurement (only exist on the S7-300C CPUs) Controlling Pulse Width Modulation (only exist on the S7-300C CPUs) Reading a Data Record Writing a Data Record Receiving an Interrupt Sending Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Receiving Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Deleting the Receive Buffer (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Sending Data (RK 512) (only exist on the S7-300C CPUs) Fetching Data (RK 512) (only exist on the S7-300C CPUs) Receiving and Providing Data (RK 512) (only exist on the S7-300C CPUs) Send interrupt to DP master Read Predefined Parameter Set System Clock Read System Clock Set Run-time Meter Start/Stop Run-time Meter Read Run-time Meter Query Logical Address of a Channel Read OB Start Information Trigger a Hardware Interrupt on the DP Master Enable Block-Related, Symbol-Related and Group Status Messages Disable Block-Related, Symbol-Related and Group Status Messages Synchronize Groups of DP Slaves Deactivation and activation of DP slaves Read Diagnostic Data of a DP Slave (Slave Diagnostics) Read Consistent Data of a Standard DP Slave Write Consistent Data to a DP Standard Slave

Generate Acknowledgeable Block-Related Messages Generate Permanently Acknowledged Block-Related Messages Query the Acknowledgment Status of the last ALARM_SQ Entering State Message Copy Variables Initialize a Memory Area Create Data Block Delete Data Block Test Data Block Compress the User Memory Update the Process Image Update Table Update the Process Image Output Table Set Time-of-Day Interrupt Cancel Time-of-Day Interrupt Activate Time-of-Day Interrupt Query Time-of-Day Interrupt Start Time-Delay Interrupt Cancel Time-Delay Interrupt Query Time-Delay Interrupt Trigger Multicomputing Interrupt Mask Synchronous Errors Unmask Synchronous Errors Read Error Register Disable New Interrupts and Asynchronous Errors Enable New Interrupts and Asynchronous Errors Delay Higher Priority Interrupts and Asynchronous Errors Enable Higher Priority Interrupts and Asynchronous Errors Re-trigger Cycle Time Monitoring Transfer Substitute Value to Accumulator 1 Change the CPU to STOP Delay Execution of the User Program Synchronize Slave Clocks Query the Module Slot Belonging to a Logical Address Query all Logical Addresses of a Module Read a System Status List or Partial List Write a User-Defined Diagnostic Event to the Diagnostic Buffer Read Defined Parameters Write Dynamic Parameters Write Default Parameters Assign Parameters to a Module Write a Data Record Read a Data Record Send a GD Packet Fetch a Received GD Packet Query the Status of a Connection Belonging to a Communication SFB Instance Assembly Code Block (only exists for CPU 614) Read the System Time Send Data to a Communication Partner outside the Local S7 Station Receive Data from a Communication Partner outside the Local S7 Station Read Data from a Communication Partner outside the Local S7 Station Write Data to a Communication Partner outside the Local S7 Station Abort an Existing Connection to a Communication Partner outside the Local S7 Station

Determine Start Address of a Module Determine the Slot Belonging to a Logical Address Read Data from a Communication Partner within the Local S7 Station Write Data to a Communication Partner within the Local S7 Station Abort an Existing Connection to a Communication Partner within the Local S7 Station Determine OB program runtime Set a Range of Outputs Reset a Range of Outputs Uninterruptible Block Move Create a Data Block in the Load Memory Read from a Data Block in Load Memory Write from a Data Block in Load Memory Create a Data Block Diagnosis of the Actual Connection Status Control Operation in H Systems Setting the Time-of-Day and the TOD Status Handling runtime meters Redefined Parameters Identifying the bus topology in a DP master system Controlling CiR Reading Dynamic System Resources Deleting Dynamic System Resources Generating Always Acknowledgeable and Block-Related Messages Generating Always Acknowledgeable and Block-Related Messages Update inputs in the user program interface of PROFInet components Update outputs in the user program interface of PROFInet components Update DP interconnections Update process image partition input table in synchronous cycle Update process image partition output table in synchronous cycle

se it sets the CPU clock to the current time and according to the changeover rules in the Control DB. t sets the time status to the current time and according to the changeover rules in the Control DB.

with time status.

TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks

FC FC FC FC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC FB FB FB FB

82 RSET 83 SET 100 RSETI 101 SETI 79 SET 80 RSET 0 SET_CLK 1 READ_CLK 2 SET_RTM 3 CTRL_RTM 4 READ_RTM 48 SNC_RTCB 64 TIME_TCK 100 SET_CLKS 101 RTM 8 USEND 9 URCV 12 BSEND 13 BRCV 14 GET 15 PUT 16 PRINT 19 START 20 STOP 21 RESUME 22 STATUS 23 USTATUS 31 NOTIFY_8P 33 ALARM 34 ALARM_8 35 ALARM_8P 36 NOTIFY 37 AR_SEND 9 EN_MSG 10 DIS_MSG 60 GD_SND 61 GD_RCV 62 CONTROL 65 X_SEND 66 X_RCV 67 X_GET 68 X_PUT 69 X_ABORT 72 I_GET 73 I_PUT 74 I_ABORT 87 C_DIAG 63 TSEND 64 TRCV 65 TCON 66 TDISCON

BIT_LOGC BIT_LOGC BIT_LOGC BIT_LOGC BIT_LOGC BIT_LOGC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COMM COMM COMM COMM

Communication Blocks Communication Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks PID Control Blocks PID Control Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks System Function Blocks System Function Blocks System Function Blocks SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP

FB FB FB FB FB FB FB FC FC FC FC FC FC FC FC FC SFB SFB SFB FB FB FB FB FB FB FB FB FB FB FB FB FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

67 TUSEND 68 TURCV 83 IMC 84 SMC 58 TCONT_CP 59 TCONT_S 80 LEAD_LAG 93 SEG 94 ATH 95 HTA 96 ENCO 97 DECO 98 BCDCPL 99 BITSUM 105 SCALE 106 UNSCALE 29 HS_COUNT 30 FREQ_MES 38 HSC_A_B 2 IDENTIFY 3 READ 4 REPORT 5 STATUS 6 WRITE 8 USEND 9 URCV 12 BSEND 13 BRCV 14 GET 15 PUT 55 IP_CONFIG 1 DP_SEND 2 DP_RECV 3 DP_DIAG 4 DP_CTRL 5 AG_SEND 6 AG_RECV 7 AG_LOCK 8 AG_UNLOCK 10 AG_CNTRL

COMM COMM COMPARE COMPARE CONTROL CONTROL CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT COUNTERS COUNTERS COUNTERS CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300

11 PNIO_SEND CP_300 12 PNIO_RECV CP_300 40 FTP_CONNECT P_300 C 41 FTP_STORE CP_300 42 FTP_RETRIEVE P_300 C 43 FTP_DELETE CP_300 44 FTP_QUIT CP_300 50 AG_LSEND CP_300 60 AG_LRECV CP_300

Communication Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks PID Control Blocks PID Control Blocks PID Control Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks

FC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFB SFB SFB SFB SFC SFC SFC SFC SFC SFC SFC FB FB FB SFB SFB SFB SFB FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

62 C_CNTRL 82 CREA_DBL 83 READ_DBL 84 WRIT_DBL 6 RD_SINFO 22 CREAT_DB 23 DEL_DB 24 TEST_DB 25 COMPRESS 85 CREA_DB 13 DPNRM_DG 36 MSK_FLT 37 DMSK_FLT 38 READ_ERR 44 REPL_VAL 51 RDSYSST 52 WR_USMSG 78 OB_RT 52 RDREC 53 WRREC 54 RALRM 75 SALRM 7 DP_PRAL 11 DPSYC_FR 12 D_ACT_DP 14 DPRD_DAT 15 DPWR_DAT 103 DP_TOPOL 90 H_CTRL 41 CONT_C 42 CONT_S 43 PULSEGEN 39 POS 41 CONT_C 42 CONT_S 43 PULSEGEN 1 AD_DT_TM 2 CONCAT 3 D_TOD_DT 4 DELETE 5 DI_STRNG 6 DT_DATE 7 DT_DAY 8 DT_TOD 9 EQ_DT 10 EQ_STRNG 11 FIND 12 GE_DT 13 GE_STRNG 14 GT_DT 15 GT_STRNG

CP_300 DB_CTRL DB_CTRL DB_CTRL DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC DP DP DP DP DP DP DP DP DP DP HF_FUNCT ICONT ICONT ICONT ICONT ICONT ICONT ICONT IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC

IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC SFB SFB SFB SFB SFB SFB FB FB FB FB SFB SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC

16 I_STRNG 17 INSERT 18 LE_DT 19 LE_STRNG 20 LEFT 21 LEN 22 LIMIT 23 LT_DT 24 LT_STRNG 25 MAX 26 MID 27 MIN 28 NE_DT 29 NE_STRNG 30 R_STRNG 31 REPLACE 32 RIGHT 33 S5TI_TIM 34 SB_DT_DT 35 SB_DT_TM 36 SEL 37 STRNG_DI 38 STRNG_I 39 STRNG_R 40 TIM_S5TI 0 CTU 1 CTD 2 CTUD 3 TP 4 TON 5 TOF 20 GETIO 21 SETIO 22 GETIO_PART 23 SETIO_PART 81 RD_DPAR 5 GADR_LGC 26 UPDAT_PI 27 UPDAT_PO 49 LGC_GADR 50 RD_LGADR 54 RD_PARM 55 WR_PARM 56 WR_DPARM 57 PARM_MOD 58 WR_REC 59 RD_REC 70 GEO_LOG 71 LOG_GEO 102 RD_DPARA 126 SYNC_PI

IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT

System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks

SFC SFC SFC SFC SFC FC FB FC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

127 SYNC_PO 39 DIS_IRT 40 EN_IRT 41 DIS_AIRT 42 EN_AIRT 102 DEV 86 PACK 81 IBLKMOV 20 BLKMOV 21 FILL 81 UBLKMOV 28 SET_TINT 29 CAN_TINT 30 ACT_TINT 31 QRY_TINT 32 SRT_DINT 33 CAN_DINT 34 QRY_DINT 35 MP_ALM 43 RE_TRIGR 46 STP 47 WAIT 104 CIR 63 AB_CALL 17 ALARM_SQ 18 ALARM_S 19 ALARM_SC 105 READ_SI 106 DEL_SI 107 ALARM_DQ 108 ALARM_D 112 PN_IN 113 PN_OUT 114 PN_DP 61 GP_FPGP 62 GP_GPFP 63 GP_ADD 64 GP_SUB 65 GP_MUL 66 GP_DIV 67 GP_VGL 68 RAD_GP 69 MLD_TG 70 MLD_TGZ 71 MLD_EZW 72 MLD_EDW 73 MLD_SAMW 74 MLD_SAM 75 MLD_EZ 78 MLD_EDWK 79 MLD_EZK

IO_FUNCT IRT_FUNC IRT_FUNC IRT_FUNC IRT_FUNC MATH_FP MOVE MOVE MOVE MOVE MOVE PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PLASTICS PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PROFIne2 PROFIne2 PROFIne2 S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT

S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks S5-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks

FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

80 MLD_EDK 81 COD_B4 82 COD_16 83 MUL_16 84 DIV_16 85 ADD_32 86 SUB_32 87 MUL_32 88 DIV_32 89 RAD_16 90 REG_SCHB 91 REG_SCHW 92 REG_FIFO 93 REG_LIFO 94 DB_COPY1 95 DB_COPY2 96 RETTEN 97 LADEN 98 COD_B8 99 COD_32 100 AE_460_1 101 AE_460_2 102 AE_463_1 103 AE_463_2 104 AE_464_1 105 AE_464_2 106 AE_466_1 107 AE_466_2 108 RLG_AA1 109 RLG_AA2 110 PER_ET1 111 PER_ET2 112 SINUS 113 COSINUS 114 TANGENS 115 COTANG 116 ARCSIN 117 ARCCOS 118 ARCTAN 119 ARCCOT 120 LN_X 121 LG_X 122 B_LOG_X 123 E_H_N 124 ZEHN_H_N 125 A2_H_A1 90 WSR 92 SHRB 84 ATT 85 FIFO 86 TBL_FIND

S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT SHIFT SHIFT TABLE TABLE TABLE

TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks System Function Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks System Function Blocks

FC FC FC FC FC FC SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB FB FB FB FC FC FC FC FB FB FB FC SFB

87 LIFO 88 TBL 89 TBL_WRD 91 WRD_TBL 103 CDT 104 TBL_TBL 44 ANALOG 46 DIGITAL 47 COUNT 48 FREQUENC 49 PULSE 60 SEND_PTP 61 RECV_PTP 62 RES_RECV 63 SEND_RK 64 FETCH_RK 65 SERVE_RK 60 SET_SW 61 SET_SW_S 62 TIMESTMP 60 LOC_TIME 61 BT_LT 62 LT_BT 63 S_LTINT 81 DCAT 82 MCAT 85 DRUM 80 TONR 32 DRUM

TABLE TABLE TABLE TABLE TABLE TABLE TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMERS TIMERS TIMERS TIMERS TIMERS

Reset Range of Outputs Set Range of Outputs Reset Range of Immediate Outputs Set Range of Immediate Outputs Set a Range of Outputs Reset a Range of Outputs Set System Clock Read System Clock Set Run-time Meter Start/Stop Run-time Meter Read Run-time Meter Synchronize Slave Clocks Read the System Time Setting the Time-of-Day and the TOD Status Handling runtime meters Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Send Data to Printer Initiate a Warm or Cold Restart on a Remote Device Changing a Remote Device to the STOP State Initiate a Hot Restart on a Remote Device Query the Status of a Remote Partner Receive the Status of a Remote Device Generating block related messages without acknowledgement indication Generate Block-Related Messages with Acknowledgment Display Generate Block-Related Messages without Values for 8 Signals Generate Block-Related Messages with Values for 8 Signals Generate Block-Related Messages without Acknowledgment Display Send Archive Data Enable Block-Related, Symbol-Related and Group Status Messages Disable Block-Related, Symbol-Related and Group Status Messages Send a GD Packet Fetch a Received GD Packet Query the Status of a Connection Belonging to a Communication SFB Instance Send Data to a Communication Partner outside the Local S7 Station Receive Data from a Communication Partner outside the Local S7 Station Read Data from a Communication Partner outside the Local S7 Station Write Data to a Communication Partner outside the Local S7 Station Abort an Existing Connection to a Communication Partner outside the Local S7 Station Read Data from a Communication Partner within the Local S7 Station Write Data to a Communication Partner within the Local S7 Station Abort an Existing Connection to a Communication Partner within the Local S7 Station Diagnosis of the Actual Connection Status Sending Data via TCP native and ISO on TCP Receiving Data via TCP native and ISO on TCP Establishing a Connection using TCP native and ISO on TCP Terminating a Connection using TCP native and ISO on TCP

Sending Data via UDP Receiving Data via UDP Index Matrix Compare Scan Matrix Compare Temperature Continuous Controller Temperature Step Controller Lead/Lag Algorithm Seven Segment Decoder ASCII to Hex Hex to ASCII Encode Binary Position Decode Binary Position Tens Complement Sum Number of Bits Scaling Values Unscaling Values Counter (high-speed counter, integrated function) (only exist on the CPU 312 IFM and CPU 314 IFM) Frequency Meter (frequency meter, integrated function (only exist on the CPU 312 IFM and CPU 314 IFM) Counter A/B (integrated function) (only exist on the CPU 314 IFM) For checking device properties Reads data from a data area of the communication partner specified by a name or index depending on the assignment of parameters for the job. Allows unconfirmed transmission of variables by an FMS server. allows status information to be requested from the communications partner on the specified FMS connection. Transfers data from a specified local data area to a data area on the communication partner. Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Transfers a configuration data block (CONF_DB) containing connection data for an Ethernet CP. transfers data to the PROFIBUS CP receives data on PROFIBUS used to request diagnostic information transfers control jobs to the PROFIBUS CP data by means of a configured connection to the communication partner (<= 240 bytes). data by means of a configured connection from the communication partner (<= 240 bytes, not email). the external data access by means of FETCH/WRITE (not for UDP, email). the external data access by means of FETCH/WRITE (not for UDP, email). allows you to diagnose connections. When necessary, you can reinitialize connection establishment using the FC. used for data transfer in the CP modes PROFINET IO controller or PROFINET IO device. used to receive data in the CP modes PROFINET IO controller or PROFINET IO device. Establish an FTP connection Store a file on the FTP server Retrieve a file from the FTP server Delete a file on the FTP server Enable an FTP connection data by means of a configured connection to the communication partner. data by means of a configured connection from the communication partner (not email).

Query a connection status for S7-300 Create a Data Block in the Load Memory Read from a Data Block in Load Memory Write from a Data Block in Load Memory Read OB Start Information Create Data Block Delete Data Block Test Data Block Compress the User Memory Create a Data Block Read Diagnostic Data of a DP Slave (Slave Diagnostics) Mask Synchronous Errors Unmask Synchronous Errors Read Error Register Transfer Substitute Value to Accumulator 1 Read a System Status List or Partial List Write a User-Defined Diagnostic Event to the Diagnostic Buffer Determine OB program runtime Reading a Data Record Writing a Data Record Receiving an Interrupt Send interrupt to DP master Trigger a Hardware Interrupt on the DP Master Synchronize Groups of DP Slaves Deactivation and activation of DP slaves Read Consistent Data of a Standard DP Slave Write Consistent Data to a DP Standard Slave Identifying the bus topology in a DP master system Control Operation in H Systems Continuous Control Step Control Pulse Generation Position (integrated function) (only exist on the CPU 314 IFM) Continuous Control (only exist on the CPU 314 IFM) Step Control (only exist on the CPU 314 IFM) Pulse Generation (only exist on the CPU 314 IFM) Point Math Add duration to a time Combine two STRING variables Combine DATE and TIME_OF_DAY to DT Delete in a STRING variable Data type conversion DINT to STRING Extract the DATE from DT Extract the day of the week from DT Extract the TIME_OF_DAY from DT Compare DT for equal Compare STRING for equal Find in a STRING variable Compare DT for greater than or equal Compare STRING for greater than or equal Compare DT for greater than Compare STRING for greater than

Data type conversion INT to STRING Insert in a STRING variable Compare DT for smaller than or equal Compare STRING for smaller than or equal Left part of a STRING variable Length of a STRING variable Point Math Limit Compare DT for smaller than Compare STRING for smaller than Point Math Select maximum Middle part of a STRING variable Point Math Select minimum Compare DT for unequal Compare STRING for unequal Data type conversion REAL to STRING Replace in a STRING variable Right part of a STRING variable Data type conversion S5TIME to TIME Point Math Subtract two time values Point Math Subtract duration from a time Point Math Binary selection Data type conversion STRING to DINT Data type conversion STRING to INT Data type conversion STRING to REAL Data type conversion TIME to S5TIME Count Up Count Down Count Up/Down Generate a Pulse Generate an On Delay Generate an Off Delay Read All Inputs of a DP Standard Slave/PROFINET IO Device Write All Outputs of a DP Standard Slave/PROFINET IO Device Read a Part of the Inputs of a DP Standard Slave/PROFINET IO Device Write a Part of the Outputs of a DP Standard Slave/PROFINET IO Device Read Predefined Parameter Query Logical Address of a Channel Update the Process Image Update Table Update the Process Image Output Table Query the Module Slot Belonging to a Logical Address Query all Logical Addresses of a Module Read Defined Parameters Write Dynamic Parameters Write Default Parameters Assign Parameters to a Module Write a Data Record Read a Data Record Determine Start Address of a Module Determine the Slot Belonging to a Logical Address Redefined Parameters Update process image partition input table in synchronous cycle

Update process image partition output table in synchronous cycle Disable New Interrupts and Asynchronous Errors Enable New Interrupts and Asynchronous Errors Delay Higher Priority Interrupts and Asynchronous Errors Enable Higher Priority Interrupts and Asynchronous Errors Standard Deviation Pack Data Indirect Block Move Copy Variables Initialize a Memory Area Uninterruptible Block Move Set Time-of-Day Interrupt Cancel Time-of-Day Interrupt Activate Time-of-Day Interrupt Query Time-of-Day Interrupt Start Time-Delay Interrupt Cancel Time-Delay Interrupt Query Time-Delay Interrupt Trigger Multicomputing Interrupt Re-trigger Cycle Time Monitoring Change the CPU to STOP Delay Execution of the User Program Controlling CiR Assembly Code Block (only exists for CPU 614) Generate Acknowledgeable Block-Related Messages Generate Permanently Acknowledged Block-Related Messages Query the Acknowledgment Status of the last ALARM_SQ Entering State Message Reading Dynamic System Resources Deleting Dynamic System Resources Generating Always Acknowledgeable and Block-Related Messages Generating Always Acknowledgeable and Block-Related Messages Update inputs in the user program interface of PROFInet components Update outputs in the user program interface of PROFInet components Update DP interconnections Change fixed point number to floating point number Change floating point number to fixed point number Add floating point numbers Subtract floating point numbers Multiply floating point number Divide floating point numbers Compare floating point numbers Extract root of floating point numbers Clock generator Clock generator (timing element) Message of first value with single flashing light, wordwise, A Message of first value with double flashing light, wordwise, A Collected message, wordwise (sound alert) Collected message, bitwise Message of first value with single flashing light, bitwise, A Message of first value with double flashing light, wordwise, A+M Message of first value with single flashing light, bitwise, A+M

Message of first value with double flashing light, bitwise, A+M Change BCD number to 16 bit dual number Change 16 bit dual number to BCD number Multiply 16 bit dual numbers Divide 16 bit dual numbers Add 32 bit dual numbers Subtract 32 bit dual numbers Multiply 32 bit dual numbers Divide 32 bit dual numbers Extract roots of 16 bit dual numbers Bi-directional shift register, bitwise Bi-directional shift register, wordwise Buffer memory (FIFO) Stack register (LIFO) Copy data block, direct assignment of parameters Copy data block, indirect assignment of parameterization Save scratchpad memory Load scratchpad memory Change BCD number to 32 bit dual number Change 32 bit dual number to BCD number Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Output analog value Output analog value Read and Write for extended periphery (direct assignment of parameters) Read and Write for extended periphery (indirect assignment of parameters) Sine (x) Cosine (x) Tangent (x) Cotangent (x) Arc sine (x) Arc cosine (x) Arc tangent (x) Arc cotangens (x) Natural logarithm ln (x) Decade logarithm Iog (x) General logarithm Iog (x) to basis b e to the power of n 10 to the power of n AKKU 2 to the power of AKKU 1 Word Shift Register Bit Shift Register Add to Table First In/First Out Unload Table Table Find

Last In/First Out Unload Table Table Move Table to Word Word to Table Correlated Data Table Table to Table Positioning with Analog Output (only exist on the S7-300C CPUs) Positioning with Digital Output (only exist on the S7-300C CPUs) Controlling the Counter (only exist on the S7-300C CPUs) Controlling the Frequency Measurement (only exist on the S7-300C CPUs) Controlling Pulse Width Modulation (only exist on the S7-300C CPUs) Sending Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Receiving Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Deleting the Receive Buffer (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Sending Data (RK 512) (only exist on the S7-300C CPUs) Fetching Data (RK 512) (only exist on the S7-300C CPUs) Receiving and Providing Data (RK 512) (only exist on the S7-300C CPUs) supports the summertime/wintertime changeover in CPUs that do not have the time status. For this purpose it sets the CPU clo supports the summertime/wintertime changeover in CPUs that do have the time status. For this purpose it sets the time status transfers the time-stamped messages of an IM153-2 into its instance DB. reads the time status or time of the CPU and calculates the local time. It is therefore only useful on CPUs with time status. calculates the local time from the base time given at the input. calculates the base time from the local time given at the input. sets the required time interrupt to the preset time. This time is given in local time. Discrete Control Alarm Timer Motor Control Alarm Timer Event Maskable Drum Software Timer On DelayRetentive Implement a Sequencer

se it sets the CPU clock to the current time and according to the changeover rules in the Control DB. t sets the time status to the current time and according to the changeover rules in the Control DB. with time status.

Siemens S7 System Function Blocks


SFB 0 SFB 1 SFB 2 SFB 3 SFB 4 SFB 5 SFB 8 SFB 9 SFB 12 SFB 13 SFB 14 SFB 15 SFB 16 SFB 19 SFB 20 SFB 21 SFB 22 SFB 23 SFB 29 SFB 30 SFB 31 SFB 32 SFB 33 SFB 34 SFB 35 SFB 36 SFB 37 SFB 38 SFB 39 SFB 41 SFB 42 SFB 43 SFB 44 SFB 46 SFB 47 SFB 48 SFB 49 SFB 52 SFB 53 SFB 54 SFB 60 SFB 61 SFB 62 CTU CTD CTUD TP TON TOF USEND URCV BSEND BRCV GET PUT PRINT START STOP RESUME STATUS USTATUS HS_COUNT Count Up Count Down Count Up/Down Generate a Pulse Generate an On Delay Generate an Off Delay Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Send Data to Printer Initiate a Warm or Cold Restart on a Remote Device Changing a Remote Device to the STOP State Initiate a Hot Restart on a Remote Device Query the Status of a Remote Partner Receive the Status of a Remote Device Counter (high-speed counter, integrated function) (only exist on the CPU 312 IFM and CPU 314 IFM) FREQ_MES COUNTERS Frequency Meter (frequency meter, integrated function (only exist on the CPU 312 IFM and CPU 314 IFM) NOTIFY_8P COM_FUNC Generating block related messages without acknowledgement indication DRUM ALARM ALARM_8 ALARM_8P NOTIFY AR_SEND HSC_A_B POS CONT_C CONT_S PULSEGEN ANALOG DIGITAL COUNT FREQUENC PULSE RDREC WRREC RALRM SEND_PTP RECV_PTP RES_RECV TIMERS COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS ICONT ICONT ICONT ICONT TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP DP DP TEC_FUNC TEC_FUNC TEC_FUNC Implement a Sequencer Generate Block-Related Messages with Acknowledgment Display Generate Block-Related Messages without Values for 8 Signals Generate Block-Related Messages with Values for 8 Signals Generate Block-Related Messages without Acknowledgment Display Send Archive Data Counter A/B (integrated function) (only exist on the CPU 314 IFM) Position (integrated function) (only exist on the CPU 314 IFM) Continuous Control (only exist on the CPU 314 IFM) Step Control (only exist on the CPU 314 IFM) Pulse Generation (only exist on the CPU 314 IFM) Positioning with Analog Output (only exist on the S7-300C CPUs) Positioning with Digital Output (only exist on the S7-300C CPUs) Controlling the Counter (only exist on the S7-300C CPUs) Controlling the Frequency Measurement (only exist on the S7-300C CPUs) Controlling Pulse Width Modulation (only exist on the S7-300C CPUs) Reading a Data Record Writing a Data Record Receiving an Interrupt Sending Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Receiving Data (ASCII, 3964(R)) (only exist on the S7-300C CPUs) Deleting the Receive Buffer (ASCII, 3964(R)) (only exist on the S7-300C CPUs) IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS

Siemens S7 System Function Blocks


SFB 63 SFB 64 SFB 65 SFB 75 SFB 81 SEND_RK FETCH_RK SERVE_RK SALRM RD_DPAR TEC_FUNC TEC_FUNC TEC_FUNC DP IO_FUNCT Sending Data (RK 512) (only exist on the S7-300C CPUs) Fetching Data (RK 512) (only exist on the S7-300C CPUs) Receiving and Providing Data (RK 512) (only exist on the S7-300C CPUs) Send interrupt to DP master Read Predefined Parameter

Siemens S7 System Function Calls


SFC 0 SFC 1 SFC 2 SFC 3 SFC 4 SFC 5 SFC 6 SFC 7 SFC 9 SFC 10 SFC 11 SFC 12 SFC 13 SFC 14 SFC 15 SFC 17 SFC 18 SFC 19 SFC 20 SFC 21 SFC 22 SFC 23 SFC 24 SFC 25 SFC 26 SFC 27 SFC 28 SFC 29 SFC 30 SFC 31 SFC 32 SFC 33 SFC 34 SFC 35 SFC 36 SFC 37 SFC 38 SFC 39 SFC 40 SFC 41 SFC 42 SFC 43 SFC 44 SFC 46 SFC 47 SFC 48 SFC 49 SET_CLK READ_CLK SET_RTM CTRL_RTM READ_RTM GADR_LGC RD_SINFO DP_PRAL EN_MSG DIS_MSG DPSYC_FR D_ACT_DP DPNRM_DG DPRD_DAT DPWR_DAT ALARM_SQ ALARM_S ALARM_SC BLKMOV FILL CREAT_DB DEL_DB TEST_DB COMPRESS UPDAT_PI UPDAT_PO SET_TINT CAN_TINT ACT_TINT QRY_TINT SRT_DINT CAN_DINT QRY_DINT MP_ALM MSK_FLT DMSK_FLT READ_ERR DIS_IRT EN_IRT DIS_AIRT EN_AIRT RE_TRIGR REPL_VAL STP WAIT SNC_RTCB LGC_GADR CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC IO_FUNCT DB_FUNCT DP COM_FUNC Set System Clock Read System Clock Set Run-time Meter Start/Stop Run-time Meter Read Run-time Meter Query Logical Address of a Channel Read OB Start Information Trigger a Hardware Interrupt on the DP Master Enable Block-Related, Symbol-Related and Group Status Messages

COM_FUNC Disable Block-Related, Symbol-Related and Group Status Messages DP DP DIAGNSTC DP DP PMC_FUNC PMC_FUNC PMC_FUNC MOVE MOVE DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT IO_FUNCT IO_FUNCT PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL DIAGNSTC DIAGNSTC DIAGNSTC IRT_FUNC IRT_FUNC IRT_FUNC IRT_FUNC PGM_CNTL DIAGNSTC PGM_CNTL PGM_CNTL CLK_FUNC IO_FUNCT Synchronize Groups of DP Slaves Deactivation and activation of DP slaves Read Diagnostic Data of a DP Slave (Slave Diagnostics) Read Consistent Data of a Standard DP Slave Write Consistent Data to a DP Standard Slave Generate Acknowledgeable Block-Related Messages Generate Permanently Acknowledged Block-Related Messages Query the Acknowledgment Status of the last ALARM_SQ Entering State Message Copy Variables Initialize a Memory Area Create Data Block Delete Data Block Test Data Block Compress the User Memory Update the Process Image Update Table Update the Process Image Output Table Set Time-of-Day Interrupt Cancel Time-of-Day Interrupt Activate Time-of-Day Interrupt Query Time-of-Day Interrupt Start Time-Delay Interrupt Cancel Time-Delay Interrupt Query Time-Delay Interrupt Trigger Multicomputing Interrupt Mask Synchronous Errors Unmask Synchronous Errors Read Error Register Disable New Interrupts and Asynchronous Errors Enable New Interrupts and Asynchronous Errors Delay Higher Priority Interrupts and Asynchronous Errors Enable Higher Priority Interrupts and Asynchronous Errors Re-trigger Cycle Time Monitoring Transfer Substitute Value to Accumulator 1 Change the CPU to STOP Delay Execution of the User Program Synchronize Slave Clocks Query the Module Slot Belonging to a Logical Address

- 66 -

Siemens S7 System Function Calls


SFC 50 SFC 51 SFC 52 SFC 54 SFC 55 SFC 56 SFC 57 SFC 58 SFC 59 SFC 60 SFC 61 SFC 62 SFC 63 SFC 64 SFC 65 SFC 66 SFC 67 SFC 68 SFC 69 SFC 70 SFC 71 SFC 72 SFC 73 SFC 74 SFC 78 SFC 79 SFC 80 SFC 81 SFC 82 SFC 83 SFC 84 SFC 85 SFC 87 SFC 90 SFC 100 SFC 101 SFC 102 SFC 103 SFC 104 SFC 105 SFC 106 RD_LGADR RDSYSST WR_USMSG RD_PARM WR_PARM WR_DPARM PARM_MOD WR_REC RD_REC GD_SND GD_RCV CONTROL AB_CALL TIME_TCK X_SEND X_RCV X_GET X_PUT X_ABORT GEO_LOG LOG_GEO I_GET I_PUT I_ABORT OB_RT SET RSET UBLKMOV CREA_DBL READ_DBL WRIT_DBL CREA_DB C_DIAG H_CTRL SET_CLKS RTM RD_DPARA DP_TOPOL CIR READ_SI DEL_SI IO_FUNCT DIAGNSTC DIAGNSTC IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC COM_FUNC Query all Logical Addresses of a Module Read a System Status List or Partial List Write a User-Defined Diagnostic Event to the Diagnostic Buffer Read Defined Parameters Write Dynamic Parameters Write Default Parameters Assign Parameters to a Module Write a Data Record Read a Data Record Send a GD Packet Fetch a Received GD Packet Query the Status of a Connection Belonging to a Communication SFB Instance PLASTICS Assembly Code Block (only exists for CPU 614) CLK_FUNC Read the System Time COM_FUNC Send Data to a Communication Partner outside the Local S7 Station COM_FUNC Receive Data from a Communication Partner outside the Local S7 Station COM_FUNC Read Data from a Communication Partner outside the Local S7 Station COM_FUNC Write Data to a Communication Partner outside the Local S7 Station COM_FUNC Abort an Existing Connection to a Communication Partner outside the Local S7 Station IO_FUNCT Determine Start Address of a Module IO_FUNCT Determine the Slot Belonging to a Logical Address COM_FUNC Read Data from a Communication Partner within the Local S7 Station COM_FUNC Write Data to a Communication Partner within the Local S7 Station COM_FUNC Abort an Existing Connection to a Communication Partner within the Local S7 Station DIAGNSTC Determine OB program runtime BIT_LOGC Set a Range of Outputs BIT_LOGC Reset a Range of Outputs MOVE Uninterruptible Block Move DB_CTRL Create a Data Block in the Load Memory DB_CTRL Read from a Data Block in Load Memory DB_CTRL Write from a Data Block in Load Memory DB_FUNCT Create a Data Block COM_FUNC Diagnosis of the Actual Connection Status HF_FUNCT Control Operation in H Systems CLK_FUNC Setting the Time-of-Day and the TOD Status CLK_FUNC Handling runtime meters IO_FUNCT Redefined Parameters DP Identifying the bus topology in a DP master system PGM_CNTL Controlling CiR PMC_FUNC Reading Dynamic System Resources PMC_FUNC Deleting Dynamic System Resources

- 67 -

Siemens S7 System Function Calls


SFC 107 ALARM_DQ SFC 108 ALARM_D SFC 112 PN_IN SFC 113 PN_OUT SFC 114 PN_DP SFC 126 SYNC_PI SFC 127 SYNC_PO PMC_FUNC Generating Always Acknowledgeable and Block-Related Messages PMC_FUNC Generating Always Acknowledgeable and Block-Related Messages PROFIne2 PROFIne2 PROFIne2 IO_FUNCT IO_FUNCT Update inputs in the user program interface of PROFInet components Update outputs in the user program interface of PROFInet components Update DP interconnections Update process image partition input table in synchronous cycle Update process image partition output table in synchronous cycle

- 68 -

Siemens S7 S5-S7 Converting Blocks


FC 61 FC 62 FC 63 FC 64 FC 65 FC 66 FC 67 FC 68 FC 69 FC 70 FC 71 FC 72 FC 73 FC 74 FC 75 FC 78 FC 79 FC 80 FC 81 FC 82 FC 83 FC 84 FC 85 FC 86 FC 87 FC 88 FC 89 FC 90 FC 91 FC 92 FC 93 FC 94 FC 95 FC 96 FC 97 FC 98 FC 99 FC 100 FC 101 FC 102 FC 103 FC 104 FC 105 FC 106 FC 107 FC 108 FC 109 FC 110 GP_FPGP GP_GPFP GP_ADD GP_SUB GP_MUL GP_DIV GP_VGL RAD_GP MLD_TG MLD_TGZ MLD_EZW MLD_EDW MLD_SAMW MLD_SAM MLD_EZ MLD_EDWK MLD_EZK MLD_EDK COD_B4 COD_16 MUL_16 DIV_16 ADD_32 SUB_32 MUL_32 DIV_32 RAD_16 REG_SCHB REG_SCHW REG_FIFO REG_LIFO DB_COPY1 DB_COPY2 RETTEN LADEN COD_B8 COD_32 AE_460_1 AE_460_2 AE_463_1 AE_463_2 AE_464_1 AE_464_2 AE_466_1 AE_466_2 RLG_AA1 RLG_AA2 PER_ET1 S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT Change fixed point number to floating point number Change floating point number to fixed point number Add floating point numbers Subtract floating point numbers Multiply floating point number Divide floating point numbers Compare floating point numbers Extract root of floating point numbers Clock generator Clock generator (timing element) Message of first value with single flashing light, wordwise, A Message of first value with double flashing light, wordwise, A Collected message, wordwise (sound alert) Collected message, bitwise Message of first value with single flashing light, bitwise, A Message of first value with double flashing light, wordwise, A+M Message of first value with single flashing light, bitwise, A+M Message of first value with double flashing light, bitwise, A+M Change BCD number to 16 bit dual number Change 16 bit dual number to BCD number Multiply 16 bit dual numbers Divide 16 bit dual numbers Add 32 bit dual numbers Subtract 32 bit dual numbers Multiply 32 bit dual numbers Divide 32 bit dual numbers Extract roots of 16 bit dual numbers Bi-directional shift register, bitwise Bi-directional shift register, wordwise Buffer memory (FIFO) Stack register (LIFO) Copy data block, direct assignment of parameters Copy data block, indirect assignment of parameterization Save scratchpad memory Load scratchpad memory Change BCD number to 32 bit dual number Change 32 bit dual number to BCD number Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Read analog value Output analog value Output analog value Read and Write for extended periphery (direct assignment of parameters)

Siemens S7 S5-S7 Converting Blocks


FC 111 FC 112 FC 113 FC 114 FC 115 FC 116 FC 117 FC 118 FC 119 FC 120 FC 121 FC 122 FC 123 FC 124 FC 125 PER_ET2 SINUS COSINUS TANGENS COTANG ARCSIN ARCCOS ARCTAN ARCCOT LN_X LG_X B_LOG_X E_H_N ZEHN_H_N A2_H_A1 S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT Read and Write for extended periphery (indirect assignment of parameters) Sine (x) Cosine (x) Tangent (x) Cotangent (x) Arc sine (x) Arc cosine (x) Arc tangent (x) Arc cotangens (x) Natural logarithm ln (x) Decade logarithm Iog (x) General logarithm Iog (x) to basis b e to the power of n 10 to the power of n AKKU 2 to the power of AKKU 1

Siemens S7 IEC Blocks


FC 1 FC 2 FC 3 FC 4 FC 5 FC 6 FC 7 FC 8 FC 9 FC 10 FC 11 FC 12 FC 13 FC 14 FC 15 FC 16 FC 17 FC 18 FC 19 FC 20 FC 21 FC 22 FC 23 FC 24 FC 25 FC 26 FC 27 FC 28 FC 29 FC 30 FC 31 FC 32 FC 33 FC 34 FC 35 FC 36 FC 37 FC 38 FC 39 FC 40 AD_DT_TM CONCAT D_TOD_DT DELETE DI_STRNG DT_DATE DT_DAY DT_TOD EQ_DT EQ_STRNG FIND GE_DT GE_STRNG GT_DT GT_STRNG I_STRNG INSERT LE_DT LE_STRNG LEFT LEN LIMIT LT_DT LT_STRNG MAX MID MIN NE_DT NE_STRNG R_STRNG REPLACE RIGHT S5TI_TIM SB_DT_DT SB_DT_TM SEL STRNG_DI STRNG_I STRNG_R TIM_S5TI IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC Point Math Add duration to a time Combine two STRING variables Combine DATE and TIME_OF_DAY to DT Delete in a STRING variable Data type conversion DINT to STRING Extract the DATE from DT Extract the day of the week from DT Extract the TIME_OF_DAY from DT Compare DT for equal Compare STRING for equal Find in a STRING variable Compare DT for greater than or equal Compare STRING for greater than or equal Compare DT for greater than Compare STRING for greater than Data type conversion INT to STRING Insert in a STRING variable Compare DT for smaller than or equal Compare STRING for smaller than or equal Left part of a STRING variable Length of a STRING variable Point Math Limit Compare DT for smaller than Compare STRING for smaller than Point Math Select maximum Middle part of a STRING variable Point Math Select minimum Compare DT for unequal Compare STRING for unequal Data type conversion REAL to STRING Replace in a STRING variable Right part of a STRING variable Data type conversion S5TIME to TIME Point Math Subtract two time values Point Math Subtract duration from a time Point Math Binary selection Data type conversion STRING to DINT Data type conversion STRING to INT Data type conversion STRING to REAL Data type conversion TIME to S5TIME

Siemens S7 PID Control Blocks


FB 41 FB 42 FB 43 FB 58 FB 59 CONT_C CONT_S PULSEGEN TCONT_CP TCONT_S ICONT ICONT ICONT CONTROL CONTROL Continuous Control Step Control Pulse Generation Temperature Continuous Controller Temperature Step Controller

Siemens S7 Communication Blocks


FB 2 FB 3 IDENTIFY READ CP_300 CP_300 For checking device properties Reads data from a data area of the communication partner specified by a name or index depending on the assignment of parameters for the job. Allows unconfirmed transmission of variables by an FMS server. allows status information to be requested from the communications partner on the specified FMS connection. Transfers data from a specified local data area to a data area on the communication partner. Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Read All Inputs of a DP Standard Slave/PROFINET IO Device Write All Outputs of a DP Standard Slave/PROFINET IO Device Read a Part of the Inputs of a DP Standard Slave/PROFINET IO Device Write a Part of the Outputs of a DP Standard Slave/PROFINET IO Device Transfers a configuration data block (CONF_DB) containing connection data for an Ethernet CP. Sending Data via TCP native and ISO on TCP Receiving Data via TCP native and ISO on TCP Establishing a Connection using TCP native and ISO on TCP Terminating a Connection using TCP native and ISO on TCP Sending Data via UDP Receiving Data via UDP transfers data to the PROFIBUS CP receives data on PROFIBUS used to request diagnostic information transfers control jobs to the PROFIBUS CP data by means of a configured connection to the communication partner (<= 240 bytes). data by means of a configured connection from the communication partner (<= 240 bytes, not email). the external data access by means of FETCH/WRITE (not for UDP, email). the external data access by means of FETCH/WRITE (not for UDP, email). allows you to diagnose connections. When necessary, you can reinitialize connection establishment using the FC. used for data transfer in the CP modes PROFINET IO controller or PROFINET IO device. used to receive data in the CP modes PROFINET IO controller or PROFINET IO device. Establish an FTP connection Store a file on the FTP server Retrieve a file from the FTP server

FB 4 FB 5 FB 6 FB 8 FB 9 FB 12 FB 13 FB 14 FB 15 FB 20 FB 21 FB 22 FB 23 FB 55 FB 63 FB 64 FB 65 FB 66 FB 67 FB 68 FC 1 FC 2 FC 3 FC 4 FC 5 FC 6 FC 7 FC 8 FC 10 FC 11 FC 12 FC 40 FC 41 FC 42

REPORT STATUS WRITE USEND URCV BSEND BRCV GET PUT GETIO SETIO GETIO_PART SETIO_PART IP_CONFIG TSEND TRCV TCON TDISCON TUSEND TURCV DP_SEND DP_RECV DP_DIAG DP_CTRL AG_SEND AG_RECV AG_LOCK AG_UNLOCK AG_CNTRL PNIO_SEND PNIO_RECV

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT CP_300 COMM COMM COMM COMM COMM COMM CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300

FTP_CONNECT CP_300 FTP_STORE CP_300 FTP_RETRIEVE CP_300

Siemens S7 Communication Blocks


FC 43 FC 44 FC 50 FC 60 FC 62 FTP_DELETE FTP_QUIT AG_LSEND AG_LRECV C_CNTRL CP_300 CP_300 CP_300 CP_300 CP_300 Delete a file on the FTP server Enable an FTP connection data by means of a configured connection to the communication partner. data by means of a configured connection from the communication partner (not email). Query a connection status for S7-300

Siemens TI-S7 Converting Blocks


FB 80 FB 81 FB 82 FB 83 FB 84 FB 85 FB 86 FC 80 FC 81 FC 82 FC 83 FC 84 FC 85 FC 86 FC 87 FC 88 FC 89 FC 90 FC 91 FC 92 FC 93 FC 94 FC 95 FC 96 FC 97 FC 98 FC 99 FC 100 FC 101 FC 102 FC 103 FC 104 FC 105 FC 106 LEAD_LAG DCAT MCAT IMC SMC DRUM PACK TONR IBLKMOV RSET SET ATT FIFO TBL_FIND LIFO TBL TBL_WRD WSR WRD_TBL SHRB SEG ATH HTA ENCO DECO BCDCPL BITSUM RSETI SETI DEV CDT TBL_TBL SCALE UNSCALE CONVERT TIMERS TIMERS COMPARE COMPARE TIMERS MOVE TIMERS MOVE BIT_LOGC BIT_LOGC TABLE TABLE TABLE TABLE TABLE TABLE SHIFT TABLE SHIFT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT BIT_LOGC BIT_LOGC MATH_FP TABLE TABLE CONVERT CONVERT Lead/Lag Algorithm Discrete Control Alarm Timer Motor Control Alarm Timer Index Matrix Compare Scan Matrix Compare Event Maskable Drum Pack Data Software Timer On DelayRetentive Indirect Block Move Reset Range of Outputs Set Range of Outputs Add to Table First In/First Out Unload Table Table Find Last In/First Out Unload Table Table Move Table to Word Word Shift Register Word to Table Bit Shift Register Seven Segment Decoder ASCII to Hex Hex to ASCII Encode Binary Position Decode Binary Position Tens Complement Sum Number of Bits Reset Range of Immediate Outputs Set Range of Immediate Outputs Standard Deviation Correlated Data Table Table to Table Scaling Values Unscaling Values

Siemens S7 Misc Blocks


FB 60 SET_SW TIMEFUNC supports the summertime/wintertime changeover in CPUs that do not have the time status. For this purpose it sets the CPU clock to the current time and according to the changeover rules in the Control DB. TIMEFUNC supports the summertime/wintertime changeover in CPUs that do have the time status. For this purpose it sets the time status to the current time and according to the changeover rules in the Control DB. TIMEFUNC transfers the time-stamped messages of an IM153-2 into its instance DB. TIMEFUNC reads the time status or time of the CPU and calculates the local time. It is therefore only useful on CPUs with time status. TIMEFUNC calculates the local time from the base time given at the input. TIMEFUNC calculates the base time from the local time given at the input. TIMEFUNC sets the required time interrupt to the preset time. This time is given in local time.

FB 61

SET_SW_S

FB 62 FC 60 FC 61 FC 62 FC 63

TIMESTMP LOC_TIME BT_LT LT_BT S_LTINT

Connection Types for Connection Partners in the Same Project


The connection type is dependent on the subnet and the transfer protocol via which the connection is established, and on the automation family to which the connection partners belong. The blocks (SFBs, FBs, or FCs) you can use depend on the connection type. The following table should make it easier for you to select the connection type for the connection you want to establish. Connection Type S7 connection Subnet Type MPI, PROFIBUS, Industrial Ethernet Connection between SIMATIC... S7 - S7, S7 - PG/PC, S7 - PG/PC with WinCC with MPI also: M7 - M7, M7 - S7, M7 - PG/PC S7 - partner in another project (S7, PG/PC with WinCC) S7(H) - S7(H), S7(H) - PC station (H) S7 - S7, S7 - S5, S7 - non-Siemens device S7 - partner in another project (S7, no Siemens device) S7 - S7, S7 - S5, S7 - PG/PC, S7 - no Siemens device, S7 - broadcast to all nodes S7 - partner in another project (S7, S5, PG/PC, no Siemens device) FDL connection PROFIBUS (FDL protocol) S7 - partner in another project (S7, S5, PG/PC, non-Siemens device) S7 - S7, S7 - S5, S7 - PC/PG, S7 -non-Siemens device

S7 connection, fault- PROFIBUS, tolerant Industrial Ethernet PTP Point-to-point (computer protocol RK 512/3964(R)) Connection

FMS connection

PROFIBUS

(FMS protocol)

ISO

Industrial Ethernet

S7 - S7, S7 - S5, S7 - PC/PG, S7 non-Siemens device, S7 - unspecified

transport link

(ISO Transport protocol)

S7 - partner in another project (S7, S5, PG/PC, non-Siemens device, unspecified)

ISO-on-TCP connection

Industrial Ethernet (TCP/IP protocol)

S7 - S7, S7 - S5, S7 - PC/PG, S7 - non-Siemens device, S7 - unspecified S7 - partner in another project (S7, S5, PG/PC, non-Siemens device, unspecified)

TCP connection

Industrial Ethernet (TCP/IP protocol)

S7 - S7, S7 - S5, S7 - PC/PG, S7 - non-Siemens device, S7 - unspecified S7 - partner in another project (S7, S5, PG/PC, non-Siemens device, unspecified)

UDP connection

Industrial Ethernet

S7 - S7, S7 - S5, S7 - PG/PC, S7 non-Siemens device, S7 - unspecified

(TCP/IP protocol) S7 - partner in another project (S7, S5, PG/PC, non-Siemens device, unspecified)

E-mail connection

Industrial Ethernet (TCP/IP protocol)

S7 - unspecified (S7 - mail server)

* The FCs AG_SEND and AG_RECV here can only be used for S7-300 (this depends on release number of the CP, see the documentation for the CP). ** The FCs AG_LSEND and AG_LRECV here can generally be used for S7-400, and in addition for S7-300 (this depends on release number of the CP, see the documentation for the CP).

ol via which the connection is established, and on the

type.

n type for the connection you want to establish. SFB/FB/FC SFBs USEND, URCV, BSEND, BRCV, GET, PUT, START, STOP, RESUME, STATUS, USTATUS

SFBs USEND, URCV, BSEND, BRCV, START, STOP, RESUME, STATUS, USTATUS SFBs BSEND, BRCV, GET, PUT, STATUS, PRINT

FBs READ, WRITE, IDENTIFY, OSTATUS, REPORT

FCs AG_SEND, AG_RECV,

AG_LSEND, AG_LRECV FCs AG-SEND,

AG-RECEIVE

AG_LSEND, AG_LRECV, AG_LOCK,

AG_UNLOCK; FCs AG-SEND, AG-RECEIVE AG_LSEND, AG_LRECV, AG_LOCK,

AG_UNLOCK FCs AG_SEND*, AG_RECV*, AG_LSEND**, AG_LRECV**

AG_LOCK AG_UNLOCK FCs AG-SEND,

AG-RECEIVE

AG_LSEND, AG_LRECV FCs AG-SEND, AG_LSEND

(this depends on release number of the CP, see the

S7-400, and in addition for S7-300 (this depends on

Possibilities for Communication between Device Types


The possible communication available with the types of communication listed above is shown in the following table: S7-300 S7-400 S5-115 to -155U/H PC station

S7-300

S7 communication SEND/RECEIVE PROFINET CBA PROFINET IO

S7 communication SEND/RECEIVE PROFINET CBA PROFINET IO**

SEND/RECEIVE FETCH/WRITE

PG/OP communication* S7 communication* SEND/RECEIVE FETCH/WRITE HTML process monitoring PROFINET CBA PROFINET IO FTP Services

S7-400

S7 communication SEND/RECEIVE PROFINET CBA PROFINET IO**

S7 communication SEND/RECEIVE PROFINET CBA FTP Services

SEND/RECEIVE FETCH/WRITE

PG/OP communication* S7 communication* SEND/RECEIVE FETCH/WRITE HTML process monitoring PROFINET CBA PROFINET IO FTP Services

* PC only as client ** S7-400 as PROFINET IO controller and S7-300 as PROFINET IO device or controller

from S7-CPs for Industrial Ethernet Configuring and Commissioning

You might also like