Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Siemens S7 Libraries

Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 67
At a glance
Powered by AI
The document discusses various types of communication protocols and function blocks that can be used for communication between different automation devices.

Some of the communication types mentioned are S7 communication, PROFINET CBA, PROFINET IO, FTP services, PG/OP communication, HTML process monitoring.

Some of the SFBs/FCs mentioned for communication are USEND, URCV, BSEND, BRCV, GET, PUT, START, STOP, RESUME, STATUS, USTATUS, AG_SEND, AG_RECEIVE.

System Function Blocks SFB 0 CTU IEC_TC

System Function Blocks SFB 1 CTD IEC_TC


System Function Blocks SFB 2 CTUD IEC_TC
System Function Blocks SFB 3 TP IEC_TC
System Function Blocks SFB 4 TON IEC_TC
System Function Blocks SFB 5 TOF IEC_TC
System Function Blocks SFB 8 USEND COM_FUNC
System Function Blocks SFB 9 URCV COM_FUNC
System Function Blocks SFB 12 BSEND COM_FUNC
System Function Blocks SFB 13 BRCV COM_FUNC
System Function Blocks SFB 14 GET COM_FUNC
System Function Blocks SFB 15 PUT COM_FUNC
System Function Blocks SFB 16 PRINT COM_FUNC
System Function Blocks SFB 19 START COM_FUNC
System Function Blocks SFB 20 STOP COM_FUNC
System Function Blocks SFB 21 RESUME COM_FUNC
System Function Blocks SFB 22 STATUS COM_FUNC
System Function Blocks SFB 23 USTATUS COM_FUNC
System Function Blocks SFB 29 HS_COUNT COUNTERS
System Function Blocks SFB 30 FREQ_MES COUNTERS
System Function Blocks SFB 31 NOTIFY_8P COM_FUNC
System Function Blocks SFB 32 DRUM TIMERS
System Function Blocks SFB 33 ALARM COM_FUNC
System Function Blocks SFB 34 ALARM_8 COM_FUNC
System Function Blocks SFB 35 ALARM_8P COM_FUNC
System Function Blocks SFB 36 NOTIFY COM_FUNC
System Function Blocks SFB 37 AR_SEND COM_FUNC
System Function Blocks SFB 38 HSC_A_B COUNTERS
System Function Blocks SFB 39 POS ICONT
System Function Blocks SFB 41 CONT_C ICONT
System Function Blocks SFB 42 CONT_S ICONT
System Function Blocks SFB 43 PULSEGEN ICONT
System Function Blocks SFB 44 ANALOG TEC_FUNC
System Function Blocks SFB 46 DIGITAL TEC_FUNC
System Function Blocks SFB 47 COUNT TEC_FUNC
System Function Blocks SFB 48 FREQUENC TEC_FUNC
System Function Blocks SFB 49 PULSE TEC_FUNC
System Function Blocks SFB 52 RDREC DP
System Function Blocks SFB 53 WRREC DP
System Function Blocks SFB 54 RALRM DP
System Function Blocks SFB 60 SEND_PTP TEC_FUNC
System Function Blocks SFB 61 RECV_PTP TEC_FUNC
System Function Blocks SFB 62 RES_RECV TEC_FUNC
System Function Blocks SFB 63 SEND_RK TEC_FUNC
System Function Blocks SFB 64 FETCH_RK TEC_FUNC
System Function Blocks SFB 65 SERVE_RK TEC_FUNC
System Function Blocks SFB 75 SALRM DP
System Function Blocks SFB 81 RD_DPAR IO_FUNCT
System Function Blocks SFC 0 SET_CLK CLK_FUNC
System Function Blocks SFC 1 READ_CLK CLK_FUNC
System Function Blocks SFC 2 SET_RTM CLK_FUNC
System Function Blocks SFC 3 CTRL_RTM CLK_FUNC
System Function Blocks SFC 4 READ_RTM CLK_FUNC
System Function Blocks SFC 5 GADR_LGC IO_FUNCT
System Function Blocks SFC 6 RD_SINFO DB_FUNCT
System Function Blocks SFC 7 DP_PRAL DP
System Function Blocks SFC 9 EN_MSG COM_FUNC
System Function Blocks SFC 10 DIS_MSG COM_FUNC
System Function Blocks SFC 11 DPSYC_FR DP
System Function Blocks SFC 12 D_ACT_DP DP
System Function Blocks SFC 13 DPNRM_DG DIAGNSTC
System Function Blocks SFC 14 DPRD_DAT DP
System Function Blocks SFC 15 DPWR_DAT DP
System Function Blocks SFC 17 ALARM_SQ PMC_FUNC
System Function Blocks SFC 18 ALARM_S PMC_FUNC
System Function Blocks SFC 19 ALARM_SC PMC_FUNC
System Function Blocks SFC 20 BLKMOV MOVE
System Function Blocks SFC 21 FILL MOVE
System Function Blocks SFC 22 CREAT_DB DB_FUNCT
System Function Blocks SFC 23 DEL_DB DB_FUNCT
System Function Blocks SFC 24 TEST_DB DB_FUNCT
System Function Blocks SFC 25 COMPRESS DB_FUNCT
System Function Blocks SFC 26 UPDAT_PI IO_FUNCT
System Function Blocks SFC 27 UPDAT_PO IO_FUNCT
System Function Blocks SFC 28 SET_TINT PGM_CNTL
System Function Blocks SFC 29 CAN_TINT PGM_CNTL
System Function Blocks SFC 30 ACT_TINT PGM_CNTL
System Function Blocks SFC 31 QRY_TINT PGM_CNTL
System Function Blocks SFC 32 SRT_DINT PGM_CNTL
System Function Blocks SFC 33 CAN_DINT PGM_CNTL
System Function Blocks SFC 34 QRY_DINT PGM_CNTL
System Function Blocks SFC 35 MP_ALM PGM_CNTL
System Function Blocks SFC 36 MSK_FLT DIAGNSTC
System Function Blocks SFC 37 DMSK_FLT DIAGNSTC
System Function Blocks SFC 38 READ_ERR DIAGNSTC
System Function Blocks SFC 39 DIS_IRT IRT_FUNC
System Function Blocks SFC 40 EN_IRT IRT_FUNC
System Function Blocks SFC 41 DIS_AIRT IRT_FUNC
System Function Blocks SFC 42 EN_AIRT IRT_FUNC
System Function Blocks SFC 43 RE_TRIGR PGM_CNTL
System Function Blocks SFC 44 REPL_VAL DIAGNSTC
System Function Blocks SFC 46 STP PGM_CNTL
System Function Blocks SFC 47 WAIT PGM_CNTL
System Function Blocks SFC 48 SNC_RTCB CLK_FUNC
System Function Blocks SFC 49 LGC_GADR IO_FUNCT
System Function Blocks SFC 50 RD_LGADR IO_FUNCT
System Function Blocks SFC 51 RDSYSST DIAGNSTC
System Function Blocks SFC 52 WR_USMSG DIAGNSTC
System Function Blocks SFC 54 RD_PARM IO_FUNCT
System Function Blocks SFC 55 WR_PARM IO_FUNCT
System Function Blocks SFC 56 WR_DPARM IO_FUNCT
System Function Blocks SFC 57 PARM_MOD IO_FUNCT
System Function Blocks SFC 58 WR_REC IO_FUNCT
System Function Blocks SFC 59 RD_REC IO_FUNCT
System Function Blocks SFC 60 GD_SND COM_FUNC
System Function Blocks SFC 61 GD_RCV COM_FUNC
System Function Blocks SFC 62 CONTROL COM_FUNC
System Function Blocks SFC 63 AB_CALL PLASTICS
System Function Blocks SFC 64 TIME_TCK CLK_FUNC
System Function Blocks SFC 65 X_SEND COM_FUNC
System Function Blocks SFC 66 X_RCV COM_FUNC
System Function Blocks SFC 67 X_GET COM_FUNC
System Function Blocks SFC 68 X_PUT COM_FUNC
System Function Blocks SFC 69 X_ABORT COM_FUNC
System Function Blocks SFC 70 GEO_LOG IO_FUNCT
System Function Blocks SFC 71 LOG_GEO IO_FUNCT
System Function Blocks SFC 72 I_GET COM_FUNC
System Function Blocks SFC 73 I_PUT COM_FUNC
System Function Blocks SFC 74 I_ABORT COM_FUNC
System Function Blocks SFC 78 OB_RT DIAGNSTC
System Function Blocks SFC 79 SET BIT_LOGC
System Function Blocks SFC 80 RSET BIT_LOGC
System Function Blocks SFC 81 UBLKMOV MOVE
System Function Blocks SFC 82 CREA_DBL DB_CTRL
System Function Blocks SFC 83 READ_DBL DB_CTRL
System Function Blocks SFC 84 WRIT_DBL DB_CTRL
System Function Blocks SFC 85 CREA_DB DB_FUNCT
System Function Blocks SFC 87 C_DIAG COM_FUNC
System Function Blocks SFC 90 H_CTRL HF_FUNCT
System Function Blocks SFC 100 SET_CLKS CLK_FUNC
System Function Blocks SFC 101 RTM CLK_FUNC
System Function Blocks SFC 102 RD_DPARA IO_FUNCT
System Function Blocks SFC 103 DP_TOPOL DP
System Function Blocks SFC 104 CIR PGM_CNTL
System Function Blocks SFC 105 READ_SI PMC_FUNC
System Function Blocks SFC 106 DEL_SI PMC_FUNC
System Function Blocks SFC 107 ALARM_DQ PMC_FUNC
System Function Blocks SFC 108 ALARM_D PMC_FUNC
System Function Blocks SFC 112 PN_IN PROFIne2
System Function Blocks SFC 113 PN_OUT PROFIne2
System Function Blocks SFC 114 PN_DP PROFIne2
System Function Blocks SFC 126 SYNC_PI IO_FUNCT
System Function Blocks SFC 127 SYNC_PO IO_FUNCT
S5-S7 Converting Blocks FC 61 GP_FPGP S5_CNVRT
S5-S7 Converting Blocks FC 62 GP_GPFP S5_CNVRT
S5-S7 Converting Blocks FC 63 GP_ADD S5_CNVRT
S5-S7 Converting Blocks FC 64 GP_SUB S5_CNVRT
S5-S7 Converting Blocks FC 65 GP_MUL S5_CNVRT
S5-S7 Converting Blocks FC 66 GP_DIV S5_CNVRT
S5-S7 Converting Blocks FC 67 GP_VGL S5_CNVRT
S5-S7 Converting Blocks FC 68 RAD_GP S5_CNVRT
S5-S7 Converting Blocks FC 69 MLD_TG S5_CNVRT
S5-S7 Converting Blocks FC 70 MLD_TGZ S5_CNVRT
S5-S7 Converting Blocks FC 71 MLD_EZW S5_CNVRT
S5-S7 Converting Blocks FC 72 MLD_EDW S5_CNVRT
S5-S7 Converting Blocks FC 73 MLD_SAMW S5_CNVRT
S5-S7 Converting Blocks FC 74 MLD_SAM S5_CNVRT
S5-S7 Converting Blocks FC 75 MLD_EZ  S5_CNVRT
S5-S7 Converting Blocks FC 78 MLD_EDWK S5_CNVRT
S5-S7 Converting Blocks FC 79 MLD_EZK S5_CNVRT
S5-S7 Converting Blocks FC 80 MLD_EDK S5_CNVRT
S5-S7 Converting Blocks FC 81 COD_B4 S5_CNVRT
S5-S7 Converting Blocks FC 82 COD_16 S5_CNVRT
S5-S7 Converting Blocks FC 83 MUL_16 S5_CNVRT
S5-S7 Converting Blocks FC 84 DIV_16 S5_CNVRT
S5-S7 Converting Blocks FC 85 ADD_32 S5_CNVRT
S5-S7 Converting Blocks FC 86 SUB_32 S5_CNVRT
S5-S7 Converting Blocks FC 87 MUL_32  S5_CNVRT
S5-S7 Converting Blocks FC 88 DIV_32 S5_CNVRT
S5-S7 Converting Blocks FC 89 RAD_16 S5_CNVRT
S5-S7 Converting Blocks FC 90 REG_SCHB S5_CNVRT
S5-S7 Converting Blocks FC 91 REG_SCHW  S5_CNVRT
S5-S7 Converting Blocks FC 92 REG_FIFO S5_CNVRT
S5-S7 Converting Blocks FC 93 REG_LIFO S5_CNVRT
S5-S7 Converting Blocks FC 94 DB_COPY1 S5_CNVRT
S5-S7 Converting Blocks FC 95 DB_COPY2  S5_CNVRT
S5-S7 Converting Blocks FC 96 RETTEN S5_CNVRT
S5-S7 Converting Blocks FC 97 LADEN S5_CNVRT
S5-S7 Converting Blocks FC 98 COD_B8 S5_CNVRT
S5-S7 Converting Blocks FC 99 COD_32 S5_CNVRT
S5-S7 Converting Blocks FC 100 AE_460_1 S5_CNVRT
S5-S7 Converting Blocks FC 101 AE_460_2 S5_CNVRT
S5-S7 Converting Blocks FC 102 AE_463_1  S5_CNVRT
S5-S7 Converting Blocks FC 103 AE_463_2 S5_CNVRT
S5-S7 Converting Blocks FC 104 AE_464_1 S5_CNVRT
S5-S7 Converting Blocks FC 105 AE_464_2 S5_CNVRT
S5-S7 Converting Blocks FC 106 AE_466_1 S5_CNVRT
S5-S7 Converting Blocks FC 107 AE_466_2 S5_CNVRT
S5-S7 Converting Blocks FC 108 RLG_AA1 S5_CNVRT
S5-S7 Converting Blocks FC 109 RLG_AA2 S5_CNVRT
S5-S7 Converting Blocks FC 110 PER_ET1 S5_CNVRT
S5-S7 Converting Blocks FC 111 PER_ET2 S5_CNVRT
S5-S7 Converting Blocks FC 112 SINUS S5_CNVRT
S5-S7 Converting Blocks FC 113 COSINUS S5_CNVRT
S5-S7 Converting Blocks FC 114 TANGENS S5_CNVRT
S5-S7 Converting Blocks FC 115 COTANG S5_CNVRT
S5-S7 Converting Blocks FC 116 ARCSIN S5_CNVRT
S5-S7 Converting Blocks FC 117 ARCCOS S5_CNVRT
S5-S7 Converting Blocks FC 118 ARCTAN S5_CNVRT
S5-S7 Converting Blocks FC 119 ARCCOT S5_CNVRT
S5-S7 Converting Blocks FC 120 LN_X S5_CNVRT
S5-S7 Converting Blocks FC 121 LG_X S5_CNVRT
S5-S7 Converting Blocks FC 122 B_LOG_X S5_CNVRT
S5-S7 Converting Blocks FC 123 E_H_N S5_CNVRT
S5-S7 Converting Blocks FC 124 ZEHN_H_N S5_CNVRT
S5-S7 Converting Blocks FC 125 A2_H_A1 S5_CNVRT
IEC Function Blocks FC 1 AD_DT_TM IEC
IEC Function Blocks FC 2 CONCAT IEC
IEC Function Blocks FC 3 D_TOD_DT IEC
IEC Function Blocks FC 4 DELETE IEC
IEC Function Blocks FC 5 DI_STRNG IEC
IEC Function Blocks FC 6 DT_DATE IEC
IEC Function Blocks FC 7 DT_DAY IEC
IEC Function Blocks FC 8 DT_TOD IEC
IEC Function Blocks FC 9 EQ_DT IEC
IEC Function Blocks FC 10 EQ_STRNG IEC
IEC Function Blocks FC 11 FIND IEC
IEC Function Blocks FC 12 GE_DT IEC
IEC Function Blocks FC 13 GE_STRNG IEC
IEC Function Blocks FC 14 GT_DT IEC
IEC Function Blocks FC 15 GT_STRNG IEC
IEC Function Blocks FC 16 I_STRNG IEC
IEC Function Blocks FC 17 INSERT IEC
IEC Function Blocks FC 18 LE_DT IEC
IEC Function Blocks FC 19 LE_STRNG IEC
IEC Function Blocks FC 20 LEFT IEC
IEC Function Blocks FC 21 LEN IEC
IEC Function Blocks FC 22 LIMIT IEC
IEC Function Blocks FC 23 LT_DT IEC
IEC Function Blocks FC 24 LT_STRNG IEC
IEC Function Blocks FC 25 MAX IEC
IEC Function Blocks FC 26 MID IEC
IEC Function Blocks FC 27 MIN IEC
IEC Function Blocks FC 28 NE_DT IEC
IEC Function Blocks FC 29 NE_STRNG IEC
IEC Function Blocks FC 30 R_STRNG IEC
IEC Function Blocks FC 31 REPLACE IEC
IEC Function Blocks FC 32 RIGHT IEC
IEC Function Blocks FC 33 S5TI_TIM IEC
IEC Function Blocks FC 34 SB_DT_DT IEC
IEC Function Blocks FC 35 SB_DT_TM IEC
IEC Function Blocks FC 36 SEL IEC
IEC Function Blocks FC 37 STRNG_DI IEC
IEC Function Blocks FC 38 STRNG_I IEC
IEC Function Blocks FC 39 STRNG_R IEC
IEC Function Blocks FC 40 TIM_S5TI IEC
PID Control Blocks FB 41 CONT_C ICONT
PID Control Blocks FB 42 CONT_S ICONT
PID Control Blocks FB 43 PULSEGEN ICONT
PID Control Blocks FB 58 TCONT_CP CONTROL
PID Control Blocks FB 59 TCONT_S CONTROL
SIMATIC_NET_CP FB 2 IDENTIFY CP_300
FB 3 READ CP_300
SIMATIC_NET_CP
SIMATIC_NET_CP FB 4 REPORT CP_300
SIMATIC_NET_CP FB 5 STATUS CP_300
SIMATIC_NET_CP FB 6 WRITE CP_300
Communication Blocks FB 8 USEND CP_300
Communication Blocks FB 9 URCV CP_300
Communication Blocks FB 12 BSEND CP_300
Communication Blocks FB 13 BRCV CP_300
Communication Blocks FB 14 GET CP_300
Communication Blocks FB 15 PUT CP_300
Communication Blocks FB 20 GETIO IO_FUNCT
Communication Blocks FB 21 SETIO IO_FUNCT
Communication Blocks FB 22 GETIO_PART IO_FUNCT
Communication Blocks FB 23 SETIO_PART IO_FUNCT
FB 55 IP_CONFIG CP_300
Communication Blocks FB 63 TSEND COMM
Communication Blocks FB 64 TRCV COMM
Communication Blocks FB 65 TCON COMM
Communication Blocks FB 66 TDISCON COMM
Communication Blocks FB 67 TUSEND COMM
Communication Blocks FB 68 TURCV COMM
Communication Blocks FC 1 DP_SEND CP_300
Communication Blocks FC 2 DP_RECV CP_300
Communication Blocks FC 3 DP_DIAG CP_300
Communication Blocks FC 4 DP_CTRL CP_300
SIMATIC_NET_CP FC 5 AG_SEND CP_300
SIMATIC_NET_CP FC 6 AG_RECV CP_300
SIMATIC_NET_CP FC 7 AG_LOCK CP_300
SIMATIC_NET_CP FC 8 AG_UNLOCK CP_300
FC 10 AG_CNTRL CP_300
SIMATIC_NET_CP
SIMATIC_NET_CP FC 11 PNIO_SEND CP_300
SIMATIC_NET_CP FC 12 PNIO_RECV CP_300
SIMATIC_NET_CP FC 40 FTP_CONNECCP_300
SIMATIC_NET_CP FC 41 FTP_STORE CP_300
SIMATIC_NET_CP FC 42 FTP_RETRIEVCP_300
SIMATIC_NET_CP FC 43 FTP_DELETE CP_300
SIMATIC_NET_CP FC 44 FTP_QUIT CP_300
SIMATIC_NET_CP FC 50 AG_LSEND CP_300
SIMATIC_NET_CP FC 60 AG_LRECV CP_300
Communication Blocks FC 62 C_CNTRL CP_300
TI-S7 Converting Blocks FB 80 LEAD_LAG CONVERT
TI-S7 Converting Blocks FB 81 DCAT TIMERS
TI-S7 Converting Blocks FB 82 MCAT TIMERS
TI-S7 Converting Blocks FB 83 IMC COMPARE
TI-S7 Converting Blocks FB 84 SMC COMPARE
TI-S7 Converting Blocks FB 85 DRUM TIMERS
TI-S7 Converting Blocks FB 86 PACK MOVE
TI-S7 Converting Blocks FC 80 TONR TIMERS
TI-S7 Converting Blocks FC 81 IBLKMOV MOVE
TI-S7 Converting Blocks FC 82 RSET BIT_LOGC
TI-S7 Converting Blocks FC 83 SET BIT_LOGC
TI-S7 Converting Blocks FC 84 ATT TABLE
TI-S7 Converting Blocks FC 85 FIFO TABLE
TI-S7 Converting Blocks FC 86 TBL_FIND TABLE
TI-S7 Converting Blocks FC 87 LIFO TABLE
TI-S7 Converting Blocks FC 88 TBL TABLE
TI-S7 Converting Blocks FC 89 TBL_WRD TABLE
TI-S7 Converting Blocks FC 90 WSR SHIFT
TI-S7 Converting Blocks FC 91 WRD_TBL TABLE
TI-S7 Converting Blocks FC 92 SHRB SHIFT
TI-S7 Converting Blocks FC 93 SEG CONVERT
TI-S7 Converting Blocks FC 94 ATH CONVERT
TI-S7 Converting Blocks FC 95 HTA CONVERT
TI-S7 Converting Blocks FC 96 ENCO CONVERT
TI-S7 Converting Blocks FC 97 DECO CONVERT
TI-S7 Converting Blocks FC 98 BCDCPL CONVERT
TI-S7 Converting Blocks FC 99 BITSUM CONVERT
TI-S7 Converting Blocks FC 100 RSETI BIT_LOGC
TI-S7 Converting Blocks FC 101 SETI BIT_LOGC
TI-S7 Converting Blocks FC 102 DEV MATH_FP
TI-S7 Converting Blocks FC 103 CDT TABLE
TI-S7 Converting Blocks FC 104 TBL_TBL TABLE
TI-S7 Converting Blocks FC 105 SCALE CONVERT
TI-S7 Converting Blocks FC 106 UNSCALE CONVERT
Miscellaneous Blocks FB 60 SET_SW TIMEFUNC
Miscellaneous Blocks FB 61 SET_SW_S TIMEFUNC
Miscellaneous Blocks FB 62 TIMESTMP TIMEFUNC
Miscellaneous Blocks FC 60 LOC_TIME TIMEFUNC
Miscellaneous Blocks FC 61 BT_LT TIMEFUNC
Miscellaneous Blocks FC 62 LT_BT TIMEFUNC
Miscellaneous Blocks FC 63 S_LTINT 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 Delay—Retentive
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
Ten’s 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 c
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.
ose it sets the CPU clock to the current time and according to the changeover rules in the Control DB.
it sets the time status to the current time and according to the changeover rules in the Control DB.

with time status.


SIMATIC_NET_CP FB 2 IDENTIFY CP_300
FB 3 READ CP_300
SIMATIC_NET_CP
SIMATIC_NET_CP FB 4 REPORT CP_300
SIMATIC_NET_CP FB 5 STATUS CP_300
SIMATIC_NET_CP FB 6 WRITE CP_300
Communication Blocks FB 8 USEND CP_300
Communication Blocks FB 9 URCV CP_300
Communication Blocks FB 12 BSEND CP_300
Communication Blocks FB 13 BRCV CP_300
Communication Blocks FB 14 GET CP_300
Communication Blocks FB 15 PUT CP_300
Communication Blocks FB 20 GETIO IO_FUNCT
Communication Blocks FB 21 SETIO IO_FUNCT
Communication Blocks FB 22 GETIO_PART IO_FUNCT
Communication Blocks FB 23 SETIO_PART IO_FUNCT
PID Control Blocks FB 41 CONT_C ICONT
PID Control Blocks FB 42 CONT_S ICONT
PID Control Blocks FB 43 PULSEGEN ICONT
FB 55 IP_CONFIG CP_300
PID Control Blocks FB 58 TCONT_CP CONTROL
PID Control Blocks FB 59 TCONT_S CONTROL
Miscellaneous Blocks FB 60 SET_SW TIMEFUNC
Miscellaneous Blocks FB 61 SET_SW_S TIMEFUNC
Miscellaneous Blocks FB 62 TIMESTMP TIMEFUNC
Communication Blocks FB 63 TSEND COMM
Communication Blocks FB 64 TRCV COMM
Communication Blocks FB 65 TCON COMM
Communication Blocks FB 66 TDISCON COMM
Communication Blocks FB 67 TUSEND COMM
Communication Blocks FB 68 TURCV COMM
TI-S7 Converting Blocks FB 80 LEAD_LAG CONVERT
TI-S7 Converting Blocks FB 81 DCAT TIMERS
TI-S7 Converting Blocks FB 82 MCAT TIMERS
TI-S7 Converting Blocks FB 83 IMC COMPARE
TI-S7 Converting Blocks FB 84 SMC COMPARE
TI-S7 Converting Blocks FB 85 DRUM TIMERS
TI-S7 Converting Blocks FB 86 PACK MOVE
IEC Function Blocks FC 1 AD_DT_TM IEC
Communication Blocks FC 1 DP_SEND CP_300
IEC Function Blocks FC 2 CONCAT IEC
Communication Blocks FC 2 DP_RECV CP_300
IEC Function Blocks FC 3 D_TOD_DT IEC
Communication Blocks FC 3 DP_DIAG CP_300
IEC Function Blocks FC 4 DELETE IEC
Communication Blocks FC 4 DP_CTRL CP_300
IEC Function Blocks FC 5 DI_STRNG IEC
SIMATIC_NET_CP FC 5 AG_SEND CP_300
IEC Function Blocks FC 6 DT_DATE IEC
SIMATIC_NET_CP FC 6 AG_RECV CP_300
IEC Function Blocks FC 7 DT_DAY IEC
SIMATIC_NET_CP FC 7 AG_LOCK CP_300
IEC Function Blocks FC 8 DT_TOD IEC
SIMATIC_NET_CP FC 8 AG_UNLOCK CP_300
IEC Function Blocks FC 9 EQ_DT IEC
IEC Function Blocks FC 10 EQ_STRNG IEC
FC 10 AG_CNTRL CP_300
SIMATIC_NET_CP
IEC Function Blocks FC 11 FIND IEC
SIMATIC_NET_CP FC 11 PNIO_SEND CP_300
IEC Function Blocks FC 12 GE_DT IEC
SIMATIC_NET_CP FC 12 PNIO_RECV CP_300
IEC Function Blocks FC 13 GE_STRNG IEC
IEC Function Blocks FC 14 GT_DT IEC
IEC Function Blocks FC 15 GT_STRNG IEC
IEC Function Blocks FC 16 I_STRNG IEC
IEC Function Blocks FC 17 INSERT IEC
IEC Function Blocks FC 18 LE_DT IEC
IEC Function Blocks FC 19 LE_STRNG IEC
IEC Function Blocks FC 20 LEFT IEC
IEC Function Blocks FC 21 LEN IEC
IEC Function Blocks FC 22 LIMIT IEC
IEC Function Blocks FC 23 LT_DT IEC
IEC Function Blocks FC 24 LT_STRNG IEC
IEC Function Blocks FC 25 MAX IEC
IEC Function Blocks FC 26 MID IEC
IEC Function Blocks FC 27 MIN IEC
IEC Function Blocks FC 28 NE_DT IEC
IEC Function Blocks FC 29 NE_STRNG IEC
IEC Function Blocks FC 30 R_STRNG IEC
IEC Function Blocks FC 31 REPLACE IEC
IEC Function Blocks FC 32 RIGHT IEC
IEC Function Blocks FC 33 S5TI_TIM IEC
IEC Function Blocks FC 34 SB_DT_DT IEC
IEC Function Blocks FC 35 SB_DT_TM IEC
IEC Function Blocks FC 36 SEL IEC
IEC Function Blocks FC 37 STRNG_DI IEC
IEC Function Blocks FC 38 STRNG_I IEC
IEC Function Blocks FC 39 STRNG_R IEC
IEC Function Blocks FC 40 TIM_S5TI IEC
SIMATIC_NET_CP FC 40 FTP_CONNECCP_300
SIMATIC_NET_CP FC 41 FTP_STORE CP_300
SIMATIC_NET_CP FC 42 FTP_RETRIEVCP_300
SIMATIC_NET_CP FC 43 FTP_DELETE CP_300
SIMATIC_NET_CP FC 44 FTP_QUIT CP_300
SIMATIC_NET_CP FC 50 AG_LSEND CP_300
SIMATIC_NET_CP FC 60 AG_LRECV CP_300
Miscellaneous Blocks FC 60 LOC_TIME TIMEFUNC
S5-S7 Converting Blocks FC 61 GP_FPGP S5_CNVRT
Miscellaneous Blocks FC 61 BT_LT TIMEFUNC
S5-S7 Converting Blocks FC 62 GP_GPFP S5_CNVRT
Communication Blocks FC 62 C_CNTRL CP_300
Miscellaneous Blocks FC 62 LT_BT TIMEFUNC
S5-S7 Converting Blocks FC 63 GP_ADD S5_CNVRT
Miscellaneous Blocks FC 63 S_LTINT TIMEFUNC
S5-S7 Converting Blocks FC 64 GP_SUB S5_CNVRT
S5-S7 Converting Blocks FC 65 GP_MUL S5_CNVRT
S5-S7 Converting Blocks FC 66 GP_DIV S5_CNVRT
S5-S7 Converting Blocks FC 67 GP_VGL S5_CNVRT
S5-S7 Converting Blocks FC 68 RAD_GP S5_CNVRT
S5-S7 Converting Blocks FC 69 MLD_TG S5_CNVRT
S5-S7 Converting Blocks FC 70 MLD_TGZ S5_CNVRT
S5-S7 Converting Blocks FC 71 MLD_EZW S5_CNVRT
S5-S7 Converting Blocks FC 72 MLD_EDW S5_CNVRT
S5-S7 Converting Blocks FC 73 MLD_SAMW S5_CNVRT
S5-S7 Converting Blocks FC 74 MLD_SAM S5_CNVRT
S5-S7 Converting Blocks FC 75 MLD_EZ  S5_CNVRT
S5-S7 Converting Blocks FC 78 MLD_EDWK S5_CNVRT
S5-S7 Converting Blocks FC 79 MLD_EZK S5_CNVRT
S5-S7 Converting Blocks FC 80 MLD_EDK S5_CNVRT
TI-S7 Converting Blocks FC 80 TONR TIMERS
S5-S7 Converting Blocks FC 81 COD_B4 S5_CNVRT
TI-S7 Converting Blocks FC 81 IBLKMOV MOVE
S5-S7 Converting Blocks FC 82 COD_16 S5_CNVRT
TI-S7 Converting Blocks FC 82 RSET BIT_LOGC
S5-S7 Converting Blocks FC 83 MUL_16 S5_CNVRT
TI-S7 Converting Blocks FC 83 SET BIT_LOGC
S5-S7 Converting Blocks FC 84 DIV_16 S5_CNVRT
TI-S7 Converting Blocks FC 84 ATT TABLE
S5-S7 Converting Blocks FC 85 ADD_32 S5_CNVRT
TI-S7 Converting Blocks FC 85 FIFO TABLE
S5-S7 Converting Blocks FC 86 SUB_32 S5_CNVRT
TI-S7 Converting Blocks FC 86 TBL_FIND TABLE
S5-S7 Converting Blocks FC 87 MUL_32  S5_CNVRT
TI-S7 Converting Blocks FC 87 LIFO TABLE
S5-S7 Converting Blocks FC 88 DIV_32 S5_CNVRT
TI-S7 Converting Blocks FC 88 TBL TABLE
S5-S7 Converting Blocks FC 89 RAD_16 S5_CNVRT
TI-S7 Converting Blocks FC 89 TBL_WRD TABLE
S5-S7 Converting Blocks FC 90 REG_SCHB S5_CNVRT
TI-S7 Converting Blocks FC 90 WSR SHIFT
S5-S7 Converting Blocks FC 91 REG_SCHW  S5_CNVRT
TI-S7 Converting Blocks FC 91 WRD_TBL TABLE
S5-S7 Converting Blocks FC 92 REG_FIFO S5_CNVRT
TI-S7 Converting Blocks FC 92 SHRB SHIFT
S5-S7 Converting Blocks FC 93 REG_LIFO S5_CNVRT
TI-S7 Converting Blocks FC 93 SEG CONVERT
S5-S7 Converting Blocks FC 94 DB_COPY1 S5_CNVRT
TI-S7 Converting Blocks FC 94 ATH CONVERT
S5-S7 Converting Blocks FC 95 DB_COPY2  S5_CNVRT
TI-S7 Converting Blocks FC 95 HTA CONVERT
S5-S7 Converting Blocks FC 96 RETTEN S5_CNVRT
TI-S7 Converting Blocks FC 96 ENCO CONVERT
S5-S7 Converting Blocks FC 97 LADEN S5_CNVRT
TI-S7 Converting Blocks FC 97 DECO CONVERT
S5-S7 Converting Blocks FC 98 COD_B8 S5_CNVRT
TI-S7 Converting Blocks FC 98 BCDCPL CONVERT
S5-S7 Converting Blocks FC 99 COD_32 S5_CNVRT
TI-S7 Converting Blocks FC 99 BITSUM CONVERT
S5-S7 Converting Blocks FC 100 AE_460_1 S5_CNVRT
TI-S7 Converting Blocks FC 100 RSETI BIT_LOGC
S5-S7 Converting Blocks FC 101 AE_460_2 S5_CNVRT
TI-S7 Converting Blocks FC 101 SETI BIT_LOGC
S5-S7 Converting Blocks FC 102 AE_463_1  S5_CNVRT
TI-S7 Converting Blocks FC 102 DEV MATH_FP
S5-S7 Converting Blocks FC 103 AE_463_2 S5_CNVRT
TI-S7 Converting Blocks FC 103 CDT TABLE
S5-S7 Converting Blocks FC 104 AE_464_1 S5_CNVRT
TI-S7 Converting Blocks FC 104 TBL_TBL TABLE
S5-S7 Converting Blocks FC 105 AE_464_2 S5_CNVRT
TI-S7 Converting Blocks FC 105 SCALE CONVERT
S5-S7 Converting Blocks FC 106 AE_466_1 S5_CNVRT
TI-S7 Converting Blocks FC 106 UNSCALE CONVERT
S5-S7 Converting Blocks FC 107 AE_466_2 S5_CNVRT
S5-S7 Converting Blocks FC 108 RLG_AA1 S5_CNVRT
S5-S7 Converting Blocks FC 109 RLG_AA2 S5_CNVRT
S5-S7 Converting Blocks FC 110 PER_ET1 S5_CNVRT
S5-S7 Converting Blocks FC 111 PER_ET2 S5_CNVRT
S5-S7 Converting Blocks FC 112 SINUS S5_CNVRT
S5-S7 Converting Blocks FC 113 COSINUS S5_CNVRT
S5-S7 Converting Blocks FC 114 TANGENS S5_CNVRT
S5-S7 Converting Blocks FC 115 COTANG S5_CNVRT
S5-S7 Converting Blocks FC 116 ARCSIN S5_CNVRT
S5-S7 Converting Blocks FC 117 ARCCOS S5_CNVRT
S5-S7 Converting Blocks FC 118 ARCTAN S5_CNVRT
S5-S7 Converting Blocks FC 119 ARCCOT S5_CNVRT
S5-S7 Converting Blocks FC 120 LN_X S5_CNVRT
S5-S7 Converting Blocks FC 121 LG_X S5_CNVRT
S5-S7 Converting Blocks FC 122 B_LOG_X S5_CNVRT
S5-S7 Converting Blocks FC 123 E_H_N S5_CNVRT
S5-S7 Converting Blocks FC 124 ZEHN_H_N S5_CNVRT
S5-S7 Converting Blocks FC 125 A2_H_A1 S5_CNVRT
System Function Blocks SFB 0 CTU IEC_TC
System Function Blocks SFB 1 CTD IEC_TC
System Function Blocks SFB 2 CTUD IEC_TC
System Function Blocks SFB 3 TP IEC_TC
System Function Blocks SFB 4 TON IEC_TC
System Function Blocks SFB 5 TOF IEC_TC
System Function Blocks SFB 8 USEND COM_FUNC
System Function Blocks SFB 9 URCV COM_FUNC
System Function Blocks SFB 12 BSEND COM_FUNC
System Function Blocks SFB 13 BRCV COM_FUNC
System Function Blocks SFB 14 GET COM_FUNC
System Function Blocks SFB 15 PUT COM_FUNC
System Function Blocks SFB 16 PRINT COM_FUNC
System Function Blocks SFB 19 START COM_FUNC
System Function Blocks SFB 20 STOP COM_FUNC
System Function Blocks SFB 21 RESUME COM_FUNC
System Function Blocks SFB 22 STATUS COM_FUNC
System Function Blocks SFB 23 USTATUS COM_FUNC
System Function Blocks SFB 29 HS_COUNT COUNTERS
System Function Blocks SFB 30 FREQ_MES COUNTERS
System Function Blocks SFB 31 NOTIFY_8P COM_FUNC
System Function Blocks SFB 32 DRUM TIMERS
System Function Blocks SFB 33 ALARM COM_FUNC
System Function Blocks SFB 34 ALARM_8 COM_FUNC
System Function Blocks SFB 35 ALARM_8P COM_FUNC
System Function Blocks SFB 36 NOTIFY COM_FUNC
System Function Blocks SFB 37 AR_SEND COM_FUNC
System Function Blocks SFB 38 HSC_A_B COUNTERS
System Function Blocks SFB 39 POS ICONT
System Function Blocks SFB 41 CONT_C ICONT
System Function Blocks SFB 42 CONT_S ICONT
System Function Blocks SFB 43 PULSEGEN ICONT
System Function Blocks SFB 44 ANALOG TEC_FUNC
System Function Blocks SFB 46 DIGITAL TEC_FUNC
System Function Blocks SFB 47 COUNT TEC_FUNC
System Function Blocks SFB 48 FREQUENC TEC_FUNC
System Function Blocks SFB 49 PULSE TEC_FUNC
System Function Blocks SFB 52 RDREC DP
System Function Blocks SFB 53 WRREC DP
System Function Blocks SFB 54 RALRM DP
System Function Blocks SFB 60 SEND_PTP TEC_FUNC
System Function Blocks SFB 61 RECV_PTP TEC_FUNC
System Function Blocks SFB 62 RES_RECV TEC_FUNC
System Function Blocks SFB 63 SEND_RK TEC_FUNC
System Function Blocks SFB 64 FETCH_RK TEC_FUNC
System Function Blocks SFB 65 SERVE_RK TEC_FUNC
System Function Blocks SFB 75 SALRM DP
System Function Blocks SFB 81 RD_DPAR IO_FUNCT
System Function Blocks SFC 0 SET_CLK CLK_FUNC
System Function Blocks SFC 1 READ_CLK CLK_FUNC
System Function Blocks SFC 2 SET_RTM CLK_FUNC
System Function Blocks SFC 3 CTRL_RTM CLK_FUNC
System Function Blocks SFC 4 READ_RTM CLK_FUNC
System Function Blocks SFC 5 GADR_LGC IO_FUNCT
System Function Blocks SFC 6 RD_SINFO DB_FUNCT
System Function Blocks SFC 7 DP_PRAL DP
System Function Blocks SFC 9 EN_MSG COM_FUNC
System Function Blocks SFC 10 DIS_MSG COM_FUNC
System Function Blocks SFC 11 DPSYC_FR DP
System Function Blocks SFC 12 D_ACT_DP DP
System Function Blocks SFC 13 DPNRM_DG DIAGNSTC
System Function Blocks SFC 14 DPRD_DAT DP
System Function Blocks SFC 15 DPWR_DAT DP
System Function Blocks SFC 17 ALARM_SQ PMC_FUNC
System Function Blocks SFC 18 ALARM_S PMC_FUNC
System Function Blocks SFC 19 ALARM_SC PMC_FUNC
System Function Blocks SFC 20 BLKMOV MOVE
System Function Blocks SFC 21 FILL MOVE
System Function Blocks SFC 22 CREAT_DB DB_FUNCT
System Function Blocks SFC 23 DEL_DB DB_FUNCT
System Function Blocks SFC 24 TEST_DB DB_FUNCT
System Function Blocks SFC 25 COMPRESS DB_FUNCT
System Function Blocks SFC 26 UPDAT_PI IO_FUNCT
System Function Blocks SFC 27 UPDAT_PO IO_FUNCT
System Function Blocks SFC 28 SET_TINT PGM_CNTL
System Function Blocks SFC 29 CAN_TINT PGM_CNTL
System Function Blocks SFC 30 ACT_TINT PGM_CNTL
System Function Blocks SFC 31 QRY_TINT PGM_CNTL
System Function Blocks SFC 32 SRT_DINT PGM_CNTL
System Function Blocks SFC 33 CAN_DINT PGM_CNTL
System Function Blocks SFC 34 QRY_DINT PGM_CNTL
System Function Blocks SFC 35 MP_ALM PGM_CNTL
System Function Blocks SFC 36 MSK_FLT DIAGNSTC
System Function Blocks SFC 37 DMSK_FLT DIAGNSTC
System Function Blocks SFC 38 READ_ERR DIAGNSTC
System Function Blocks SFC 39 DIS_IRT IRT_FUNC
System Function Blocks SFC 40 EN_IRT IRT_FUNC
System Function Blocks SFC 41 DIS_AIRT IRT_FUNC
System Function Blocks SFC 42 EN_AIRT IRT_FUNC
System Function Blocks SFC 43 RE_TRIGR PGM_CNTL
System Function Blocks SFC 44 REPL_VAL DIAGNSTC
System Function Blocks SFC 46 STP PGM_CNTL
System Function Blocks SFC 47 WAIT PGM_CNTL
System Function Blocks SFC 48 SNC_RTCB CLK_FUNC
System Function Blocks SFC 49 LGC_GADR IO_FUNCT
System Function Blocks SFC 50 RD_LGADR IO_FUNCT
System Function Blocks SFC 51 RDSYSST DIAGNSTC
System Function Blocks SFC 52 WR_USMSG DIAGNSTC
System Function Blocks SFC 54 RD_PARM IO_FUNCT
System Function Blocks SFC 55 WR_PARM IO_FUNCT
System Function Blocks SFC 56 WR_DPARM IO_FUNCT
System Function Blocks SFC 57 PARM_MOD IO_FUNCT
System Function Blocks SFC 58 WR_REC IO_FUNCT
System Function Blocks SFC 59 RD_REC IO_FUNCT
System Function Blocks SFC 60 GD_SND COM_FUNC
System Function Blocks SFC 61 GD_RCV COM_FUNC
System Function Blocks SFC 62 CONTROL COM_FUNC
System Function Blocks SFC 63 AB_CALL PLASTICS
System Function Blocks SFC 64 TIME_TCK CLK_FUNC
System Function Blocks SFC 65 X_SEND COM_FUNC
System Function Blocks SFC 66 X_RCV COM_FUNC
System Function Blocks SFC 67 X_GET COM_FUNC
System Function Blocks SFC 68 X_PUT COM_FUNC
System Function Blocks SFC 69 X_ABORT COM_FUNC
System Function Blocks SFC 70 GEO_LOG IO_FUNCT
System Function Blocks SFC 71 LOG_GEO IO_FUNCT
System Function Blocks SFC 72 I_GET COM_FUNC
System Function Blocks SFC 73 I_PUT COM_FUNC
System Function Blocks SFC 74 I_ABORT COM_FUNC
System Function Blocks SFC 78 OB_RT DIAGNSTC
System Function Blocks SFC 79 SET BIT_LOGC
System Function Blocks SFC 80 RSET BIT_LOGC
System Function Blocks SFC 81 UBLKMOV MOVE
System Function Blocks SFC 82 CREA_DBL DB_CTRL
System Function Blocks SFC 83 READ_DBL DB_CTRL
System Function Blocks SFC 84 WRIT_DBL DB_CTRL
System Function Blocks SFC 85 CREA_DB DB_FUNCT
System Function Blocks SFC 87 C_DIAG COM_FUNC
System Function Blocks SFC 90 H_CTRL HF_FUNCT
System Function Blocks SFC 100 SET_CLKS CLK_FUNC
System Function Blocks SFC 101 RTM CLK_FUNC
System Function Blocks SFC 102 RD_DPARA IO_FUNCT
System Function Blocks SFC 103 DP_TOPOL DP
System Function Blocks SFC 104 CIR PGM_CNTL
System Function Blocks SFC 105 READ_SI PMC_FUNC
System Function Blocks SFC 106 DEL_SI PMC_FUNC
System Function Blocks SFC 107 ALARM_DQ PMC_FUNC
System Function Blocks SFC 108 ALARM_D PMC_FUNC
System Function Blocks SFC 112 PN_IN PROFIne2
System Function Blocks SFC 113 PN_OUT PROFIne2
System Function Blocks SFC 114 PN_DP PROFIne2
System Function Blocks SFC 126 SYNC_PI IO_FUNCT
System Function Blocks SFC 127 SYNC_PO 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 par

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

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 c
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 Delay—Retentive
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
Ten’s 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
TI-S7 Converting Blocks FC 82 RSET BIT_LOGC
TI-S7 Converting Blocks FC 83 SET BIT_LOGC
TI-S7 Converting Blocks FC 100 RSETI BIT_LOGC
TI-S7 Converting Blocks FC 101 SETI BIT_LOGC
System Function Blocks SFC 79 SET BIT_LOGC
System Function Blocks SFC 80 RSET BIT_LOGC
System Function Blocks SFC 0 SET_CLK CLK_FUNC
System Function Blocks SFC 1 READ_CLK CLK_FUNC
System Function Blocks SFC 2 SET_RTM CLK_FUNC
System Function Blocks SFC 3 CTRL_RTM CLK_FUNC
System Function Blocks SFC 4 READ_RTM CLK_FUNC
System Function Blocks SFC 48 SNC_RTCB CLK_FUNC
System Function Blocks SFC 64 TIME_TCK CLK_FUNC
System Function Blocks SFC 100 SET_CLKS CLK_FUNC
System Function Blocks SFC 101 RTM CLK_FUNC
System Function Blocks SFB 8 USEND COM_FUNC
System Function Blocks SFB 9 URCV COM_FUNC
System Function Blocks SFB 12 BSEND COM_FUNC
System Function Blocks SFB 13 BRCV COM_FUNC
System Function Blocks SFB 14 GET COM_FUNC
System Function Blocks SFB 15 PUT COM_FUNC
System Function Blocks SFB 16 PRINT COM_FUNC
System Function Blocks SFB 19 START COM_FUNC
System Function Blocks SFB 20 STOP COM_FUNC
System Function Blocks SFB 21 RESUME COM_FUNC
System Function Blocks SFB 22 STATUS COM_FUNC
System Function Blocks SFB 23 USTATUS COM_FUNC
System Function Blocks SFB 31 NOTIFY_8P COM_FUNC
System Function Blocks SFB 33 ALARM COM_FUNC
System Function Blocks SFB 34 ALARM_8 COM_FUNC
System Function Blocks SFB 35 ALARM_8P COM_FUNC
System Function Blocks SFB 36 NOTIFY COM_FUNC
System Function Blocks SFB 37 AR_SEND COM_FUNC
System Function Blocks SFC 9 EN_MSG COM_FUNC
System Function Blocks SFC 10 DIS_MSG COM_FUNC
System Function Blocks SFC 60 GD_SND COM_FUNC
System Function Blocks SFC 61 GD_RCV COM_FUNC
System Function Blocks SFC 62 CONTROL COM_FUNC
System Function Blocks SFC 65 X_SEND COM_FUNC
System Function Blocks SFC 66 X_RCV COM_FUNC
System Function Blocks SFC 67 X_GET COM_FUNC
System Function Blocks SFC 68 X_PUT COM_FUNC
System Function Blocks SFC 69 X_ABORT COM_FUNC
System Function Blocks SFC 72 I_GET COM_FUNC
System Function Blocks SFC 73 I_PUT COM_FUNC
System Function Blocks SFC 74 I_ABORT COM_FUNC
System Function Blocks SFC 87 C_DIAG COM_FUNC
Communication Blocks FB 63 TSEND COMM
Communication Blocks FB 64 TRCV COMM
Communication Blocks FB 65 TCON COMM
Communication Blocks FB 66 TDISCON COMM
Communication Blocks FB 67 TUSEND COMM
Communication Blocks FB 68 TURCV COMM
TI-S7 Converting Blocks FB 83 IMC COMPARE
TI-S7 Converting Blocks FB 84 SMC COMPARE
PID Control Blocks FB 58 TCONT_CP CONTROL
PID Control Blocks FB 59 TCONT_S CONTROL
TI-S7 Converting Blocks FB 80 LEAD_LAG CONVERT
TI-S7 Converting Blocks FC 93 SEG CONVERT
TI-S7 Converting Blocks FC 94 ATH CONVERT
TI-S7 Converting Blocks FC 95 HTA CONVERT
TI-S7 Converting Blocks FC 96 ENCO CONVERT
TI-S7 Converting Blocks FC 97 DECO CONVERT
TI-S7 Converting Blocks FC 98 BCDCPL CONVERT
TI-S7 Converting Blocks FC 99 BITSUM CONVERT
TI-S7 Converting Blocks FC 105 SCALE CONVERT
TI-S7 Converting Blocks FC 106 UNSCALE CONVERT
System Function Blocks SFB 29 HS_COUNT COUNTERS
System Function Blocks SFB 30 FREQ_MES COUNTERS
System Function Blocks SFB 38 HSC_A_B COUNTERS
SIMATIC_NET_CP FB 2 IDENTIFY CP_300
FB 3 READ CP_300
SIMATIC_NET_CP
SIMATIC_NET_CP FB 4 REPORT CP_300
SIMATIC_NET_CP FB 5 STATUS CP_300
SIMATIC_NET_CP FB 6 WRITE CP_300
Communication Blocks FB 8 USEND CP_300
Communication Blocks FB 9 URCV CP_300
Communication Blocks FB 12 BSEND CP_300
Communication Blocks FB 13 BRCV CP_300
Communication Blocks FB 14 GET CP_300
Communication Blocks FB 15 PUT CP_300
FB 55 IP_CONFIG CP_300
Communication Blocks FC 1 DP_SEND CP_300
Communication Blocks FC 2 DP_RECV CP_300
Communication Blocks FC 3 DP_DIAG CP_300
Communication Blocks FC 4 DP_CTRL CP_300
SIMATIC_NET_CP FC 5 AG_SEND CP_300
SIMATIC_NET_CP FC 6 AG_RECV CP_300
SIMATIC_NET_CP FC 7 AG_LOCK CP_300
SIMATIC_NET_CP FC 8 AG_UNLOCK CP_300
FC 10 AG_CNTRL CP_300
SIMATIC_NET_CP
SIMATIC_NET_CP FC 11 PNIO_SEND CP_300
SIMATIC_NET_CP FC 12 PNIO_RECV CP_300
SIMATIC_NET_CP FC 40 FTP_CONNECCP_300
SIMATIC_NET_CP FC 41 FTP_STORE CP_300
SIMATIC_NET_CP FC 42 FTP_RETRIEVCP_300
SIMATIC_NET_CP FC 43 FTP_DELETE CP_300
SIMATIC_NET_CP FC 44 FTP_QUIT CP_300
SIMATIC_NET_CP FC 50 AG_LSEND CP_300
SIMATIC_NET_CP FC 60 AG_LRECV CP_300
Communication Blocks FC 62 C_CNTRL CP_300
System Function Blocks SFC 82 CREA_DBL DB_CTRL
System Function Blocks SFC 83 READ_DBL DB_CTRL
System Function Blocks SFC 84 WRIT_DBL DB_CTRL
System Function Blocks SFC 6 RD_SINFO DB_FUNCT
System Function Blocks SFC 22 CREAT_DB DB_FUNCT
System Function Blocks SFC 23 DEL_DB DB_FUNCT
System Function Blocks SFC 24 TEST_DB DB_FUNCT
System Function Blocks SFC 25 COMPRESS DB_FUNCT
System Function Blocks SFC 85 CREA_DB DB_FUNCT
System Function Blocks SFC 13 DPNRM_DG DIAGNSTC
System Function Blocks SFC 36 MSK_FLT DIAGNSTC
System Function Blocks SFC 37 DMSK_FLT DIAGNSTC
System Function Blocks SFC 38 READ_ERR DIAGNSTC
System Function Blocks SFC 44 REPL_VAL DIAGNSTC
System Function Blocks SFC 51 RDSYSST DIAGNSTC
System Function Blocks SFC 52 WR_USMSG DIAGNSTC
System Function Blocks SFC 78 OB_RT DIAGNSTC
System Function Blocks SFB 52 RDREC DP
System Function Blocks SFB 53 WRREC DP
System Function Blocks SFB 54 RALRM DP
System Function Blocks SFB 75 SALRM DP
System Function Blocks SFC 7 DP_PRAL DP
System Function Blocks SFC 11 DPSYC_FR DP
System Function Blocks SFC 12 D_ACT_DP DP
System Function Blocks SFC 14 DPRD_DAT DP
System Function Blocks SFC 15 DPWR_DAT DP
System Function Blocks SFC 103 DP_TOPOL DP
System Function Blocks SFC 90 H_CTRL HF_FUNCT
PID Control Blocks FB 41 CONT_C ICONT
PID Control Blocks FB 42 CONT_S ICONT
PID Control Blocks FB 43 PULSEGEN ICONT
System Function Blocks SFB 39 POS ICONT
System Function Blocks SFB 41 CONT_C ICONT
System Function Blocks SFB 42 CONT_S ICONT
System Function Blocks SFB 43 PULSEGEN ICONT
IEC Function Blocks FC 1 AD_DT_TM IEC
IEC Function Blocks FC 2 CONCAT IEC
IEC Function Blocks FC 3 D_TOD_DT IEC
IEC Function Blocks FC 4 DELETE IEC
IEC Function Blocks FC 5 DI_STRNG IEC
IEC Function Blocks FC 6 DT_DATE IEC
IEC Function Blocks FC 7 DT_DAY IEC
IEC Function Blocks FC 8 DT_TOD IEC
IEC Function Blocks FC 9 EQ_DT IEC
IEC Function Blocks FC 10 EQ_STRNG IEC
IEC Function Blocks FC 11 FIND IEC
IEC Function Blocks FC 12 GE_DT IEC
IEC Function Blocks FC 13 GE_STRNG IEC
IEC Function Blocks FC 14 GT_DT IEC
IEC Function Blocks FC 15 GT_STRNG IEC
IEC Function Blocks FC 16 I_STRNG IEC
IEC Function Blocks FC 17 INSERT IEC
IEC Function Blocks FC 18 LE_DT IEC
IEC Function Blocks FC 19 LE_STRNG IEC
IEC Function Blocks FC 20 LEFT IEC
IEC Function Blocks FC 21 LEN IEC
IEC Function Blocks FC 22 LIMIT IEC
IEC Function Blocks FC 23 LT_DT IEC
IEC Function Blocks FC 24 LT_STRNG IEC
IEC Function Blocks FC 25 MAX IEC
IEC Function Blocks FC 26 MID IEC
IEC Function Blocks FC 27 MIN IEC
IEC Function Blocks FC 28 NE_DT IEC
IEC Function Blocks FC 29 NE_STRNG IEC
IEC Function Blocks FC 30 R_STRNG IEC
IEC Function Blocks FC 31 REPLACE IEC
IEC Function Blocks FC 32 RIGHT IEC
IEC Function Blocks FC 33 S5TI_TIM IEC
IEC Function Blocks FC 34 SB_DT_DT IEC
IEC Function Blocks FC 35 SB_DT_TM IEC
IEC Function Blocks FC 36 SEL IEC
IEC Function Blocks FC 37 STRNG_DI IEC
IEC Function Blocks FC 38 STRNG_I IEC
IEC Function Blocks FC 39 STRNG_R IEC
IEC Function Blocks FC 40 TIM_S5TI IEC
System Function Blocks SFB 0 CTU IEC_TC
System Function Blocks SFB 1 CTD IEC_TC
System Function Blocks SFB 2 CTUD IEC_TC
System Function Blocks SFB 3 TP IEC_TC
System Function Blocks SFB 4 TON IEC_TC
System Function Blocks SFB 5 TOF IEC_TC
Communication Blocks FB 20 GETIO IO_FUNCT
Communication Blocks FB 21 SETIO IO_FUNCT
Communication Blocks FB 22 GETIO_PART IO_FUNCT
Communication Blocks FB 23 SETIO_PART IO_FUNCT
System Function Blocks SFB 81 RD_DPAR IO_FUNCT
System Function Blocks SFC 5 GADR_LGC IO_FUNCT
System Function Blocks SFC 26 UPDAT_PI IO_FUNCT
System Function Blocks SFC 27 UPDAT_PO IO_FUNCT
System Function Blocks SFC 49 LGC_GADR IO_FUNCT
System Function Blocks SFC 50 RD_LGADR IO_FUNCT
System Function Blocks SFC 54 RD_PARM IO_FUNCT
System Function Blocks SFC 55 WR_PARM IO_FUNCT
System Function Blocks SFC 56 WR_DPARM IO_FUNCT
System Function Blocks SFC 57 PARM_MOD IO_FUNCT
System Function Blocks SFC 58 WR_REC IO_FUNCT
System Function Blocks SFC 59 RD_REC IO_FUNCT
System Function Blocks SFC 70 GEO_LOG IO_FUNCT
System Function Blocks SFC 71 LOG_GEO IO_FUNCT
System Function Blocks SFC 102 RD_DPARA IO_FUNCT
System Function Blocks SFC 126 SYNC_PI IO_FUNCT
System Function Blocks SFC 127 SYNC_PO IO_FUNCT
System Function Blocks SFC 39 DIS_IRT IRT_FUNC
System Function Blocks SFC 40 EN_IRT IRT_FUNC
System Function Blocks SFC 41 DIS_AIRT IRT_FUNC
System Function Blocks SFC 42 EN_AIRT IRT_FUNC
TI-S7 Converting Blocks FC 102 DEV MATH_FP
TI-S7 Converting Blocks FB 86 PACK MOVE
TI-S7 Converting Blocks FC 81 IBLKMOV MOVE
System Function Blocks SFC 20 BLKMOV MOVE
System Function Blocks SFC 21 FILL MOVE
System Function Blocks SFC 81 UBLKMOV MOVE
System Function Blocks SFC 28 SET_TINT PGM_CNTL
System Function Blocks SFC 29 CAN_TINT PGM_CNTL
System Function Blocks SFC 30 ACT_TINT PGM_CNTL
System Function Blocks SFC 31 QRY_TINT PGM_CNTL
System Function Blocks SFC 32 SRT_DINT PGM_CNTL
System Function Blocks SFC 33 CAN_DINT PGM_CNTL
System Function Blocks SFC 34 QRY_DINT PGM_CNTL
System Function Blocks SFC 35 MP_ALM PGM_CNTL
System Function Blocks SFC 43 RE_TRIGR PGM_CNTL
System Function Blocks SFC 46 STP PGM_CNTL
System Function Blocks SFC 47 WAIT PGM_CNTL
System Function Blocks SFC 104 CIR PGM_CNTL
System Function Blocks SFC 63 AB_CALL PLASTICS
System Function Blocks SFC 17 ALARM_SQ PMC_FUNC
System Function Blocks SFC 18 ALARM_S PMC_FUNC
System Function Blocks SFC 19 ALARM_SC PMC_FUNC
System Function Blocks SFC 105 READ_SI PMC_FUNC
System Function Blocks SFC 106 DEL_SI PMC_FUNC
System Function Blocks SFC 107 ALARM_DQ PMC_FUNC
System Function Blocks SFC 108 ALARM_D PMC_FUNC
System Function Blocks SFC 112 PN_IN PROFIne2
System Function Blocks SFC 113 PN_OUT PROFIne2
System Function Blocks SFC 114 PN_DP PROFIne2
S5-S7 Converting Blocks FC 61 GP_FPGP S5_CNVRT
S5-S7 Converting Blocks FC 62 GP_GPFP S5_CNVRT
S5-S7 Converting Blocks FC 63 GP_ADD S5_CNVRT
S5-S7 Converting Blocks FC 64 GP_SUB S5_CNVRT
S5-S7 Converting Blocks FC 65 GP_MUL S5_CNVRT
S5-S7 Converting Blocks FC 66 GP_DIV S5_CNVRT
S5-S7 Converting Blocks FC 67 GP_VGL S5_CNVRT
S5-S7 Converting Blocks FC 68 RAD_GP S5_CNVRT
S5-S7 Converting Blocks FC 69 MLD_TG S5_CNVRT
S5-S7 Converting Blocks FC 70 MLD_TGZ S5_CNVRT
S5-S7 Converting Blocks FC 71 MLD_EZW S5_CNVRT
S5-S7 Converting Blocks FC 72 MLD_EDW S5_CNVRT
S5-S7 Converting Blocks FC 73 MLD_SAMW S5_CNVRT
S5-S7 Converting Blocks FC 74 MLD_SAM S5_CNVRT
S5-S7 Converting Blocks FC 75 MLD_EZ  S5_CNVRT
S5-S7 Converting Blocks FC 78 MLD_EDWK S5_CNVRT
S5-S7 Converting Blocks FC 79 MLD_EZK S5_CNVRT
S5-S7 Converting Blocks FC 80 MLD_EDK S5_CNVRT
S5-S7 Converting Blocks FC 81 COD_B4 S5_CNVRT
S5-S7 Converting Blocks FC 82 COD_16 S5_CNVRT
S5-S7 Converting Blocks FC 83 MUL_16 S5_CNVRT
S5-S7 Converting Blocks FC 84 DIV_16 S5_CNVRT
S5-S7 Converting Blocks FC 85 ADD_32 S5_CNVRT
S5-S7 Converting Blocks FC 86 SUB_32 S5_CNVRT
S5-S7 Converting Blocks FC 87 MUL_32  S5_CNVRT
S5-S7 Converting Blocks FC 88 DIV_32 S5_CNVRT
S5-S7 Converting Blocks FC 89 RAD_16 S5_CNVRT
S5-S7 Converting Blocks FC 90 REG_SCHB S5_CNVRT
S5-S7 Converting Blocks FC 91 REG_SCHW  S5_CNVRT
S5-S7 Converting Blocks FC 92 REG_FIFO S5_CNVRT
S5-S7 Converting Blocks FC 93 REG_LIFO S5_CNVRT
S5-S7 Converting Blocks FC 94 DB_COPY1 S5_CNVRT
S5-S7 Converting Blocks FC 95 DB_COPY2  S5_CNVRT
S5-S7 Converting Blocks FC 96 RETTEN S5_CNVRT
S5-S7 Converting Blocks FC 97 LADEN S5_CNVRT
S5-S7 Converting Blocks FC 98 COD_B8 S5_CNVRT
S5-S7 Converting Blocks FC 99 COD_32 S5_CNVRT
S5-S7 Converting Blocks FC 100 AE_460_1 S5_CNVRT
S5-S7 Converting Blocks FC 101 AE_460_2 S5_CNVRT
S5-S7 Converting Blocks FC 102 AE_463_1  S5_CNVRT
S5-S7 Converting Blocks FC 103 AE_463_2 S5_CNVRT
S5-S7 Converting Blocks FC 104 AE_464_1 S5_CNVRT
S5-S7 Converting Blocks FC 105 AE_464_2 S5_CNVRT
S5-S7 Converting Blocks FC 106 AE_466_1 S5_CNVRT
S5-S7 Converting Blocks FC 107 AE_466_2 S5_CNVRT
S5-S7 Converting Blocks FC 108 RLG_AA1 S5_CNVRT
S5-S7 Converting Blocks FC 109 RLG_AA2 S5_CNVRT
S5-S7 Converting Blocks FC 110 PER_ET1 S5_CNVRT
S5-S7 Converting Blocks FC 111 PER_ET2 S5_CNVRT
S5-S7 Converting Blocks FC 112 SINUS S5_CNVRT
S5-S7 Converting Blocks FC 113 COSINUS S5_CNVRT
S5-S7 Converting Blocks FC 114 TANGENS S5_CNVRT
S5-S7 Converting Blocks FC 115 COTANG S5_CNVRT
S5-S7 Converting Blocks FC 116 ARCSIN S5_CNVRT
S5-S7 Converting Blocks FC 117 ARCCOS S5_CNVRT
S5-S7 Converting Blocks FC 118 ARCTAN S5_CNVRT
S5-S7 Converting Blocks FC 119 ARCCOT S5_CNVRT
S5-S7 Converting Blocks FC 120 LN_X S5_CNVRT
S5-S7 Converting Blocks FC 121 LG_X S5_CNVRT
S5-S7 Converting Blocks FC 122 B_LOG_X S5_CNVRT
S5-S7 Converting Blocks FC 123 E_H_N S5_CNVRT
S5-S7 Converting Blocks FC 124 ZEHN_H_N S5_CNVRT
S5-S7 Converting Blocks FC 125 A2_H_A1 S5_CNVRT
TI-S7 Converting Blocks FC 90 WSR SHIFT
TI-S7 Converting Blocks FC 92 SHRB SHIFT
TI-S7 Converting Blocks FC 84 ATT TABLE
TI-S7 Converting Blocks FC 85 FIFO TABLE
TI-S7 Converting Blocks FC 86 TBL_FIND TABLE
TI-S7 Converting Blocks FC 87 LIFO TABLE
TI-S7 Converting Blocks FC 88 TBL TABLE
TI-S7 Converting Blocks FC 89 TBL_WRD TABLE
TI-S7 Converting Blocks FC 91 WRD_TBL TABLE
TI-S7 Converting Blocks FC 103 CDT TABLE
TI-S7 Converting Blocks FC 104 TBL_TBL TABLE
System Function Blocks SFB 44 ANALOG TEC_FUNC
System Function Blocks SFB 46 DIGITAL TEC_FUNC
System Function Blocks SFB 47 COUNT TEC_FUNC
System Function Blocks SFB 48 FREQUENC TEC_FUNC
System Function Blocks SFB 49 PULSE TEC_FUNC
System Function Blocks SFB 60 SEND_PTP TEC_FUNC
System Function Blocks SFB 61 RECV_PTP TEC_FUNC
System Function Blocks SFB 62 RES_RECV TEC_FUNC
System Function Blocks SFB 63 SEND_RK TEC_FUNC
System Function Blocks SFB 64 FETCH_RK TEC_FUNC
System Function Blocks SFB 65 SERVE_RK TEC_FUNC
Miscellaneous Blocks FB 60 SET_SW TIMEFUNC
Miscellaneous Blocks FB 61 SET_SW_S TIMEFUNC
Miscellaneous Blocks FB 62 TIMESTMP TIMEFUNC
Miscellaneous Blocks FC 60 LOC_TIME TIMEFUNC
Miscellaneous Blocks FC 61 BT_LT TIMEFUNC
Miscellaneous Blocks FC 62 LT_BT TIMEFUNC
Miscellaneous Blocks FC 63 S_LTINT TIMEFUNC
TI-S7 Converting Blocks FB 81 DCAT TIMERS
TI-S7 Converting Blocks FB 82 MCAT TIMERS
TI-S7 Converting Blocks FB 85 DRUM TIMERS
TI-S7 Converting Blocks FC 80 TONR TIMERS
System Function Blocks SFB 32 DRUM 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
Ten’s 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 c
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 Delay—Retentive
Implement a Sequencer
ose it sets the CPU clock to the current time and according to the changeover rules in the Control DB.
it 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 CTU IEC_TC


SFB 1 CTD IEC_TC
SFB 2 CTUD IEC_TC
SFB 3 TP IEC_TC
SFB 4 TON IEC_TC
SFB 5 TOF IEC_TC
SFB 8 USEND COM_FUNC
SFB 9 URCV COM_FUNC
SFB 12 BSEND COM_FUNC
SFB 13 BRCV COM_FUNC
SFB 14 GET COM_FUNC
SFB 15 PUT COM_FUNC
SFB 16 PRINT COM_FUNC
SFB 19 START COM_FUNC
SFB 20 STOP COM_FUNC
SFB 21 RESUME COM_FUNC
SFB 22 STATUS COM_FUNC
SFB 23 USTATUS COM_FUNC
SFB 29 HS_COUNT COUNTERS

SFB 30 FREQ_MES COUNTERS

SFB 31 NOTIFY_8P COM_FUNC

SFB 32 DRUM TIMERS


SFB 33 ALARM COM_FUNC
SFB 34 ALARM_8 COM_FUNC
SFB 35 ALARM_8P COM_FUNC
SFB 36 NOTIFY COM_FUNC

SFB 37 AR_SEND COM_FUNC


SFB 38 HSC_A_B COUNTERS
SFB 39 POS ICONT
SFB 41 CONT_C ICONT
SFB 42 CONT_S ICONT
SFB 43 PULSEGEN ICONT
SFB 44 ANALOG TEC_FUNC
SFB 46 DIGITAL TEC_FUNC
SFB 47 COUNT TEC_FUNC
SFB 48 FREQUENC TEC_FUNC

SFB 49 PULSE TEC_FUNC

SFB 52 RDREC DP
SFB 53 WRREC DP
SFB 54 RALRM DP
SFB 60 SEND_PTP TEC_FUNC
SFB 61 RECV_PTP TEC_FUNC
SFB 62 RES_RECV TEC_FUNC
Siemens S7 System Function Blocks

SFB 63 SEND_RK TEC_FUNC


SFB 64 FETCH_RK TEC_FUNC
SFB 65 SERVE_RK TEC_FUNC

SFB 75 SALRM DP
SFB 81 RD_DPAR IO_FUNCT
Siemens S7 System Function Blocks

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)
Siemens S7 System Function Blocks

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 SET_CLK CLK_FUNC Set System Clock


SFC 1 READ_CLK CLK_FUNC Read System Clock
SFC 2 SET_RTM CLK_FUNC Set Run-time Meter
SFC 3 CTRL_RTM CLK_FUNC Start/Stop Run-time Meter
SFC 4 READ_RTM CLK_FUNC Read Run-time Meter
SFC 5 GADR_LGC IO_FUNCT Query Logical Address of a Channel
SFC 6 RD_SINFO DB_FUNCT Read OB Start Information
SFC 7 DP_PRAL DP Trigger a Hardware Interrupt on the DP Master
SFC 9 EN_MSG COM_FUNC Enable Block-Related, Symbol-Related and Group Status Messages

SFC 10 DIS_MSG COM_FUNC Disable Block-Related, Symbol-Related and Group Status Messages

SFC 11 DPSYC_FR DP Synchronize Groups of DP Slaves


SFC 12 D_ACT_DP DP Deactivation and activation of DP slaves
SFC 13 DPNRM_DG DIAGNSTC Read Diagnostic Data of a DP Slave (Slave Diagnostics)
SFC 14 DPRD_DAT DP Read Consistent Data of a Standard DP Slave
SFC 15 DPWR_DAT DP Write Consistent Data to a DP Standard Slave
SFC 17 ALARM_SQ PMC_FUNC Generate Acknowledgeable Block-Related Messages
SFC 18 ALARM_S PMC_FUNC Generate Permanently Acknowledged Block-Related Messages
SFC 19 ALARM_SC PMC_FUNC Query the Acknowledgment Status of the last ALARM_SQ Entering
State Message
SFC 20 BLKMOV MOVE Copy Variables
SFC 21 FILL MOVE Initialize a Memory Area
SFC 22 CREAT_DB DB_FUNCT Create Data Block
SFC 23 DEL_DB DB_FUNCT Delete Data Block
SFC 24 TEST_DB DB_FUNCT Test Data Block
SFC 25 COMPRESS DB_FUNCT Compress the User Memory
SFC 26 UPDAT_PI IO_FUNCT Update the Process Image Update Table
SFC 27 UPDAT_PO IO_FUNCT Update the Process Image Output Table
SFC 28 SET_TINT PGM_CNTL Set Time-of-Day Interrupt
SFC 29 CAN_TINT PGM_CNTL Cancel Time-of-Day Interrupt
SFC 30 ACT_TINT PGM_CNTL Activate Time-of-Day Interrupt
SFC 31 QRY_TINT PGM_CNTL Query Time-of-Day Interrupt
SFC 32 SRT_DINT PGM_CNTL Start Time-Delay Interrupt
SFC 33 CAN_DINT PGM_CNTL Cancel Time-Delay Interrupt
SFC 34 QRY_DINT PGM_CNTL Query Time-Delay Interrupt
SFC 35 MP_ALM PGM_CNTL Trigger Multicomputing Interrupt
SFC 36 MSK_FLT DIAGNSTC Mask Synchronous Errors
SFC 37 DMSK_FLT DIAGNSTC Unmask Synchronous Errors
SFC 38 READ_ERR DIAGNSTC Read Error Register
SFC 39 DIS_IRT IRT_FUNC Disable New Interrupts and Asynchronous Errors
SFC 40 EN_IRT IRT_FUNC Enable New Interrupts and Asynchronous Errors
SFC 41 DIS_AIRT IRT_FUNC Delay Higher Priority Interrupts and Asynchronous Errors
SFC 42 EN_AIRT IRT_FUNC Enable Higher Priority Interrupts and Asynchronous Errors
SFC 43 RE_TRIGR PGM_CNTL Re-trigger Cycle Time Monitoring
SFC 44 REPL_VAL DIAGNSTC Transfer Substitute Value to Accumulator 1
SFC 46 STP PGM_CNTL Change the CPU to STOP
SFC 47 WAIT PGM_CNTL Delay Execution of the User Program
SFC 48 SNC_RTCB CLK_FUNC Synchronize Slave Clocks
SFC 49 LGC_GADR IO_FUNCT Query the Module Slot Belonging to a Logical Address

- 49 -
Siemens S7 System Function Calls

SFC 50 RD_LGADR IO_FUNCT Query all Logical Addresses of a Module


SFC 51 RDSYSST DIAGNSTC Read a System Status List or Partial List
SFC 52 WR_USMSG DIAGNSTC Write a User-Defined Diagnostic Event to the Diagnostic Buffer
SFC 54 RD_PARM IO_FUNCT Read Defined Parameters
SFC 55 WR_PARM IO_FUNCT Write Dynamic Parameters
SFC 56 WR_DPARM IO_FUNCT Write Default Parameters
SFC 57 PARM_MOD IO_FUNCT Assign Parameters to a Module
SFC 58 WR_REC IO_FUNCT Write a Data Record
SFC 59 RD_REC IO_FUNCT Read a Data Record
SFC 60 GD_SND COM_FUNC Send a GD Packet
SFC 61 GD_RCV COM_FUNC Fetch a Received GD Packet
SFC 62 CONTROL COM_FUNC Query the Status of a Connection Belonging to a Communication SFB
Instance
SFC 63 AB_CALL PLASTICS Assembly Code Block (only exists for CPU 614)
SFC 64 TIME_TCK CLK_FUNC Read the System Time
SFC 65 X_SEND COM_FUNC Send Data to a Communication Partner outside the Local S7 Station

SFC 66 X_RCV COM_FUNC Receive Data from a Communication Partner outside the Local S7
Station
SFC 67 X_GET COM_FUNC Read Data from a Communication Partner outside the Local S7
Station
SFC 68 X_PUT COM_FUNC Write Data to a Communication Partner outside the Local S7 Station

SFC 69 X_ABORT COM_FUNC Abort an Existing Connection to a Communication Partner outside the
Local S7 Station
SFC 70 GEO_LOG IO_FUNCT Determine Start Address of a Module
SFC 71 LOG_GEO IO_FUNCT Determine the Slot Belonging to a Logical Address
SFC 72 I_GET COM_FUNC Read Data from a Communication Partner within the Local S7 Station

SFC 73 I_PUT COM_FUNC Write Data to a Communication Partner within the Local S7 Station

SFC 74 I_ABORT COM_FUNC Abort an Existing Connection to a Communication Partner within the
Local S7 Station
SFC 78 OB_RT DIAGNSTC Determine OB program runtime
SFC 79 SET BIT_LOGC Set a Range of Outputs
SFC 80 RSET BIT_LOGC Reset a Range of Outputs
SFC 81 UBLKMOV MOVE Uninterruptible Block Move
SFC 82 CREA_DBL DB_CTRL Create a Data Block in the Load Memory
SFC 83 READ_DBL DB_CTRL Read from a Data Block in Load Memory
SFC 84 WRIT_DBL DB_CTRL Write from a Data Block in Load Memory
SFC 85 CREA_DB DB_FUNCT Create a Data Block
SFC 87 C_DIAG COM_FUNC Diagnosis of the Actual Connection Status
SFC 90 H_CTRL HF_FUNCT Control Operation in H Systems
SFC 100 SET_CLKS CLK_FUNC Setting the Time-of-Day and the TOD Status
SFC 101 RTM CLK_FUNC Handling runtime meters
SFC 102 RD_DPARA IO_FUNCT Redefined Parameters
SFC 103 DP_TOPOL DP Identifying the bus topology in a DP master system
SFC 104 CIR PGM_CNTL Controlling CiR
SFC 105 READ_SI PMC_FUNC Reading Dynamic System Resources
SFC 106 DEL_SI PMC_FUNC Deleting Dynamic System Resources

- 50 -
Siemens S7 System Function Calls

SFC 107 ALARM_DQ PMC_FUNC Generating Always Acknowledgeable and Block-Related Messages

SFC 108 ALARM_D PMC_FUNC Generating Always Acknowledgeable and Block-Related Messages

SFC 112 PN_IN PROFIne2 Update inputs in the user program interface of PROFInet components

SFC 113 PN_OUT PROFIne2 Update outputs in the user program interface of PROFInet
components
SFC 114 PN_DP PROFIne2 Update DP interconnections
SFC 126 SYNC_PI IO_FUNCT Update process image partition input table in synchronous cycle
SFC 127 SYNC_PO IO_FUNCT Update process image partition output table in synchronous cycle

- 51 -
Siemens S7 S5-S7 Converting Blocks

FC 61 GP_FPGP S5_CNVRT Change fixed point number to floating point number


FC 62 GP_GPFP S5_CNVRT Change floating point number to fixed point number
FC 63 GP_ADD S5_CNVRT Add floating point numbers
FC 64 GP_SUB S5_CNVRT Subtract floating point numbers
FC 65 GP_MUL S5_CNVRT Multiply floating point number
FC 66 GP_DIV S5_CNVRT Divide floating point numbers
FC 67 GP_VGL S5_CNVRT Compare floating point numbers
FC 68 RAD_GP S5_CNVRT Extract root of floating point numbers
FC 69 MLD_TG S5_CNVRT Clock generator
FC 70 MLD_TGZ S5_CNVRT Clock generator (timing element)
FC 71 MLD_EZW S5_CNVRT Message of first value with single flashing light, wordwise, A
FC 72 MLD_EDW S5_CNVRT Message of first value with double flashing light, wordwise, A
FC 73 MLD_SAMW S5_CNVRT Collected message, wordwise (sound alert)
FC 74 MLD_SAM S5_CNVRT Collected message, bitwise
FC 75 MLD_EZ  S5_CNVRT Message of first value with single flashing light, bitwise, A
FC 78 MLD_EDWK S5_CNVRT Message of first value with double flashing light, wordwise, A+M

FC 79 MLD_EZK S5_CNVRT Message of first value with single flashing light, bitwise, A+M
FC 80 MLD_EDK S5_CNVRT Message of first value with double flashing light, bitwise, A+M
FC 81 COD_B4 S5_CNVRT Change BCD number to 16 bit dual number
FC 82 COD_16 S5_CNVRT Change 16 bit dual number to BCD number
FC 83 MUL_16 S5_CNVRT Multiply 16 bit dual numbers
FC 84 DIV_16 S5_CNVRT Divide 16 bit dual numbers
FC 85 ADD_32 S5_CNVRT Add 32 bit dual numbers
FC 86 SUB_32 S5_CNVRT Subtract 32 bit dual numbers
FC 87 MUL_32  S5_CNVRT Multiply 32 bit dual numbers
FC 88 DIV_32 S5_CNVRT Divide 32 bit dual numbers
FC 89 RAD_16 S5_CNVRT Extract roots of 16 bit dual numbers
FC 90 REG_SCHB S5_CNVRT Bi-directional shift register, bitwise
FC 91 REG_SCHW  S5_CNVRT Bi-directional shift register, wordwise
FC 92 REG_FIFO S5_CNVRT Buffer memory (FIFO)
FC 93 REG_LIFO S5_CNVRT Stack register (LIFO)
FC 94 DB_COPY1 S5_CNVRT Copy data block, direct assignment of parameters
FC 95 DB_COPY2  S5_CNVRT Copy data block, indirect assignment of parameterization
FC 96 RETTEN S5_CNVRT Save scratchpad memory
FC 97 LADEN S5_CNVRT Load scratchpad memory
FC 98 COD_B8 S5_CNVRT Change BCD number to 32 bit dual number
FC 99 COD_32 S5_CNVRT Change 32 bit dual number to BCD number
FC 100 AE_460_1 S5_CNVRT Read analog value
FC 101 AE_460_2 S5_CNVRT Read analog value
FC 102 AE_463_1  S5_CNVRT Read analog value
FC 103 AE_463_2 S5_CNVRT Read analog value
FC 104 AE_464_1 S5_CNVRT Read analog value
FC 105 AE_464_2 S5_CNVRT Read analog value
FC 106 AE_466_1 S5_CNVRT Read analog value
FC 107 AE_466_2 S5_CNVRT Read analog value
FC 108 RLG_AA1 S5_CNVRT Output analog value
FC 109 RLG_AA2 S5_CNVRT Output analog value
FC 110 PER_ET1 S5_CNVRT Read and Write for extended periphery (direct assignment of
parameters)
Siemens S7 S5-S7 Converting Blocks

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

FC 1 AD_DT_TM IEC Point Math Add duration to a time


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

FB 41 CONT_C ICONT Continuous Control


FB 42 CONT_S ICONT Step Control
FB 43 PULSEGEN ICONT Pulse Generation
FB 58 TCONT_CP CONTROL Temperature Continuous Controller
FB 59 TCONT_S CONTROL Temperature Step Controller
Siemens S7 Communication Blocks

FB 2 IDENTIFY CP_300
FB 3 READ CP_300

FB 4 REPORT CP_300
FB 5 STATUS CP_300

FB 6 WRITE CP_300

FB 8 USEND CP_300
FB 9 URCV CP_300
FB 12 BSEND CP_300
FB 13 BRCV CP_300
FB 14 GET CP_300
FB 15 PUT CP_300
FB 20 GETIO IO_FUNCT
FB 21 SETIO IO_FUNCT
FB 22 GETIO_PART IO_FUNCT

FB 23 SETIO_PART IO_FUNCT

FB 55 IP_CONFIG CP_300

FB 63 TSEND COMM
FB 64 TRCV COMM
FB 65 TCON COMM
FB 66 TDISCON COMM
FB 67 TUSEND COMM
FB 68 TURCV COMM
FC 1 DP_SEND CP_300
FC 2 DP_RECV CP_300
FC 3 DP_DIAG CP_300
FC 4 DP_CTRL CP_300
FC 5 AG_SEND CP_300

FC 6 AG_RECV CP_300

FC 7 AG_LOCK CP_300

FC 8 AG_UNLOCK CP_300

FC 10 AG_CNTRL CP_300

FC 11 PNIO_SEND CP_300

FC 12 PNIO_RECV CP_300

FC 40 FTP_CONNECT CP_300
FC 41 FTP_STORE CP_300
FC 42 FTP_RETRIEVE CP_300
Siemens S7 Communication Blocks

FC 43 FTP_DELETE CP_300
FC 44 FTP_QUIT CP_300
FC 50 AG_LSEND CP_300

FC 60 AG_LRECV CP_300

FC 62 C_CNTRL CP_300
Siemens S7 Communication Blocks

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
Siemens S7 Communication Blocks

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 LEAD_LAG CONVERT Lead/Lag Algorithm


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

FB 60 SET_SW TIMEFUNC

FB 61 SET_SW_S TIMEFUNC

FB 62 TIMESTMP TIMEFUNC

FC 60 LOC_TIME TIMEFUNC

FC 61 BT_LT TIMEFUNC
FC 62 LT_BT TIMEFUNC
FC 63 S_LTINT TIMEFUNC
Siemens S7 Misc Blocks

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.
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.
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.
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 Subnet Type Connection between SIMATIC...


S7 connection MPI, S7 - S7, S7 - PG/PC,
PROFIBUS, S7 - PG/PC with WinCC
Industrial Ethernet with MPI also: M7 - M7,
M7 - S7, M7 - PG/PC

S7 - partner in another project (S7,


PG/PC with WinCC)
S7 connection, fault- PROFIBUS, S7(H) - S7(H),
tolerant Industrial Ethernet S7(H) - PC station (H)
PTP Point-to-point S7 - S7, S7 - S5,
(computer protocol
RK 512/3964(R)) S7 - non-Siemens device
Connection
S7 - partner in another project (S7,
no Siemens device)
FMS connection PROFIBUS S7 - S7, S7 - S5, S7 - PG/PC, S7 -
no Siemens device, S7 - broadcast to
all nodes
(FMS protocol)
S7 - partner in another project (S7,
S5, PG/PC, no Siemens device)

FDL connection PROFIBUS S7 - S7, S7 - S5, S7 - PC/PG, S7


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

ISO Industrial Ethernet S7 - S7, S7 - S5, S7 - PC/PG, S7 -


non-Siemens device, S7 -
unspecified
(ISO Transport
transport link protocol) S7 - partner in another project (S7,
S5, PG/PC, non-Siemens device,
unspecified)
ISO-on-TCP Industrial Ethernet S7 - S7, S7 - S5,
(TCP/IP protocol) S7 - PC/PG,
connection S7 - non-Siemens device,
S7 - unspecified

S7 - partner in another project (S7,


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

TCP connection Industrial Ethernet S7 - S7, S7 - S5,


S7 - PC/PG,
(TCP/IP protocol) 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 S7 - unspecified (S7 - mail server)


(TCP/IP protocol)

* 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

r 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 S7 communication SEND/RECEIVE PG/OP


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

S7-400 S7 communication S7 communication SEND/RECEIVE PG/OP


SEND/RECEIVE SEND/RECEIVE FETCH/WRITE communication*
PROFINET CBA PROFINET CBA S7 communication*
PROFINET IO** FTP Services 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

You might also like