Anda di halaman 1dari 107

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

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

SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB

0 1 2 3 4 5 8 9 12 13 14 15 16

CTU CTD CTUD TP TON TOF USEND URCV BSEND BRCV GET PUT PRINT

IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS COUNTERS COM_FUNC TIMERS COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS ICONT ICONT ICONT ICONT TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC

19 START 20 21 22 23 STOP RESUME STATUS USTATUS

29 HS_COUNT 30 FREQ_MES 31 NOTIFY_8P 32 DRUM 33 ALARM 34 ALARM_8 35 ALARM_8P 36 NOTIFY 37 AR_SEND 38 HSC_A_B 39 41 42 43 POS CONT_C CONT_S PULSEGEN

44 ANALOG 46 DIGITAL 47 COUNT 48 FREQUENC 49 PULSE

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

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

52 RDREC 53 WRREC 54 RALRM 60 SEND_PTP 61 RECV_PTP 62 RES_RECV 63 SEND_RK 64 FETCH_RK 65 75 81 0 1 2 3 4 5 6 7 SERVE_RK SALRM RD_DPAR SET_CLK READ_CLK SET_RTM CTRL_RTM READ_RTM GADR_LGC RD_SINFO DP_PRAL

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

9 EN_MSG 10 DIS_MSG 11 DPSYC_FR 12 D_ACT_DP 13 14 15 17 DPNRM_DG DPRD_DAT DPWR_DAT ALARM_SQ

18 ALARM_S 19 20 21 22 23 24 25 26 27 28 29 30 31 ALARM_SC BLKMOV FILL CREAT_DB DEL_DB TEST_DB COMPRESS UPDAT_PI UPDAT_PO SET_TINT CAN_TINT ACT_TINT QRY_TINT

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

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

32 33 34 35 36 37 38 39 40

SRT_DINT CAN_DINT QRY_DINT MP_ALM MSK_FLT DMSK_FLT READ_ERR DIS_IRT EN_IRT

PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL DIAGNSTC DIAGNSTC DIAGNSTC IRT_FUNC IRT_FUNC IRT_FUNC IRT_FUNC PGM_CNTL DIAGNSTC PGM_CNTL PGM_CNTL CLK_FUNC IO_FUNCT IO_FUNCT DIAGNSTC DIAGNSTC IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC COM_FUNC PLASTICS CLK_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC

41 DIS_AIRT 42 43 44 46 47 48 EN_AIRT RE_TRIGR REPL_VAL STP WAIT SNC_RTCB

49 LGC_GADR 50 RD_LGADR 51 RDSYSST 52 54 55 56 57 58 59 60 61 WR_USMSG RD_PARM WR_PARM WR_DPARM PARM_MOD WR_REC RD_REC GD_SND GD_RCV

62 CONTROL 63 AB_CALL 64 TIME_TCK 65 X_SEND 66 X_RCV 67 X_GET 68 X_PUT 69 X_ABORT 70 GEO_LOG 71 LOG_GEO 72 I_GET 73 I_PUT

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

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

74 78 79 80 81 82

I_ABORT OB_RT SET RSET UBLKMOV CREA_DBL

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

83 READ_DBL 84 85 87 90 100 101 102 103 104 105 106 WRIT_DBL CREA_DB C_DIAG H_CTRL SET_CLKS RTM RD_DPARA DP_TOPOL CIR READ_SI DEL_SI

107 ALARM_DQ 108 ALARM_D 112 PN_IN 113 PN_OUT 114 PN_DP 126 SYNC_PI 127 SYNC_PO 61 GP_FPGP 62 63 64 65 66 67 68 69 70 GP_GPFP GP_ADD GP_SUB GP_MUL GP_DIV GP_VGL RAD_GP MLD_TG MLD_TGZ

71 MLD_EZW 72 MLD_EDW 73 MLD_SAMW

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

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

74 MLD_SAM 75 MLD_EZ 78 MLD_EDWK 79 MLD_EZK 80 81 82 83 84 85 86 87 88 89 90 91 92 93 MLD_EDK COD_B4 COD_16 MUL_16 DIV_16 ADD_32 SUB_32 MUL_32 DIV_32 RAD_16 REG_SCHB REG_SCHW REG_FIFO REG_LIFO

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

94 DB_COPY1 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 DB_COPY2 RETTEN LADEN COD_B8 COD_32 AE_460_1 AE_460_2 AE_463_1 AE_463_2 AE_464_1 AE_464_2 AE_466_1 AE_466_2 RLG_AA1 RLG_AA2

110 PER_ET1 111 112 113 114 115 116 117 118 119 PER_ET2 SINUS COSINUS TANGENS COTANG ARCSIN ARCCOS ARCTAN ARCCOT

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

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

120 121 122 123 124 125 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 58 59

LN_X LG_X B_LOG_X E_H_N ZEHN_H_N A2_H_A1 AD_DT_TM CONCAT D_TOD_DT DELETE DI_STRNG DT_DATE DT_DAY DT_TOD EQ_DT EQ_STRNG FIND GE_DT GE_STRNG GT_DT GT_STRNG I_STRNG INSERT LE_DT LE_STRNG LEFT LEN LIMIT LT_DT LT_STRNG MAX MID MIN NE_DT NE_STRNG R_STRNG REPLACE RIGHT S5TI_TIM SB_DT_DT SB_DT_TM SEL STRNG_DI STRNG_I STRNG_R TIM_S5TI CONT_C CONT_S PULSEGEN TCONT_CP TCONT_S

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

SIMATIC_NET_CP

FB FB

2 IDENTIFY 3 READ

CP_300 CP_300

SIMATIC_NET_CP FB SIMATIC_NET_CP FB SIMATIC_NET_CP FB SIMATIC_NET_CP Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks FB Communication Blocks FB Communication Blocks FB Communication Blocks FB 55 IP_CONFIG CP_300 23 SETIO_PART IO_FUNCT 22 GETIO_PART IO_FUNCT 21 SETIO IO_FUNCT 6 WRITE CP_300 5 STATUS CP_300 4 REPORT CP_300

FB FB FB FB FB FB FB

8 9 12 13 14 15 20

USEND URCV BSEND BRCV GET PUT GETIO

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 IO_FUNCT

Communication Blocks Communication Blocks Communication Blocks

FB FB FB FB

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

COMM COMM COMM COMM COMM COMM CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300

Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks SIMATIC_NET_CP

FB FB FC FC FC FC FC FC

6 AG_RECV 7 AG_LOCK 8 AG_UNLOCK

SIMATIC_NET_CP FC SIMATIC_NET_CP FC SIMATIC_NET_CP

FC SIMATIC_NET_CP FC SIMATIC_NET_CP FC SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP FC SIMATIC_NET_CP Communication Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks TI-S7 Converting Blocks FC FB FB FB FB FB FB FB FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC

10 AG_CNTRL

CP_300

11 PNIO_SEND 12 PNIO_RECV 40 41 42 43 44 50 FTP_CONNECT FTP_STORE FTP_RETRIEVE FTP_DELETE FTP_QUIT AG_LSEND

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CONVERT TIMERS TIMERS COMPARE COMPARE TIMERS MOVE TIMERS MOVE BIT_LOGC BIT_LOGC TABLE TABLE TABLE TABLE TABLE TABLE SHIFT TABLE SHIFT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT BIT_LOGC BIT_LOGC MATH_FP TABLE TABLE CONVERT CONVERT

60 AG_LRECV 62 80 81 82 83 84 85 86 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 C_CNTRL LEAD_LAG DCAT MCAT IMC SMC DRUM PACK TONR IBLKMOV RSET SET ATT FIFO TBL_FIND LIFO TBL TBL_WRD WSR WRD_TBL SHRB SEG ATH HTA ENCO DECO BCDCPL BITSUM RSETI SETI DEV CDT TBL_TBL SCALE UNSCALE

Miscellaneous Blocks

FB

60 SET_SW

TIMEFUNC

Miscellaneous Blocks Miscellaneous Blocks

FB FB

61 SET_SW_S 62 TIMESTMP

TIMEFUNC TIMEFUNC

Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks Miscellaneous Blocks

FC FC FC FC

60 LOC_TIME 61 BT_LT 62 LT_BT 63 S_LTINT

TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC

Count Up Count Down Count Up/Down Generate a Pulse Generate an On Delay Generate an Off Delay Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU Send Data to Printer Initiate a Warm or Cold Restart on a Remote Device Changing a Remote Device to the STOP State Initiate a Hot Restart on a Remote Device Query the Status of a Remote Partner Receive the Status of a Remote Device Counter (high-speed counter, integrated function) (only exist on the CPU 312 IFM and CPU 314 IFM) Frequency Meter (frequency meter, integrated function (only exist on the CPU 312 IFM and CPU 314 IFM) Generating block related messages without acknowledgement indication Implement a Sequencer Generate Block-Related Messages with Acknowledgment Display Generate Block-Related Messages without Values for 8 Signals Generate Block-Related Messages with Values for 8 Signals Generate Block-Related Messages without Acknowledgment Display Send Archive Data Counter A/B (integrated function) (only exist on the CPU 314 IFM) Position (integrated function) (only exist on the CPU 314 IFM) Continuous Control (only exist on the CPU 314 IFM) Step Control (only exist on the CPU 314 IFM) Pulse Generation (only exist on the CPU 314 IFM) Positioning with Analog Output (only exist on the S7-300C CPUs) Positioning with Digital Output (only exist on the S7-300C CPUs) Controlling the Counter (only exist on the S7-300C CPUs) Controlling the Frequency Measurement (only exist on the S7300C 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 S7300C CPUs) Sending Data (RK 512) (only exist on the S7-300C CPUs) Fetching Data (RK 512) (only exist on the S7-300C CPUs) Receiving and Providing Data (RK 512) (only exist on the S7-300C CPUs) Send interrupt to DP master Read Predefined Parameter Set System Clock Read System Clock Set Run-time Meter Start/Stop Run-time Meter Read Run-time Meter Query Logical Address of a Channel Read OB Start Information Trigger a Hardware Interrupt on the DP Master Enable Block-Related, Symbol-Related and Group Status Messages Disable Block-Related, Symbol-Related and Group Status Messages Synchronize Groups of DP Slaves Deactivation and activation of DP slaves Read Diagnostic Data of a DP Slave (Slave Diagnostics) Read Consistent Data of a Standard DP Slave Write Consistent Data to a DP Standard Slave Generate Acknowledgeable Block-Related Messages Generate Permanently Acknowledged Block-Related Messages Query the Acknowledgment Status of the last ALARM_SQ Entering State Message Copy Variables Initialize a Memory Area Create Data Block Delete Data Block Test Data Block Compress the User Memory Update the Process Image Update Table Update the Process Image Output Table Set Time-of-Day Interrupt Cancel Time-of-Day Interrupt Activate Time-of-Day Interrupt Query Time-of-Day Interrupt

Start Time-Delay Interrupt Cancel Time-Delay Interrupt Query Time-Delay Interrupt Trigger Multicomputing Interrupt Mask Synchronous Errors Unmask Synchronous Errors Read Error Register Disable New Interrupts and Asynchronous Errors Enable New Interrupts and Asynchronous Errors Delay Higher Priority Interrupts and Asynchronous Errors Enable Higher Priority Interrupts and Asynchronous Errors Re-trigger Cycle Time Monitoring Transfer Substitute Value to Accumulator 1 Change the CPU to STOP Delay Execution of the User Program Synchronize Slave Clocks Query the Module Slot Belonging to a Logical Address Query all Logical Addresses of a Module Read a System Status List or Partial List Write a User-Defined Diagnostic Event to the Diagnostic Buffer Read Defined Parameters Write Dynamic Parameters Write Default Parameters Assign Parameters to a Module Write a Data Record Read a Data Record Send a GD Packet Fetch a Received GD Packet Query the Status of a Connection Belonging to a Communication SFB Instance Assembly Code Block (only exists for CPU 614) Read the System Time Send Data to a Communication Partner outside the Local S7 Station Receive Data from a Communication Partner outside the Local S7 Station Read Data from a Communication Partner outside the Local S7 Station Write Data to a Communication Partner outside the Local S7 Station Abort an Existing Connection to a Communication Partner outside the Local S7 Station Determine Start Address of a Module Determine the Slot Belonging to a Logical Address Read Data from a Communication Partner within the Local S7 Station Write Data to a Communication Partner within the Local S7 Station

Abort an Existing Connection to a Communication Partner within the Local S7 Station Determine OB program runtime Set a Range of Outputs Reset a Range of Outputs Uninterruptible Block Move Create a Data Block in the Load Memory Read from a Data Block in Load Memory Write from a Data Block in Load Memory Create a Data Block Diagnosis of the Actual Connection Status Control Operation in H Systems Setting the Time-of-Day and the TOD Status Handling runtime meters Redefined Parameters Identifying the bus topology in a DP master system Controlling CiR Reading Dynamic System Resources Deleting Dynamic System Resources Generating Always Acknowledgeable and Block-Related Messages Generating Always Acknowledgeable and Block-Related Messages Update inputs in the user program interface of PROFInet components Update outputs in the user program interface of PROFInet components Update DP interconnections Update process image partition input table in synchronous cycle Update process image partition output table in synchronous cycle Change fixed point number to floating point number Change floating point number to fixed point number Add floating point numbers Subtract floating point numbers Multiply floating point number Divide floating point numbers Compare floating point numbers Extract root of floating point numbers Clock generator Clock generator (timing element) Message of first value with single flashing light, wordwise, A Message of first value with double flashing light, wordwise, A Collected message, wordwise (sound alert)

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

Natural logarithm ln (x) Decade logarithm Iog (x) General logarithm Iog (x) to basis b e to the power of n 10 to the power of n AKKU 2 to the power of AKKU 1 Point Math Add duration to a time Combine two STRING variables Combine DATE and TIME_OF_DAY to DT Delete in a STRING variable Data type conversion DINT to STRING Extract the DATE from DT Extract the day of the week from DT Extract the TIME_OF_DAY from DT Compare DT for equal Compare STRING for equal Find in a STRING variable Compare DT for greater than or equal Compare STRING for greater than or equal Compare DT for greater than Compare STRING for greater than Data type conversion INT to STRING Insert in a STRING variable Compare DT for smaller than or equal Compare STRING for smaller than or equal Left part of a STRING variable Length of a STRING variable Point Math Limit Compare DT for smaller than Compare STRING for smaller than Point Math Select maximum Middle part of a STRING variable Point Math Select minimum Compare DT for unequal Compare STRING for unequal Data type conversion REAL to STRING Replace in a STRING variable Right part of a STRING variable Data type conversion S5TIME to TIME Point Math Subtract two time values Point Math Subtract duration from a time Point Math Binary selection Data type conversion STRING to DINT Data type conversion STRING to INT Data type conversion STRING to REAL Data type conversion TIME to S5TIME Continuous Control Step Control Pulse Generation Temperature Continuous Controller Temperature Step Controller

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

allows you to diagnose connections. When necessary, you can reinitialize connection establishment using the FC. used for data transfer in the CP modes PROFINET IO controller or PROFINET IO device. used to receive data in the CP modes PROFINET IO controller or PROFINET IO device. Establish an FTP connection Store a file on the FTP server Retrieve a file from the FTP server Delete a file on the FTP server Enable an FTP connection data by means of a configured connection to the communication partner. data by means of a configured connection from the communication partner (not email). Query a connection status for S7-300 Lead/Lag Algorithm Discrete Control Alarm Timer Motor Control Alarm Timer Index Matrix Compare Scan Matrix Compare Event Maskable Drum Pack Data Software Timer On DelayRetentive Indirect Block Move Reset Range of Outputs Set Range of Outputs Add to Table First In/First Out Unload Table Table Find Last In/First Out Unload Table Table Move Table to Word Word Shift Register Word to Table Bit Shift Register Seven Segment Decoder ASCII to Hex Hex to ASCII Encode Binary Position Decode Binary Position Tens Complement Sum Number of Bits Reset Range of Immediate Outputs Set Range of Immediate Outputs Standard Deviation Correlated Data Table Table to Table Scaling Values Unscaling Values

supports the summertime/wintertime changeover in CPUs that do not have the time status. For this purpose it sets the CPU 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.

Conte Up Count Down Conte para cima / baixo Gerar um pulso Gerar um atraso na Gerar um Delay Off Sending descoordenada de Dados Recebimento descoordenada de Dados Envio de dados segmentadas Receber dados segmentados Ler dados de um CPU remoto Gravar dados em um CPU remoto Enviar dados para a impressora Iniciar uma morna ou fria Restart em um dispositivo remoto Mudando um dispositivo remoto para o estado de parada Iniciar um Hot Restart em um dispositivo remoto Consultar o status de um parceiro remoto Receba o status de um dispositivo remoto Contador (contador de alta velocidade, funo integrada) (s existem no 312 CPU IFM e CPU 314 IFM) Medidor de freqncia (medidor de freqncia, funo integrada (s existem no 312 CPU IFM e CPU 314 IFM) Gerando mensagens relacionadas bloco sem indicao reconhecimento Implementar um Sequencer Gerar mensagens de bloco relacionadas com Display Reconhecimento Gerar Mensagens Block-relacionadas, sem valores para 8 Sinais Gerar mensagens de bloco relacionadas com valores para 8 Sinais Gerar Mensagens Block-relacionadas, sem exibio Reconhecimento Enviar Arquivo de Dados Contador A / B (funo integrada) (s existem na CPU 314 IFM) Posio (funo integrada) (s existem na CPU 314 IFM) Controle Contnuo (s existem na CPU 314 IFM) Controle de Passo (s existem na CPU 314 IFM) Pulso Generation (s existem na CPU 314 IFM) Posicionamento com Sada Analgica (s existem no S7300C CPUs) Posicionamento com sada Digital (s existem no S7-300C CPUs) Controlar o Contador (s existem no S7-300C CPUs) Controlar a medio de frequncia (s existem no S7-300C CPUs) Controlar Modulao por Largura de Pulso (s existem no S7-300C CPUs)

Lendo um registro de dados Escrevendo um registro de dados Receber uma interrupo O envio de dados (ASCII, 3964 (R)) (apenas existem na S7300C CPUs) Recebendo dados (ASCII, 3964 (R)) (s existem no S7300C CPUs) Eliminar o buffer de recepo (ASCII, 3964 (R)) (s existem no S7-300C CPUs) Envio de dados (RK 512) (s existem no S7-300C CPUs) Buscando dados (RK 512) (s existem no S7-300C CPUs) Recebimento e fornecimento de dados (RK 512) (s existem no S7-300C CPUs) Enviar interromper a mestre DP Leia parmetro predefinido, Conjunto Relgio do Sistema Leia o Relgio do Sistema Definir Meter Run-time Start / Stop Meter Run-time Leia Meter Run-time Consulta Lgico Endereo de um Canal Leia OB Iniciar Informao Provocar uma interrupo de hardware na DP Mestre Ativar mensagens de status do bloco-Related, Symbolrelacionadas e Grupo Mensagens de status desativar Block-relacionados, Symbolrelacionadas e Grupo Sincronizar Grupos de DP Slaves Desativao e ativao de escravos DP Ler dados de diagnstico de um escravo DP (Diagnstico Escravo) Ler dados consistentes de um escravo DP Padro Escrever dados consistentes para a DP Slave Padro Gerar reconhecvel Mensagens Block-relacionadas Gerar permanentemente Reconhecido Mensagens Blockrelacionadas Consultar o estado de reconhecimento do ALARM_SQ ltima Entrando Estado Mensagem Variveis cpia Inicializar uma rea de memria Criar Bloco de dados Excluir Bloco de Dados Teste Bloco de dados Comprima a Memria do Usurio Atualize o Processo Tabela de atualizao da imagem Atualize o Processo Tabela Imagem de Sada Definir Time-of-Day Interrupo Cancelar Time-of-Day Interrupo Ative Time-of-Day Interrupo Consulta de Interrupo Time-of-Day

Comece Time-Delay Interrupo Cancelar Time-Delay Interrupo Consulta de Interrupo Time-Delay Gatilho Multicomputing Interrupo Mascarar erros sncronos Desmascarar erros sncronos Leia Erro Register Desativar Novas interrupes e erros assncronos Permitir novas interrupes e erros assncronos Atraso Superior interrupes de prioridade e erros assncronos Permitir uma maior interrupes de prioridade e erros assncronos Re-trigger Tempo de Ciclo de Monitoramento Transferncia de valor substituto para um acumulador Altere a CPU para STOP Atrasar a execuo do programa do usurio Sincronizar os relgios Escravo Consultar ranhura do mdulo Pertencer a um endereo lgico Consultar todos os endereos lgicos de um mdulo Leia uma lista de status do sistema ou Lista parcial Escrever um User-Defined evento Diagnstico para o buffer de diagnstico Leia parmetros definidos Escrever parmetros dinmicos Escrever Parmetros padro Atribuir Parmetros para um mdulo Escrever um registro de dados Leia um registro de dados Enviar um pacote GD Buscar um GD pacote recebido Consultar o status de uma conexo Pertencer a um SFB Instncia Comunicao Assembleia cdigo Block (s existe para CPU 614) Leia a Hora do Sistema Enviar dados para um parceiro de comunicao fora da Estao S7 local Receber dados de um parceiro de comunicao fora da estao S7 local Ler dados de um parceiro de comunicao fora da estao S7 local Gravar dados em um parceiro de comunicao fora da Estao S7 local Abortar uma conexo existente com um parceiro de comunicao fora da Estao S7 local Determine Endereo de partida de um mdulo Determine o slot Pertencer a um endereo lgico Ler dados de um parceiro de comunicao dentro da estao S7 local Gravar dados em um parceiro de comunicao dentro da estao S7 local

Abortar uma conexo existente com um parceiro de comunicao dentro da estao S7 local Determine OB programa runtime Definir um intervalo de sadas Redefinir um intervalo de Sadas Uninterruptible Bloquear Mover Criar um bloco de dados na memria de carga Leia a partir de um bloco de dados na memria de carga Escrever a partir de um bloco de dados na memria de carga Criar um bloco de dados Diagnstico da Situao Actual Connection Operao de Controle em Sistemas de H Definir a hora do dia eo Estado TOD Manipulao metros de execuo Redefiniu Parmetros A identificao da topologia de barramento em um sistema de mestre DP Controlando o CIR Leitura Recursos do Sistema Dinmico Excluindo recursos do sistema dinmico Gerando Mensagens sempre reconhecvel e Bloco-Related Gerando Mensagens sempre reconhecvel e Bloco-Related Atualize entradas na interface do programa do usurio dos componentes PROFINET Atualize sadas na interface do programa do usurio dos componentes PROFINET Atualizao DP interconexes Atualizar a tabela de entrada de partio imagem do processo no ciclo sncrono Atualizar a tabela de sada partio imagem do processo no ciclo sncrono Alterar o nmero de ponto fixo de nmero de ponto flutuante Alterar o nmero de ponto flutuante para nmero de ponto fixo Adicionar nmeros de ponto flutuante Subtrair nmeros de ponto flutuante Multiplique o nmero de ponto flutuante Dividir nmeros de ponto flutuante Comparar nmeros de ponto flutuante Extrato da raiz de nmeros de ponto flutuante Gerador de clock Gerador de clock (elemento de timing) Mensagem do primeiro valor com nica luz piscando, WordWise, A Mensagem do primeiro valor com o dobro luz intermitente, WordWise, A Mensagem coletado, WordWise (alerta sonoro)

Mensagem coletado, bit a bit Mensagem do primeiro valor com nica luz piscando, bit a bit, A Mensagem do primeiro valor com o dobro luz intermitente, WordWise, A + M Mensagem do primeiro valor com nica luz piscando, bit a bit, A + M Mensagem do primeiro valor com o dobro luz intermitente, bit a bit, A + M Alterar o nmero BCD de 16 bits dupla nmero Mudar de 16 bits nmero de srie dupla BCD Multiplique 16 bits nmeros dupla Divida 16 bits nmeros dupla Adicionar nmeros de 32 bits dupla Subtrair dois nmeros de 32 bits Multiplique 32 bits nmeros dupla Divida 32 bits nmeros dupla Extrair razes de 16 bit nmeros duplos Bi-direcional mudana de registro, bit a bit Bi-direcional mudana de registo, WordWise Memria buffer (FIFO) Stack registo (LIFO) Bloco de dados de cpia, a atribuio direta dos parmetros Bloco de dados cpia, cesso indireta de parametrizao Economizar memria de rascunho Carregar a memria de rascunho Alterar o nmero BCD de 32 bits dupla nmero Mudar de 32 bits nmero dual nmero BCD Leia o valor analgico Leia o valor analgico Leia o valor analgico Leia o valor analgico Leia o valor analgico Leia o valor analgico Leia o valor analgico Leia o valor analgico Valor da sada analgica Valor da sada analgica Ler e Escrever para a periferia estendida (atribuio direta de parmetros) Ler e Escrever para a periferia estendida (atribuio indireta de parmetros) Sine (x) Co-seno (x) Tangente (x) Cotangent (x) Arco seno (x) Arco co-seno (x) Arco tangente (x) Arco cotangens (x)

Logaritmo natural ln (x) Dcada IOG logaritmo (x) IOG logaritmo Geral (x) a base b e ao poder de n 10 para a potncia de n AKKU 2 elevado potncia de um AKKU Ponto de Matemtica Adicionar durao de uma hora Combinar duas variveis String Combine DATE e TIME_OF_DAY para DT Excluir em uma varivel STRING Tipo de converso de dados DINT para STRING Extraia o DATA de DT Extrair o dia da semana de DT Extraia o TIME_OF_DAY de DT Comparar DT para igual Compare STRING para igual Encontre em uma varivel STRING Comparar DT para maior ou igual Compare STRING para maior ou igual Comparar DT por mais de Compare STRING por mais de Tipo de converso de dados INT para STRING Inserir em uma varivel STRING Comparar DT para menor ou igual Compare STRING para menor ou igual Parte esquerda de uma varivel STRING Comprimento de uma varivel STRING Limite de matemtica de ponto Comparar DT para menor Compare STRING para menor Ponto de Matemtica Select mximo Parte do meio de uma varivel STRING Ponto Math Selecione mnimo Comparar DT de desigual Compare STRING para desigual Converso de tipo de dados reais para STRING Substituir uma varivel STRING Parte direita de uma varivel STRING Tipo de dados converso S5TIME para TEMPO Ponto de Matemtica subtrair dois valores de tempo Ponto de durao Subtrair matemtica a partir de um tempo Seleo Binary Math ponto Tipo STRING converso de dados para DINT Converso de dados tipo STRING para INT Tipo de converso de dados STRING para REAL De dados em tempo de converso de tipo para S5TIME Controle Contnuo Passo Controle Pulso Generation Controlador de Temperatura contnua Controlador Passo temperatura

Para a verificao de propriedades do dispositivo L os dados de uma rea de dados do parceiro de comunicao especificado por um nome ou ndice dependendo da atribuio de parmetros para o trabalho. Permite a transmisso de variveis no confirmado por um servidor FMS. permite que as informaes de status para ser solicitada a partir do parceiro de comunicao na conexo FMS especificado. Transferncias de dados a partir de uma rea de dados local especificado para a rea de dados sobre o parceiro de comunicao. Sending descoordenada de Dados Recebimento descoordenada de Dados Envio de dados segmentadas Receber dados segmentados Ler dados de um CPU remoto Gravar dados em um CPU remoto Leia todas as entradas de um Escravo / PROFINET Padro dispositivo IO DP Escreva todas as sadas de um escravo / PROFINET Padro dispositivo IO DP Leia uma parte das entradas de um escravo / PROFINET Padro dispositivo IO DP Escrever uma parte das sadas de um escravo / PROFINET Padro dispositivo IO DP Transfere um bloco de dados de configurao (CONF_DB), contendo os dados de conexo para uma CP Ethernet. Envio de dados via TCP nativa e ISO em TCP Recebendo dados via TCP nativa e ISO em TCP Estabelecendo uma conexo usando TCP nativa e ISO em TCP Encerrando uma conexo usando TCP nativa e ISO em TCP Envio de dados via UDP Recebendo dados via UDP transfere os dados para o PROFIBUS CP recebe dados no Profibus usado para solicitar informao de diagnstico transfere o controle empregos para a CP PROFIBUS os dados por meio de uma ligao configurado para o parceiro de comunicao (<= 240 bytes). dados por meio de uma conexo configurada a partir do parceiro de comunicao (<= 240 bytes, no e-mail). o acesso a dados externos por meio de buscar / ESCREVER (no para UDP, e-mail). o acesso a dados externos por meio de buscar / ESCREVER (no para UDP, e-mail).

permite diagnosticar conexes. Quando necessrio, voc pode reinicializar o estabelecimento da conexo com o FC. usado para transferncia de dados nos modos CP controlador PROFINET IO ou dispositivo PROFINET IO. usado para receber dados do CP modos controlador PROFINET IO ou dispositivo PROFINET IO. Estabelecer uma conexo FTP Armazenar um arquivo no servidor FTP Recuperar um arquivo do servidor FTP Excluir um arquivo no servidor FTP Habilitar uma conexo FTP os dados por meio de uma ligao configurado para o parceiro de comunicao. dados por meio de uma conexo configurada a partir do parceiro de comunicao (no-mail). Consultar um status da conexo para S7-300 Lead / lag Algorithm Discreta Temporizador de Controle de Alarme Motor Temporizador de Controle de Alarme ndice Matrix Comparar Digitalizao Matrix Comparar Evento Tambor Maskable Pacote de Dados Temporizador Software On Delay-Retentive Indireta do bloco Movimento Redefinir Faixa de sadas Definir Faixa de sadas Adicionar a Tabela First In / First Out Descarregar Table Localizar Tabela Last In / First Out Descarregar Table Mesa Mova Table to Word Palavra Shift Palavra com a Tabela Bit Shift Register Sete Decoder Segmento ASCII para Hex Hex para ASCII Codificar Binary Posio Decodificar Binary Posio Complemento de dez Soma Nmero de Bits Redefinir Faixa de realizaes imediatas Definir Faixa de realizaes imediatas Desvio Padro Correlacionada Tabela de Dados Mesa em mesa Valores de escala Valores Unscaling

suporta o vero / inverno de transio em CPUs que no tm o estatuto tempo. Para isso, define o clock do processador para o tempo atual e de acordo com as regras de transio do DB Control. suporta o Vero / Inverno mudana em CPUs que tm o status tempo. Para isso, define o estado do tempo para o tempo atual e de acordo com as regras de transio do DB Control. transfere as mensagens de tempo estampado de um IM1532 em seu DB instncia. l o estado do tempo ou durao da CPU e calcula o tempo local. Por isso, til somente em CPUs com status de tempo. calcula o tempo local a partir do tempo de base dada na entrada. calcula o tempo a partir da base de tempo local, tendo na entrada. define a interrupo do tempo necessrio para o tempo predefinido. Este tempo dado em hora local.

SIMATIC_NET_CP

FB

IDENTIFY

CP_300

SIMATIC_NET_CP

FB

READ

CP_300

SIMATIC_NET_CP

FB

REPORT

CP_300

SIMATIC_NET_CP

FB

STATUS

CP_300

SIMATIC_NET_CP Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks

FB FB FB FB FB FB FB FB FB FB

6 8 9 12 13 14 15 20 21

WRITE USEND URCV BSEND BRCV GET PUT GETIO SETIO

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 IO_FUNCT IO_FUNCT

22 GETIO_PART IO_FUNCT

Communication Blocks PID Control Blocks PID Control Blocks PID Control Blocks

FB FB FB FB FB

23 SETIO_PART IO_FUNCT 41 42 43 55 58 59 CONT_C CONT_S PULSEGEN IP_CONFIG TCONT_CP TCONT_S ICONT ICONT ICONT CP_300 CONTROL CONTROL

PID Control Blocks PID Control Blocks

FB FB

Miscellaneous Blocks

FB

60

SET_SW

TIMEFUNC

Miscellaneous Blocks

FB

61

SET_SW_S

TIMEFUNC

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

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

62 63 64 65 66 67 68 80 81 82 83 84 85 86 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 10

TIMESTMP TSEND TRCV TCON TDISCON TUSEND TURCV LEAD_LAG DCAT MCAT IMC SMC DRUM PACK AD_DT_TM DP_SEND CONCAT DP_RECV D_TOD_DT DP_DIAG DELETE DP_CTRL DI_STRNG AG_SEND DT_DATE AG_RECV DT_DAY AG_LOCK DT_TOD AG_UNLOCK EQ_DT EQ_STRNG

TIMEFUNC COMM COMM COMM COMM COMM COMM CONVERT TIMERS TIMERS COMPARE COMPARE TIMERS MOVE IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC CP_300 IEC IEC

SIMATIC_NET_CP IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks SIMATIC_NET_CP IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks IEC Function Blocks SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP

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

10 11 11 12 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

AG_CNTRL FIND PNIO_SEND GE_DT PNIO_RECV GE_STRNG GT_DT GT_STRNG I_STRNG INSERT LE_DT LE_STRNG LEFT LEN LIMIT LT_DT LT_STRNG MAX MID MIN NE_DT NE_STRNG R_STRNG REPLACE RIGHT S5TI_TIM SB_DT_DT SB_DT_TM SEL STRNG_DI STRNG_I STRNG_R TIM_S5TI

CP_300 IEC CP_300 IEC CP_300 IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC IEC CP_300 CP_300 CP_300 CP_300 CP_300

40 FTP_CONNECT 41 FTP_STORE 42 FTP_RETRIEVE 43 FTP_DELETE 44 FTP_QUIT

SIMATIC_NET_CP

FC

50

AG_LSEND

CP_300

SIMATIC_NET_CP

FC

60

AG_LRECV

CP_300

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

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

60 61 61 62 62 62 63 63 64 65 66 67 68 69 70 71 72 73 74 75 78 79 80 80 81 81 82

LOC_TIME GP_FPGP BT_LT GP_GPFP C_CNTRL LT_BT GP_ADD S_LTINT GP_SUB GP_MUL GP_DIV GP_VGL RAD_GP MLD_TG MLD_TGZ MLD_EZW MLD_EDW MLD_SAMW MLD_SAM MLD_EZ MLD_EDWK MLD_EZK MLD_EDK TONR COD_B4 IBLKMOV COD_16

TIMEFUNC S5_CNVRT TIMEFUNC S5_CNVRT CP_300 TIMEFUNC S5_CNVRT TIMEFUNC S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT TIMERS S5_CNVRT MOVE S5_CNVRT

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

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

82 83 83 84 84 85 85 86 86 87 87 88 88 89 89 90 90

RSET MUL_16 SET DIV_16 ATT ADD_32 FIFO SUB_32 TBL_FIND MUL_32 LIFO DIV_32 TBL RAD_16 TBL_WRD REG_SCHB WSR

BIT_LOGC S5_CNVRT BIT_LOGC S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT SHIFT S5_CNVRT TABLE S5_CNVRT SHIFT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT CONVERT S5_CNVRT BIT_LOGC S5_CNVRT BIT_LOGC S5_CNVRT MATH_FP S5_CNVRT TABLE S5_CNVRT TABLE S5_CNVRT CONVERT S5_CNVRT

91 REG_SCHW 91 92 92 93 93 94 94 95 95 96 96 97 97 98 98 99 99 100 100 101 101 102 102 103 103 104 104 105 105 106 WRD_TBL REG_FIFO SHRB REG_LIFO SEG DB_COPY1 ATH DB_COPY2 HTA RETTEN ENCO LADEN DECO COD_B8 BCDCPL COD_32 BITSUM AE_460_1 RSETI AE_460_2 SETI AE_463_1 DEV AE_463_2 CDT AE_464_1 TBL_TBL AE_464_2 SCALE AE_466_1

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

FC FC FC FC

106 107 108 109

UNSCALE AE_466_2 RLG_AA1 RLG_AA2 PER_ET1 PER_ET2 SINUS COSINUS TANGENS COTANG ARCSIN ARCCOS ARCTAN ARCCOT LN_X LG_X B_LOG_X E_H_N ZEHN_H_N A2_H_A1 CTU CTD CTUD TP TON TOF USEND URCV BSEND BRCV GET PUT PRINT START STOP RESUME STATUS USTATUS

CONVERT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC

FC 110 FC 111 FC FC FC FC FC FC FC FC FC FC FC FC FC FC SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB SFB 112 113 114 115 116 117 118 119 120 121 122 123 124 125 0 1 2 3 4 5 8 9 12 13 14 15 16

SFB 19 SFB 20 SFB 21 SFB 22 SFB 23 SFB 29

HS_COUNT COUNTERS

System Function Blocks System Function Blocks System Function Blocks

SFB 30 SFB 31 SFB 32

FREQ_MES COUNTERS NOTIFY_8P COM_FUNC DRUM TIMERS

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

SFB 33 SFB 34 SFB 35 SFB 36 SFB 37 SFB 38 SFB 39 SFB 41 SFB 42 SFB 43 SFB 44 SFB 46 SFB 47 SFB 48 SFB 49 SFB 52 SFB 53 SFB 54 SFB 60 SFB 61 SFB 62 SFB 63 SFB 64 SFB 65 SFB 75 SFB 81 SFC 0 SFC 1 SFC 2 SFC 3 SFC 4 SFC 5

ALARM ALARM_8 ALARM_8P NOTIFY AR_SEND HSC_A_B POS CONT_C CONT_S PULSEGEN ANALOG DIGITAL COUNT FREQUENC PULSE RDREC WRREC RALRM SEND_PTP RECV_PTP RES_RECV SEND_RK FETCH_RK SERVE_RK SALRM RD_DPAR SET_CLK READ_CLK SET_RTM CTRL_RTM READ_RTM GADR_LGC

COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS ICONT ICONT ICONT ICONT TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP DP DP TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP IO_FUNCT CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC IO_FUNCT

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

SFC SFC SFC

6 7 9

RD_SINFO DP_PRAL EN_MSG DIS_MSG DPSYC_FR D_ACT_DP DPNRM_DG DPRD_DAT DPWR_DAT ALARM_SQ ALARM_S ALARM_SC BLKMOV FILL CREAT_DB DEL_DB TEST_DB COMPRESS UPDAT_PI UPDAT_PO SET_TINT CAN_TINT ACT_TINT QRY_TINT SRT_DINT CAN_DINT QRY_DINT MP_ALM MSK_FLT DMSK_FLT READ_ERR DIS_IRT EN_IRT DIS_AIRT EN_AIRT

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

SFC 10 SFC 11 SFC 12 SFC 13 SFC 14 SFC 15 SFC 17 SFC 18 SFC 19 SFC SFC SFC SFC SFC SFC 20 21 22 23 24 25

SFC 26 SFC 27 SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC 28 29 30 31 32 33 34 35 36 37 38

SFC 39 SFC 40 SFC 41 SFC 42

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

SFC 43 SFC 44 SFC 46 SFC 47 SFC 48 SFC 49 SFC 50 SFC 51

RE_TRIGR REPL_VAL STP WAIT SNC_RTCB LGC_GADR RD_LGADR RDSYSST

PGM_CNTL DIAGNSTC PGM_CNTL PGM_CNTL CLK_FUNC IO_FUNCT IO_FUNCT DIAGNSTC

SFC 52 WR_USMSG DIAGNSTC SFC SFC SFC SFC SFC SFC SFC SFC 54 55 56 57 58 59 60 61 RD_PARM IO_FUNCT WR_PARM IO_FUNCT WR_DPARM IO_FUNCT PARM_MOD IO_FUNCT WR_REC IO_FUNCT RD_REC IO_FUNCT GD_SND COM_FUNC GD_RCV COM_FUNC CONTROL AB_CALL TIME_TCK X_SEND X_RCV X_GET X_PUT X_ABORT GEO_LOG LOG_GEO I_GET I_PUT I_ABORT COM_FUNC PLASTICS CLK_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC IO_FUNCT IO_FUNCT COM_FUNC COM_FUNC COM_FUNC

SFC 62 SFC 63 SFC 64 SFC 65 SFC 66 SFC 67 SFC 68 SFC 69 SFC 70 SFC 71 SFC 72 SFC 73 SFC 74

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

SFC SFC SFC SFC

78 79 80 81

OB_RT SET RSET UBLKMOV CREA_DBL READ_DBL WRIT_DBL CREA_DB C_DIAG

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

SFC 82 SFC 83 SFC 84 SFC 85 SFC 87 SFC SFC SFC SFC

90 H_CTRL 100 SET_CLKS 101 RTM 102 RD_DPARA

SFC 103 DP_TOPOL SFC 104 SFC 105 SFC 106 CIR READ_SI DEL_SI

SFC 107 ALARM_DQ SFC 108 SFC 112 SFC 113 SFC 114 SFC 126 SFC 127 ALARM_D PN_IN PN_OUT PN_DP SYNC_PI SYNC_PO

Para a verificao de propriedades do dispositivo L os dados de uma rea de dados do Reads data from a data area of the communication partner parceiro de comunicao especificado por um specified by a name or index depending on the assignment nome ou ndice dependendo da atribuio de of parameters for the job. parmetros para o trabalho. Allows unconfirmed transmission of variables by an FMS Permite a transmisso de variveis no server. confirmado por um servidor FMS. For checking device properties allows status information to be requested from the communications partner on the specified FMS connection. permite que as informaes de status para ser solicitada a partir do parceiro de comunicao na conexo FMS especificado. Transferncias de dados a partir de uma rea de dados local especificado para a rea de dados sobre o parceiro de comunicao. Sending descoordenada de Dados Recebimento descoordenada de Dados Envio de dados segmentadas Receber dados segmentados Ler dados de um CPU remoto Gravar dados em um CPU remoto Leia todas as entradas de um Escravo / PROFINET Padro dispositivo IO DP Escreva todas as sadas de um escravo / PROFINET Padro dispositivo IO DP Leia uma parte das entradas de um escravo / PROFINET Padro dispositivo IO DP

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

Escrever uma parte das sadas de um escravo / PROFINET Padro dispositivo IO DP Continuous Control Controle Contnuo Step Control Passo Controle Pulse Generation Pulso Generation Transfere um bloco de dados de configurao Transfers a configuration data block (CONF_DB) (CONF_DB), contendo os dados de conexo containing connection data for an Ethernet CP. para uma CP Ethernet. Temperature Continuous Controller Controlador de Temperatura contnua Temperature Step Controller Controlador Passo temperatura suporta o vero / inverno de transio em supports the summertime/wintertime changeover in CPUs CPUs que no tm o estatuto tempo. Para that do not have the time status. For this purpose it sets the isso, define o clock do processador para o CPU clock to the current time and according to the tempo atual e de acordo com as regras de changeover rules in the Control DB. transio do DB Control. suporta o Vero / Inverno mudana em CPUs supports the summertime/wintertime changeover in CPUs que tm o status tempo. Para isso, define o that do have the time status. For this purpose it sets the estado do tempo para o tempo atual e de time status to the current time and according to the acordo com as regras de transio do DB changeover rules in the Control DB. Control.

transfere as mensagens de tempo transfers the time-stamped messages of an IM153-2 into its estampado de um IM153-2 em seu DB instance DB. instncia. 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 Envio de dados via TCP nativa e ISO em TCP Recebendo dados via TCP nativa e ISO em TCP Estabelecendo uma conexo usando TCP nativa e ISO em TCP Encerrando uma conexo usando TCP nativa e ISO em TCP Envio de dados via UDP Recebendo dados via UDP Lead / lag Algorithm Discreta Temporizador de Controle de Alarme Motor Temporizador de Controle de Alarme ndice Matrix Comparar Digitalizao Matrix Comparar Evento Tambor Maskable Pacote de Dados Ponto de Matemtica Adicionar durao de uma hora transfere os dados para o PROFIBUS CP Combinar duas variveis String recebe dados no Profibus Combine DATE e TIME_OF_DAY para DT usado para solicitar informao de diagnstico Excluir em uma varivel STRING transfere o controle empregos para a CP PROFIBUS Tipo de converso de dados DINT para STRING os dados por meio de uma ligao configurado para o parceiro de comunicao (<= 240 bytes). Extraia o DATA de DT dados por meio de uma conexo configurada a partir do parceiro de comunicao (<= 240 bytes, no e-mail). Extrair o dia da semana de DT o acesso a dados externos por meio de buscar / ESCREVER (no para UDP, e-mail). Extraia o TIME_OF_DAY de DT o acesso a dados externos por meio de buscar / ESCREVER (no para UDP, e-mail). Comparar DT para igual Compare STRING para igual

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

permite diagnosticar conexes. Quando necessrio, voc pode reinicializar o estabelecimento da conexo com o FC. Encontre em uma varivel STRING usado para transferncia de dados nos modos CP controlador PROFINET IO ou dispositivo PROFINET IO. Comparar DT para maior ou igual usado para receber dados do CP modos controlador PROFINET IO ou dispositivo PROFINET IO. Compare STRING para maior ou igual Comparar DT por mais de Compare STRING por mais de Tipo de converso de dados INT para STRING Inserir em uma varivel STRING Comparar DT para menor ou igual Compare STRING para menor ou igual Parte esquerda de uma varivel STRING Comprimento de uma varivel STRING Limite de matemtica de ponto Comparar DT para menor Compare STRING para menor Ponto de Matemtica Select mximo Parte do meio de uma varivel STRING Ponto Math Selecione mnimo Comparar DT de desigual Compare STRING para desigual Converso de tipo de dados reais para STRING Substituir uma varivel STRING Parte direita de uma varivel STRING Tipo de dados converso S5TIME para TEMPO Ponto de Matemtica subtrair dois valores de tempo Ponto de durao Subtrair matemtica a partir de um tempo Seleo Binary Math ponto Tipo STRING converso de dados para DINT Converso de dados tipo STRING para INT Tipo de converso de dados STRING para REAL De dados em tempo de converso de tipo para S5TIME Estabelecer uma conexo FTP Armazenar um arquivo no servidor FTP Recuperar um arquivo do servidor FTP Excluir um arquivo no servidor FTP Habilitar uma conexo FTP

data by means of a configured connection to the communication partner. data by means of a configured connection from the communication partner (not email).

os dados por meio de uma ligao configurado para o parceiro de comunicao.

dados por meio de uma conexo configurada a partir do parceiro de comunicao (nomail). reads the time status or time of the CPU and calculates the l o estado do tempo ou durao da CPU e local time. It is therefore only useful on CPUs with time calcula o tempo local. Por isso, til somente status. em CPUs com status de tempo. Alterar o nmero de ponto fixo de nmero de Change fixed point number to floating point number ponto flutuante calculates the local time from the base time given at the calcula o tempo local a partir do tempo de input. base dada na entrada. Alterar o nmero de ponto flutuante para Change floating point number to fixed point number nmero de ponto fixo Query a connection status for S7-300 calculates the base time from the local time given at the input. Add floating point numbers Consultar um status da conexo para S7-300

calcula o tempo a partir da base de tempo local, tendo na entrada. Adicionar nmeros de ponto flutuante define a interrupo do tempo necessrio sets the required time interrupt to the preset time. This time para o tempo predefinido. Este tempo dado is given in local time. em hora local. Subtract floating point numbers Subtrair nmeros de ponto flutuante Multiply floating point number Multiplique o nmero de ponto flutuante Divide floating point numbers Dividir nmeros de ponto flutuante Compare floating point numbers Comparar nmeros de ponto flutuante Extract root of floating point numbers Clock generator Clock generator (timing element) Extrato da raiz de nmeros de ponto flutuante

Gerador de clock Gerador de clock (elemento de timing) Mensagem do primeiro valor com nica luz Message of first value with single flashing light, wordwise, A piscando, WordWise, A Message of first value with double flashing light, wordwise, Mensagem do primeiro valor com o dobro luz A intermitente, WordWise, A Mensagem coletado, WordWise (alerta Collected message, wordwise (sound alert) sonoro) Collected message, bitwise Mensagem coletado, bit a bit Mensagem do primeiro valor com nica luz Message of first value with single flashing light, bitwise, A piscando, bit a bit, A Message of first value with double flashing light, wordwise, Mensagem do primeiro valor com o dobro luz A+M intermitente, WordWise, A + M Message of first value with single flashing light, bitwise, Mensagem do primeiro valor com nica luz A+M piscando, bit a bit, A + M Message of first value with double flashing light, bitwise, Mensagem do primeiro valor com o dobro luz A+M intermitente, bit a bit, A + M Software Timer On DelayRetentive Temporizador Software On Delay-Retentive Alterar o nmero BCD de 16 bits dupla Change BCD number to 16 bit dual number nmero Indirect Block Move Indireta do bloco Movimento Change 16 bit dual number to BCD number Mudar de 16 bits nmero de srie dupla BCD

Reset Range of Outputs Multiply 16 bit dual numbers Set Range of Outputs Divide 16 bit dual numbers Add to Table Add 32 bit dual numbers First In/First Out Unload Table Subtract 32 bit dual numbers Table Find Multiply 32 bit dual numbers Last In/First Out Unload Table Divide 32 bit dual numbers Table Extract roots of 16 bit dual numbers Move Table to Word Bi-directional shift register, bitwise Word Shift Register Bi-directional shift register, wordwise Word to Table Buffer memory (FIFO) Bit Shift Register Stack register (LIFO) Seven Segment Decoder Copy data block, direct assignment of parameters ASCII to Hex Copy data block, indirect assignment of parameterization Hex to ASCII Save scratchpad memory Encode Binary Position Load scratchpad memory Decode Binary Position Change BCD number to 32 bit dual number Tens Complement Change 32 bit dual number to BCD number Sum Number of Bits Read analog value Reset Range of Immediate Outputs Read analog value Set Range of Immediate Outputs Read analog value Standard Deviation Read analog value Correlated Data Table Read analog value Table to Table Read analog value Scaling Values Read analog value

Redefinir Faixa de sadas Multiplique 16 bits nmeros dupla Definir Faixa de sadas Divida 16 bits nmeros dupla Adicionar a Tabela Adicionar nmeros de 32 bits dupla First In / First Out Descarregar Table Subtrair dois nmeros de 32 bits Localizar Tabela Multiplique 32 bits nmeros dupla Last In / First Out Descarregar Table Divida 32 bits nmeros dupla Mesa Extrair razes de 16 bit nmeros duplos Mova Table to Word Bi-direcional mudana de registro, bit a bit Palavra Shift Bi-direcional mudana de registo, WordWise Palavra com a Tabela Memria buffer (FIFO) Bit Shift Register Stack registo (LIFO) Sete Decoder Segmento Bloco de dados de cpia, a atribuio direta dos parmetros ASCII para Hex Bloco de dados cpia, cesso indireta de parametrizao Hex para ASCII Economizar memria de rascunho Codificar Binary Posio Carregar a memria de rascunho Decodificar Binary Posio Alterar o nmero BCD de 32 bits dupla nmero Complemento de dez Mudar de 32 bits nmero dual nmero BCD Soma Nmero de Bits Leia o valor analgico Redefinir Faixa de realizaes imediatas Leia o valor analgico Definir Faixa de realizaes imediatas Leia o valor analgico Desvio Padro Leia o valor analgico Correlacionada Tabela de Dados Leia o valor analgico Mesa em mesa Leia o valor analgico Valores de escala Leia o valor analgico

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

Valores Unscaling Leia o valor analgico Valor da sada analgica Valor da sada analgica Ler e Escrever para a periferia estendida (atribuio direta de parmetros) Ler e Escrever para a periferia estendida (atribuio indireta de parmetros) Sine (x) Co-seno (x) Tangente (x) Cotangent (x) Arco seno (x) Arco co-seno (x) Arco tangente (x) Arco cotangens (x) Logaritmo natural ln (x) Dcada IOG logaritmo (x) IOG logaritmo Geral (x) a base b e ao poder de n 10 para a potncia de n AKKU 2 elevado potncia de um AKKU Conte Up Count Down Conte para cima / baixo Gerar um pulso Gerar um atraso na Gerar um Delay Off Sending descoordenada de Dados Recebimento descoordenada de Dados Envio de dados segmentadas Receber dados segmentados Ler dados de um CPU remoto Gravar dados em um CPU remoto Enviar dados para a impressora Iniciar uma morna ou fria Restart em um dispositivo remoto Mudando um dispositivo remoto para o estado de parada Iniciar um Hot Restart em um dispositivo remoto Consultar o status de um parceiro remoto Receba o status de um dispositivo remoto Contador (contador de alta velocidade, funo integrada) (s existem no 312 CPU IFM e CPU 314 IFM) Medidor de freqncia (medidor de freqncia, funo integrada (s existem no 312 CPU IFM e CPU 314 IFM) Gerando mensagens relacionadas bloco sem indicao reconhecimento Implementar um 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)

Gerar mensagens de bloco relacionadas com Display Reconhecimento Gerar Mensagens Block-relacionadas, sem valores para 8 Sinais Gerar mensagens de bloco relacionadas com valores para 8 Sinais Gerar Mensagens Block-relacionadas, sem exibio Reconhecimento Enviar Arquivo de Dados Contador A / B (funo integrada) (s existem na CPU 314 IFM) Posio (funo integrada) (s existem na CPU 314 IFM) Controle Contnuo (s existem na CPU 314 Continuous Control (only exist on the CPU 314 IFM) IFM) Controle de Passo (s existem na CPU 314 Step Control (only exist on the CPU 314 IFM) IFM) Pulso Generation (s existem na CPU 314 Pulse Generation (only exist on the CPU 314 IFM) IFM) Positioning with Analog Output (only exist on the S7-300C Posicionamento com Sada Analgica (s CPUs) existem no S7-300C CPUs) Positioning with Digital Output (only exist on the S7-300C Posicionamento com sada Digital (s CPUs) existem no S7-300C CPUs) Controlar o Contador (s existem no S7-300C Controlling the Counter (only exist on the S7-300C CPUs) CPUs) Controlling the Frequency Measurement (only exist on the Controlar a medio de frequncia (s S7-300C CPUs) existem no S7-300C CPUs) Controlling Pulse Width Modulation (only exist on the S7Controlar Modulao por Largura de Pulso 300C CPUs) (s existem no S7-300C CPUs) Reading a Data Record Lendo um registro de dados Writing a Data Record Escrevendo um registro de dados Receiving an Interrupt Receber uma interrupo Sending Data (ASCII, 3964(R)) (only exist on the S7-300C O envio de dados (ASCII, 3964 (R)) (apenas CPUs) existem na S7-300C CPUs) Receiving Data (ASCII, 3964(R)) (only exist on the S7Recebendo dados (ASCII, 3964 (R)) (s 300C CPUs) existem no S7-300C CPUs) Deleting the Receive Buffer (ASCII, 3964(R)) (only exist on Eliminar o buffer de recepo (ASCII, 3964 the S7-300C CPUs) (R)) (s existem no S7-300C CPUs) Envio de dados (RK 512) (s existem no S7Sending Data (RK 512) (only exist on the S7-300C CPUs) 300C CPUs) Buscando dados (RK 512) (s existem no S7Fetching Data (RK 512) (only exist on the S7-300C CPUs) 300C CPUs) Receiving and Providing Data (RK 512) (only exist on the Recebimento e fornecimento de dados (RK S7-300C CPUs) 512) (s existem no S7-300C CPUs) Send interrupt to DP master Enviar interromper a mestre DP Read Predefined Parameter Leia parmetro predefinido, Set System Clock Conjunto Relgio do Sistema Read System Clock Leia o Relgio do Sistema Set Run-time Meter Definir Meter Run-time Start/Stop Run-time Meter Start / Stop Meter Run-time Read Run-time Meter Leia Meter Run-time Query Logical Address of a Channel Consulta Lgico Endereo de um Canal

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

Leia OB Iniciar Informao Provocar uma interrupo de hardware na DP Mestre Ativar mensagens de status do bloco-Related, Symbol-relacionadas e Grupo Mensagens de status desativar Blockrelacionados, Symbol-relacionadas e Grupo Sincronizar Grupos de DP Slaves Desativao e ativao de escravos DP Ler dados de diagnstico de um escravo DP (Diagnstico Escravo) Ler dados consistentes de um escravo DP Padro Escrever dados consistentes para a DP Slave Padro Gerar reconhecvel Mensagens Blockrelacionadas Gerar permanentemente Reconhecido Mensagens Block-relacionadas Consultar o estado de reconhecimento do ALARM_SQ ltima Entrando Estado Mensagem Variveis cpia Inicializar uma rea de memria Criar Bloco de dados Excluir Bloco de Dados Teste Bloco de dados Comprima a Memria do Usurio Atualize o Processo Tabela de atualizao da imagem Atualize o Processo Tabela Imagem de Sada Definir Time-of-Day Interrupo Cancelar Time-of-Day Interrupo Ative Time-of-Day Interrupo Consulta de Interrupo Time-of-Day Comece Time-Delay Interrupo Cancelar Time-Delay Interrupo Consulta de Interrupo Time-Delay Gatilho Multicomputing Interrupo Mascarar erros sncronos Desmascarar erros sncronos Leia Erro Register Desativar Novas interrupes e erros assncronos Permitir novas interrupes e erros assncronos Atraso Superior interrupes de prioridade e erros assncronos Permitir uma maior interrupes de prioridade e erros assncronos

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)

Re-trigger Tempo de Ciclo de Monitoramento Transferncia de valor substituto para um acumulador Altere a CPU para STOP Atrasar a execuo do programa do usurio Sincronizar os relgios Escravo Consultar ranhura do mdulo Pertencer a um endereo lgico Consultar todos os endereos lgicos de um mdulo Leia uma lista de status do sistema ou Lista parcial Escrever um User-Defined evento Diagnstico para o buffer de diagnstico Leia parmetros definidos Escrever parmetros dinmicos Escrever Parmetros padro Atribuir Parmetros para um mdulo Escrever um registro de dados Leia um registro de dados Enviar um pacote GD Buscar um GD pacote recebido Consultar o status de uma conexo Pertencer a um SFB Instncia Comunicao

Assembleia cdigo Block (s existe para CPU 614) Read the System Time Leia a Hora do Sistema Send Data to a Communication Partner outside the Local Enviar dados para um parceiro de S7 Station comunicao fora da Estao S7 local Receive Data from a Communication Partner outside the Receber dados de um parceiro de Local S7 Station comunicao fora da estao S7 local Read Data from a Communication Partner outside the Ler dados de um parceiro de comunicao Local S7 Station fora da estao S7 local Write Data to a Communication Partner outside the Local Gravar dados em um parceiro de S7 Station comunicao fora da Estao S7 local Abortar uma conexo existente com um Abort an Existing Connection to a Communication Partner parceiro de comunicao fora da Estao S7 outside the Local S7 Station local Determine Endereo de partida de um Determine Start Address of a Module mdulo Determine o slot Pertencer a um endereo Determine the Slot Belonging to a Logical Address lgico Read Data from a Communication Partner within the Local Ler dados de um parceiro de comunicao S7 Station dentro da estao S7 local Write Data to a Communication Partner within the Local S7 Gravar dados em um parceiro de Station comunicao dentro da estao S7 local Abortar uma conexo existente com um Abort an Existing Connection to a Communication Partner parceiro de comunicao dentro da estao within the Local S7 Station S7 local

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

Determine OB programa runtime Definir um intervalo de sadas Redefinir um intervalo de Sadas Uninterruptible Bloquear Mover Criar um bloco de dados na memria de carga Leia a partir de um bloco de dados na memria de carga Escrever a partir de um bloco de dados na memria de carga Criar um bloco de dados Diagnstico da Situao Actual Connection

Operao de Controle em Sistemas de H Definir a hora do dia eo Estado TOD Manipulao metros de execuo Redefiniu Parmetros A identificao da topologia de barramento Identifying the bus topology in a DP master system em um sistema de mestre DP Controlling CiR Controlando o CIR Reading Dynamic System Resources Leitura Recursos do Sistema Dinmico Deleting Dynamic System Resources Excluindo recursos do sistema dinmico Generating Always Acknowledgeable and Block-Related Gerando Mensagens sempre reconhecvel e Messages Bloco-Related Generating Always Acknowledgeable and Block-Related Gerando Mensagens sempre reconhecvel e Messages Bloco-Related Update inputs in the user program interface of PROFInet Atualize entradas na interface do programa components do usurio dos componentes PROFINET Update outputs in the user program interface of PROFInet Atualize sadas na interface do programa do components usurio dos componentes PROFINET Update DP interconnections Atualizao DP interconexes Update process image partition input table in synchronous Atualizar a tabela de entrada de partio cycle imagem do processo no ciclo sncrono Update process image partition output table in synchronous Atualizar a tabela de sada partio imagem cycle do processo no ciclo sncrono

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

FC FC FC FC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFB SFB SFB SFB SFB SFB SFB

82 RSET 83 SET 100 RSETI 101 SETI 79 SET 80 RSET 0 SET_CLK 1 READ_CLK 2 SET_RTM 3 CTRL_RTM 4 READ_RTM 48 SNC_RTCB 64 TIME_TCK 100 SET_CLKS 101 RTM 8 USEND 9 URCV 12 BSEND 13 BRCV 14 GET 15 PUT 16 PRINT START STOP RESUME STATUS USTATUS

BIT_LOGC BIT_LOGC BIT_LOGC BIT_LOGC BIT_LOGC BIT_LOGC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC

SFB 19 SFB 20 SFB 21 SFB 22 SFB 23 SFB 31 SFB 33 SFB 34 SFB 35 SFB 36 SFB 37 SFC 9

NOTIFY_8P COM_FUNC ALARM ALARM_8 ALARM_8P NOTIFY AR_SEND EN_MSG DIS_MSG GD_SND GD_RCV CONTROL X_SEND X_RCV COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC

SFC 10 SFC 60 SFC 61 SFC 62 SFC 65 SFC 66

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

SFC 67 SFC 68 SFC 69 SFC 72 SFC 73 SFC 74 SFC 87 FB 63 FB 64 FB FB 65 66

X_GET X_PUT X_ABORT I_GET I_PUT I_ABORT C_DIAG TSEND TRCV TCON TDISCON

COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COMM COMM COMM COMM COMM COMM COMPARE COMPARE CONTROL CONTROL CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT CONVERT

FB 67 TUSEND FB 68 TURCV FB 83 IMC FB 84 SMC FB 58 TCONT_CP FB 59 TCONT_S FB 80 LEAD_LAG FC 93 SEG FC 94 ATH FC 95 HTA FC 96 ENCO FC 97 DECO FC 98 BCDCPL FC 99 BITSUM FC 105 SCALE FC 106 UNSCALE SFB 29

HS_COUNT COUNTERS

System Function Blocks System Function Blocks SIMATIC_NET_CP SIMATIC_NET_CP

SFB 30 SFB 38 FB FB 2 3

FREQ_MES COUNTERS HSC_A_B IDENTIFY READ COUNTERS CP_300 CP_300

SIMATIC_NET_CP

FB

REPORT

CP_300

SIMATIC_NET_CP

FB

STATUS

CP_300

SIMATIC_NET_CP Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks Communication Blocks

FB FB FB FB FB FB FB FB

6 8 9 12 13 14 15 55 1 2 3 4 5 6 7 8 10

WRITE USEND URCV BSEND BRCV GET PUT IP_CONFIG DP_SEND DP_RECV DP_DIAG DP_CTRL AG_SEND AG_RECV AG_LOCK AG_UNLOCK AG_CNTRL

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300

Communication Blocks Communication Blocks Communication Blocks Communication Blocks SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP

FC FC FC FC FC FC FC FC FC

SIMATIC_NET_CP

FC

11

PNIO_SEND

CP_300

SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP SIMATIC_NET_CP Communication Blocks System Function Blocks System Function Blocks

FC FC FC FC FC FC FC FC

12

PNIO_RECV

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 DB_CTRL DB_CTRL

40 FTP_CONNECT 41 FTP_STORE 42 FTP_RETRIEVE 43 FTP_DELETE 44 FTP_QUIT 50 60 AG_LSEND AG_LRECV C_CNTRL CREA_DBL READ_DBL

FC 62 SFC 82 SFC 83

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

SFC 84 SFC SFC SFC SFC SFC SFC 6 22 23 24 25 85

WRIT_DBL RD_SINFO CREAT_DB DEL_DB TEST_DB COMPRESS CREA_DB DPNRM_DG MSK_FLT DMSK_FLT READ_ERR REPL_VAL RDSYSST

DB_CTRL DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC DIAGNSTC

SFC 13 SFC 36 SFC 37 SFC 38 SFC 44 SFC 51

SFC 52 WR_USMSG DIAGNSTC SFC SFB SFB SFB SFB SFC 78 52 53 54 75 7 OB_RT RDREC WRREC RALRM SALRM DP_PRAL DPSYC_FR D_ACT_DP DPRD_DAT DPWR_DAT DIAGNSTC DP DP DP DP DP DP DP DP DP DP HF_FUNCT ICONT ICONT ICONT ICONT ICONT ICONT ICONT IEC IEC IEC IEC IEC IEC IEC

SFC 11 SFC 12 SFC 14 SFC 15

SFC 103 DP_TOPOL SFC FB FB FB 90 41 42 43 H_CTRL CONT_C CONT_S PULSEGEN POS CONT_C CONT_S PULSEGEN AD_DT_TM CONCAT D_TOD_DT DELETE DI_STRNG DT_DATE DT_DAY

SFB 39 SFB 41 SFB 42 SFB 43 FC FC FC FC FC FC FC 1 2 3 4 5 6 7

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

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

8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 0 1 2 3 4 5 20 21

DT_TOD EQ_DT EQ_STRNG FIND GE_DT GE_STRNG GT_DT GT_STRNG I_STRNG INSERT LE_DT LE_STRNG LEFT LEN LIMIT LT_DT LT_STRNG MAX MID MIN NE_DT NE_STRNG R_STRNG REPLACE RIGHT S5TI_TIM SB_DT_DT SB_DT_TM SEL STRNG_DI STRNG_I STRNG_R TIM_S5TI CTU CTD CTUD TP TON TOF GETIO SETIO

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

22 GETIO_PART IO_FUNCT 23 SETIO_PART IO_FUNCT RD_DPAR GADR_LGC IO_FUNCT IO_FUNCT

SFB 81 SFC 5

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

SFC 26 SFC 27 SFC 49 SFC 50 SFC SFC SFC SFC SFC SFC SFC 54 55 56 57 58 59 70

UPDAT_PI UPDAT_PO LGC_GADR RD_LGADR RD_PARM WR_PARM WR_DPARM PARM_MOD WR_REC RD_REC GEO_LOG LOG_GEO

IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IO_FUNCT IRT_FUNC IRT_FUNC IRT_FUNC IRT_FUNC MATH_FP MOVE MOVE MOVE MOVE MOVE PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PLASTICS PMC_FUNC

SFC 71

SFC 102 RD_DPARA SFC 126 SFC 127 SFC 39 SFC 40 SFC 41 SFC 42 FC FB FC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC SFC 102 86 81 20 21 81 28 29 30 31 32 33 34 35 43 46 47 104 SYNC_PI SYNC_PO DIS_IRT EN_IRT DIS_AIRT EN_AIRT DEV PACK IBLKMOV BLKMOV FILL UBLKMOV SET_TINT CAN_TINT ACT_TINT QRY_TINT SRT_DINT CAN_DINT QRY_DINT MP_ALM RE_TRIGR STP WAIT CIR AB_CALL ALARM_SQ

SFC 63 SFC 17

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

SFC 18 SFC 19 SFC 105 SFC 106

ALARM_S ALARM_SC READ_SI DEL_SI

PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PMC_FUNC PROFIne2 PROFIne2 PROFIne2 S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT

SFC 107 ALARM_DQ SFC 108 SFC 112 SFC 113 SFC 114 FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 78 79 80 ALARM_D PN_IN PN_OUT PN_DP GP_FPGP GP_GPFP GP_ADD GP_SUB GP_MUL GP_DIV GP_VGL RAD_GP MLD_TG MLD_TGZ MLD_EZW MLD_EDW MLD_SAMW MLD_SAM MLD_EZ MLD_EDWK MLD_EZK MLD_EDK

81 COD_B4 82 COD_16 83 MUL_16 84 DIV_16 85 ADD_32 86 SUB_32 87 MUL_32 88 DIV_32 89 RAD_16 90 REG_SCHB 91 REG_SCHW

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

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

92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109

REG_FIFO REG_LIFO DB_COPY1 DB_COPY2 RETTEN LADEN COD_B8 COD_32 AE_460_1 AE_460_2 AE_463_1 AE_463_2 AE_464_1 AE_464_2 AE_466_1 AE_466_2 RLG_AA1 RLG_AA2 PER_ET1 PER_ET2 SINUS COSINUS TANGENS COTANG ARCSIN ARCCOS ARCTAN ARCCOT LN_X LG_X B_LOG_X E_H_N ZEHN_H_N A2_H_A1 WSR SHRB ATT FIFO TBL_FIND LIFO TBL TBL_WRD WRD_TBL CDT TBL_TBL ANALOG

S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT SHIFT SHIFT TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TABLE TEC_FUNC

FC 110 FC 111 FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC FC 112 113 114 115 116 117 118 119 120 121 122 123 124 125 90 92 84 85 86 87 88 89 91 103 104

SFB 44

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

SFB 46 SFB 47 SFB 48 SFB 49 SFB 60 SFB 61 SFB 62 SFB 63 SFB 64 SFB 65

DIGITAL COUNT FREQUENC PULSE SEND_PTP RECV_PTP RES_RECV SEND_RK FETCH_RK SERVE_RK

TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC

Miscellaneous Blocks

FB

60

SET_SW

TIMEFUNC

Miscellaneous Blocks

FB

61

SET_SW_S

TIMEFUNC

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

FB FC FC FC FC FB FB FB FC SFB

62 60 61 62 63 81 82 85 80 32

TIMESTMP LOC_TIME BT_LT LT_BT S_LTINT DCAT MCAT DRUM TONR DRUM

TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMEFUNC TIMERS TIMERS TIMERS TIMERS TIMERS

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

Redefinir Faixa de sadas Definir Faixa de sadas Redefinir Faixa de realizaes imediatas Definir Faixa de realizaes imediatas Definir um intervalo de sadas Redefinir um intervalo de Sadas Conjunto Relgio do Sistema Leia o Relgio do Sistema Definir Meter Run-time Start / Stop Meter Run-time Leia Meter Run-time Sincronizar os relgios Escravo Leia a Hora do Sistema Definir a hora do dia eo Estado TOD Manipulao metros de execuo Sending descoordenada de Dados Recebimento descoordenada de Dados Envio de dados segmentadas Receber dados segmentados Ler dados de um CPU remoto Gravar dados em um CPU remoto Enviar dados para a impressora Iniciar uma morna ou fria Restart em um dispositivo remoto Mudando um dispositivo remoto para o estado de parada Iniciar um Hot Restart em um dispositivo remoto Consultar o status de um parceiro remoto Receba o status de um dispositivo remoto Gerando mensagens relacionadas bloco sem indicao reconhecimento Gerar mensagens de bloco relacionadas com Display Reconhecimento Gerar Mensagens Block-relacionadas, sem valores para 8 Sinais Gerar mensagens de bloco relacionadas com valores para 8 Sinais Gerar Mensagens Block-relacionadas, sem exibio Reconhecimento Enviar Arquivo de Dados Ativar mensagens de status do bloco-Related, Symbolrelacionadas e Grupo Mensagens de status desativar Block-relacionados, Symbol-relacionadas e Grupo Enviar um pacote GD Buscar um GD pacote recebido Consultar o status de uma conexo Pertencer a um SFB Instncia Comunicao Enviar dados para um parceiro de comunicao fora da Estao S7 local Receber dados de um parceiro de comunicao fora da estao S7 local

Read Data from a Communication Partner outside the Local S7 Station Write Data to a Communication Partner outside the Local S7 Station

Ler dados de um parceiro de comunicao fora da estao S7 local Gravar dados em um parceiro de comunicao fora da Estao S7 local

Abort an Existing Connection to a Communication Abortar uma conexo existente com um parceiro de Partner outside the Local S7 Station comunicao fora da Estao S7 local Read Data from a Communication Partner within the Local S7 Station Write Data to a Communication Partner within the Local S7 Station Ler dados de um parceiro de comunicao dentro da estao S7 local Gravar dados em um parceiro de comunicao dentro da estao S7 local

Abort an Existing Connection to a Communication Abortar uma conexo existente com um parceiro de Partner within the Local S7 Station comunicao dentro da estao S7 local Diagnosis of the Actual Connection Status Sending Data via TCP native and ISO on TCP Receiving Data via TCP native and ISO on TCP Establishing a Connection using TCP native and ISO on TCP Terminating a Connection using TCP native and ISO on TCP Sending Data via UDP Receiving Data via UDP Index Matrix Compare Scan Matrix Compare Temperature Continuous Controller Temperature Step Controller Lead/Lag Algorithm Seven Segment Decoder ASCII to Hex Hex to ASCII Encode Binary Position Decode Binary Position Tens Complement Sum Number of Bits Scaling Values Unscaling Values Counter (high-speed counter, integrated function) (only exist on the CPU 312 IFM and CPU 314 IFM) Frequency Meter (frequency meter, integrated function (only exist on the CPU 312 IFM and CPU 314 IFM) Counter A/B (integrated function) (only exist on the CPU 314 IFM) For checking device properties Reads data from a data area of the communication partner specified by a name or index depending on the assignment of parameters for the job. Allows unconfirmed transmission of variables by an FMS server. Diagnstico da Situao Actual Connection Envio de dados via TCP nativa e ISO em TCP Recebendo dados via TCP nativa e ISO em TCP Estabelecendo uma conexo usando TCP nativa e ISO em TCP Encerrando uma conexo usando TCP nativa e ISO em TCP Envio de dados via UDP Recebendo dados via UDP ndice Matrix Comparar Digitalizao Matrix Comparar Controlador de Temperatura contnua Controlador Passo temperatura Lead / lag Algorithm Sete Decoder Segmento ASCII para Hex Hex para ASCII Codificar Binary Posio Decodificar Binary Posio Complemento de dez Soma Nmero de Bits Valores de escala Valores Unscaling Contador (contador de alta velocidade, funo integrada) (s existem no 312 CPU IFM e CPU 314 IFM) Medidor de freqncia (medidor de freqncia, funo integrada (s existem no 312 CPU IFM e CPU 314 IFM) Contador A / B (funo integrada) (s existem na CPU 314 IFM) Para a verificao de propriedades do dispositivo L os dados de uma rea de dados do parceiro de comunicao especificado por um nome ou ndice dependendo da atribuio de parmetros para o trabalho. Permite a transmisso de variveis no confirmado por um servidor FMS.

allows status information to be requested from the permite que as informaes de status para ser communications partner on the specified FMS solicitada a partir do parceiro de comunicao na connection. conexo FMS especificado. Transferncias de dados a partir de uma rea de Transfers data from a specified local data area to dados local especificado para a rea de dados sobre o a data area on the communication partner. parceiro de comunicao. Uncoordinated Sending of Data Sending descoordenada de Dados Uncoordinated Receiving of Data Recebimento descoordenada de Dados Sending Segmented Data Envio de dados segmentadas Receiving Segmented Data Receber dados segmentados Read Data from a Remote CPU Ler dados de um CPU remoto Write Data to a Remote CPU Gravar dados em um CPU remoto Transfere um bloco de dados de configurao Transfers a configuration data block (CONF_DB) (CONF_DB), contendo os dados de conexo para uma containing connection data for an Ethernet CP. CP Ethernet. transfers data to the PROFIBUS CP transfere os dados para o PROFIBUS CP receives data on PROFIBUS recebe dados no Profibus used to request diagnostic information usado para solicitar informao de diagnstico transfers control jobs to the PROFIBUS CP data by means of a configured connection to the communication partner (<= 240 bytes). transfere o controle empregos para a CP PROFIBUS

os dados por meio de uma ligao configurado para o parceiro de comunicao (<= 240 bytes). dados por meio de uma conexo configurada a partir data by means of a configured connection from the do parceiro de comunicao (<= 240 bytes, no ecommunication partner (<= 240 bytes, not email). mail). the external data access by means of o acesso a dados externos por meio de buscar / FETCH/WRITE (not for UDP, email). ESCREVER (no para UDP, e-mail). the external data access by means of o acesso a dados externos por meio de buscar / FETCH/WRITE (not for UDP, email). ESCREVER (no para UDP, e-mail). allows you to diagnose connections. When permite diagnosticar conexes. Quando necessrio, necessary, you can reinitialize connection voc pode reinicializar o estabelecimento da conexo establishment using the FC. com o FC. usado para transferncia de dados nos modos CP used for data transfer in the CP modes PROFINET controlador PROFINET IO ou dispositivo PROFINET IO controller or PROFINET IO device. IO. used to receive data in the CP modes PROFINET usado para receber dados do CP modos controlador IO controller or PROFINET IO device. PROFINET IO ou dispositivo PROFINET IO. 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 Estabelecer uma conexo FTP Armazenar um arquivo no servidor FTP Recuperar um arquivo do servidor FTP Excluir um arquivo no servidor FTP Habilitar uma conexo FTP os dados por meio de uma ligao configurado para o parceiro de comunicao. dados por meio de uma conexo configurada a partir do parceiro de comunicao (no-mail). Consultar um status da conexo para S7-300 Criar um bloco de dados na memria de carga Leia a partir de um bloco de dados na memria de carga

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)

Escrever a partir de um bloco de dados na memria de carga Leia OB Iniciar Informao Criar Bloco de dados Excluir Bloco de Dados Teste Bloco de dados Comprima a Memria do Usurio Criar um bloco de dados Ler dados de diagnstico de um escravo DP (Diagnstico Escravo) Mascarar erros sncronos Desmascarar erros sncronos Leia Erro Register Transferncia de valor substituto para um acumulador Leia uma lista de status do sistema ou Lista parcial Escrever um User-Defined evento Diagnstico para o buffer de diagnstico Determine OB programa runtime Lendo um registro de dados Escrevendo um registro de dados Receber uma interrupo Enviar interromper a mestre DP Provocar uma interrupo de hardware na DP Mestre Sincronizar Grupos de DP Slaves Desativao e ativao de escravos DP Ler dados consistentes de um escravo DP Padro Escrever dados consistentes para a DP Slave Padro A identificao da topologia de barramento em um sistema de mestre DP Operao de Controle em Sistemas de H Controle Contnuo Passo Controle Pulso Generation Posio (funo integrada) (s existem na CPU 314 IFM) Controle Contnuo (s existem na CPU 314 IFM) Controle de Passo (s existem na CPU 314 IFM)

Pulse Generation (only exist on the CPU 314 IFM) Pulso Generation (s existem na 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 Ponto de Matemtica Adicionar durao de uma hora Combinar duas variveis String Combine DATE e TIME_OF_DAY para DT Excluir em uma varivel STRING Tipo de converso de dados DINT para STRING Extraia o DATA de DT Extrair o dia da semana de 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

Extraia o TIME_OF_DAY de DT Comparar DT para igual Compare STRING para igual Encontre em uma varivel STRING Comparar DT para maior ou igual Compare STRING para maior ou igual Comparar DT por mais de Compare STRING por mais de Tipo de converso de dados INT para STRING Inserir em uma varivel STRING Comparar DT para menor ou igual Compare STRING para menor ou igual Parte esquerda de uma varivel STRING Comprimento de uma varivel STRING Limite de matemtica de ponto Comparar DT para menor Compare STRING para menor Ponto de Matemtica Select mximo Parte do meio de uma varivel STRING Ponto Math Selecione mnimo Comparar DT de desigual Compare STRING para desigual Converso de tipo de dados reais para STRING Substituir uma varivel STRING Parte direita de uma varivel STRING Tipo de dados converso S5TIME para TEMPO Ponto de Matemtica subtrair dois valores de tempo Ponto de durao Subtrair matemtica a partir de um tempo Seleo Binary Math ponto Tipo STRING converso de dados para DINT Converso de dados tipo STRING para INT Tipo de converso de dados STRING para REAL De dados em tempo de converso de tipo para S5TIME Conte Up Count Down Conte para cima / baixo Gerar um pulso Gerar um atraso na Gerar um Delay Off Leia todas as entradas de um Escravo / PROFINET Padro dispositivo IO DP Escreva todas as sadas de um escravo / PROFINET Padro dispositivo IO DP Leia uma parte das entradas de um escravo / PROFINET Padro dispositivo IO DP Escrever uma parte das sadas de um escravo / PROFINET Padro dispositivo IO DP Leia parmetro predefinido, Consulta Lgico Endereo de um Canal

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

Atualize o Processo Tabela de atualizao da imagem Atualize o Processo Tabela Imagem de Sada Consultar ranhura do mdulo Pertencer a um endereo lgico Consultar todos os endereos lgicos de um mdulo Leia parmetros definidos Escrever parmetros dinmicos Escrever Parmetros padro Atribuir Parmetros para um mdulo Escrever um registro de dados Leia um registro de dados Determine Endereo de partida de um mdulo

Determine the Slot Belonging to a Logical Address Determine o slot Pertencer a um endereo lgico 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 Redefiniu Parmetros Atualizar a tabela de entrada de partio imagem do processo no ciclo sncrono Atualizar a tabela de sada partio imagem do processo no ciclo sncrono Desativar Novas interrupes e erros assncronos Permitir novas interrupes e erros assncronos Atraso Superior interrupes de prioridade e erros assncronos Permitir uma maior interrupes de prioridade e erros assncronos Desvio Padro Pacote de Dados Indireta do bloco Movimento Variveis cpia Inicializar uma rea de memria Uninterruptible Bloquear Mover Definir Time-of-Day Interrupo Cancelar Time-of-Day Interrupo Ative Time-of-Day Interrupo Consulta de Interrupo Time-of-Day Comece Time-Delay Interrupo Cancelar Time-Delay Interrupo Consulta de Interrupo Time-Delay Gatilho Multicomputing Interrupo Re-trigger Tempo de Ciclo de Monitoramento Altere a CPU para STOP Atrasar a execuo do programa do usurio Controlando o CIR Assembleia cdigo Block (s existe para CPU 614) Gerar reconhecvel Mensagens Block-relacionadas

Generate Permanently Acknowledged BlockRelated 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 BlockRelated Messages Generating Always Acknowledgeable and BlockRelated 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

Gerar permanentemente Reconhecido Mensagens Block-relacionadas Consultar o estado de reconhecimento do ALARM_SQ ltima Entrando Estado Mensagem Leitura Recursos do Sistema Dinmico Excluindo recursos do sistema dinmico Gerando Mensagens sempre reconhecvel e BlocoRelated Gerando Mensagens sempre reconhecvel e BlocoRelated Atualize entradas na interface do programa do usurio dos componentes PROFINET Atualize sadas na interface do programa do usurio dos componentes PROFINET Atualizao DP interconexes Alterar o nmero de ponto fixo de nmero de ponto flutuante Alterar o nmero de ponto flutuante para nmero de ponto fixo Adicionar nmeros de ponto flutuante Subtrair nmeros de ponto flutuante Multiplique o nmero de ponto flutuante Dividir nmeros de ponto flutuante Comparar nmeros de ponto flutuante Extrato da raiz de nmeros de ponto flutuante Gerador de clock Gerador de clock (elemento de timing) Mensagem do primeiro valor com nica luz piscando, WordWise, A Mensagem do primeiro valor com o dobro luz intermitente, WordWise, A Mensagem coletado, WordWise (alerta sonoro) Mensagem coletado, bit a bit Mensagem do primeiro valor com nica luz piscando, bit a bit, A Mensagem do primeiro valor com o dobro luz intermitente, WordWise, A + M Mensagem do primeiro valor com nica luz piscando, bit a bit, A + M Mensagem do primeiro valor com o dobro luz intermitente, bit a bit, A + M Alterar o nmero BCD de 16 bits dupla nmero Mudar de 16 bits nmero de srie dupla BCD Multiplique 16 bits nmeros dupla Divida 16 bits nmeros dupla Adicionar nmeros de 32 bits dupla Subtrair dois nmeros de 32 bits Multiplique 32 bits nmeros dupla Divida 32 bits nmeros dupla Extrair razes de 16 bit nmeros duplos Bi-direcional mudana de registro, bit a bit Bi-direcional mudana de registo, WordWise

Buffer memory (FIFO) Stack register (LIFO)

Memria buffer (FIFO) Stack registo (LIFO) Bloco de dados de cpia, a atribuio direta dos Copy data block, direct assignment of parameters parmetros Copy data block, indirect assignment of Bloco de dados cpia, cesso indireta de parameterization parametrizao Save scratchpad memory Economizar memria de rascunho Load scratchpad memory Carregar a memria de rascunho Change BCD number to 32 bit dual number Alterar o nmero BCD de 32 bits dupla nmero Change 32 bit dual number to BCD number Mudar de 32 bits nmero dual nmero BCD Read analog value Leia o valor analgico Read analog value Leia o valor analgico Read analog value Leia o valor analgico Read analog value Leia o valor analgico Read analog value Leia o valor analgico Read analog value Leia o valor analgico Read analog value Leia o valor analgico Read analog value Leia o valor analgico Output analog value Valor da sada analgica Output analog value Valor da sada analgica Read and Write for extended periphery (direct Ler e Escrever para a periferia estendida (atribuio assignment of parameters) direta de parmetros) Read and Write for extended periphery (indirect Ler e Escrever para a periferia estendida (atribuio assignment of parameters) indireta de parmetros) Sine (x) Sine (x) Cosine (x) Co-seno (x) Tangent (x) Tangente (x) Cotangent (x) Cotangent (x) Arc sine (x) Arco seno (x) Arc cosine (x) Arco co-seno (x) Arc tangent (x) Arco tangente (x) Arc cotangens (x) Arco cotangens (x) Natural logarithm ln (x) Logaritmo natural ln (x) Decade logarithm Iog (x) Dcada IOG logaritmo (x) General logarithm Iog (x) to basis b IOG logaritmo Geral (x) a base b e to the power of n e ao poder de n 10 to the power of n 10 para a potncia de n AKKU 2 to the power of AKKU 1 AKKU 2 elevado potncia de um AKKU Word Shift Register Palavra Shift Bit Shift Register Bit Shift Register Add to Table Adicionar a Tabela First In/First Out Unload Table First In / First Out Descarregar Table Table Find Localizar Tabela Last In/First Out Unload Table Last In / First Out Descarregar Table Table Mesa Move Table to Word Mova Table to Word Word to Table Palavra com a Tabela Correlated Data Table Correlacionada Tabela de Dados Table to Table Mesa em mesa Positioning with Analog Output (only exist on the Posicionamento com Sada Analgica (s existem no S7-300C CPUs) S7-300C CPUs)

Positioning with Digital Output (only exist on the S7- Posicionamento com sada Digital (s existem no S7300C CPUs) 300C CPUs) Controlling the Counter (only exist on the S7-300C Controlar o Contador (s existem no S7-300C CPUs) CPUs) Controlling the Frequency Measurement (only exist Controlar a medio de frequncia (s existem no S7on the S7-300C CPUs) 300C CPUs) Controlling Pulse Width Modulation (only exist on Controlar Modulao por Largura de Pulso (s existem the S7-300C CPUs) no S7-300C CPUs) Sending Data (ASCII, 3964(R)) (only exist on the O envio de dados (ASCII, 3964 (R)) (apenas existem S7-300C CPUs) na S7-300C CPUs) Receiving Data (ASCII, 3964(R)) (only exist on the Recebendo dados (ASCII, 3964 (R)) (s existem no S7S7-300C CPUs) 300C CPUs) Deleting the Receive Buffer (ASCII, 3964(R)) (only Eliminar o buffer de recepo (ASCII, 3964 (R)) (s exist on the S7-300C CPUs) existem no S7-300C CPUs) Sending Data (RK 512) (only exist on the S7-300C Envio de dados (RK 512) (s existem no S7-300C CPUs) CPUs) Fetching Data (RK 512) (only exist on the S7-300C Buscando dados (RK 512) (s existem no S7-300C CPUs) CPUs) Receiving and Providing Data (RK 512) (only exist Recebimento e fornecimento de dados (RK 512) (s on the S7-300C CPUs) existem no S7-300C CPUs) supports the summertime/wintertime changeover suporta o vero / inverno de transio em CPUs que in CPUs that do not have the time status. For this no tm o estatuto tempo. Para isso, define o clock do purpose it sets the CPU clock to the current time processador para o tempo atual e de acordo com as and according to the changeover rules in the regras de transio do DB Control. Control DB. supports the summertime/wintertime changeover suporta o Vero / Inverno mudana em CPUs que tm in CPUs that do have the time status. For this o status tempo. Para isso, define o estado do tempo purpose it sets the time status to the current time para o tempo atual e de acordo com as regras de and according to the changeover rules in the transio do DB Control. Control DB. transfers the time-stamped messages of an IM153- transfere as mensagens de tempo estampado de um 2 into its instance DB. IM153-2 em seu DB instncia. reads the time status or time of the CPU and l o estado do tempo ou durao da CPU e calcula o calculates the local time. It is therefore only useful tempo local. Por isso, til somente em CPUs com on CPUs with time status. status de tempo. calculates the local time from the base time given calcula o tempo local a partir do tempo de base dada at the input. na entrada. calculates the base time from the local time given calcula o tempo a partir da base de tempo local, tendo at the input. na entrada. sets the required time interrupt to the preset time. This time is given in local time. Discrete Control Alarm Timer Motor Control Alarm Timer Event Maskable Drum Software Timer On DelayRetentive Implement a Sequencer define a interrupo do tempo necessrio para o tempo predefinido. Este tempo dado em hora local. Discreta Temporizador de Controle de Alarme Motor Temporizador de Controle de Alarme Evento Tambor Maskable Temporizador Software On Delay-Retentive Implementar um Sequencer

Bloco de Organizao

Classe de Prioridade Fixa

Tipo de Interrupo

OB

Block for Cyclic

Organization Block for Cyclic Program Processing (OB1)

Varredura do programa principal

OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB OB

10 11 12 13 14 15 16 17 20 21 22 23 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59

Time-ofDay Interrupt

Time-of-Day Interrupt Interrupes de Organization Blocks datas (OB10 to OB17) programadas

Time-Delay Interrupt

Cyclic Interrupt

Hardware Interrupt

3 4 5 6 7 8 9 10 11 12 13 14 15 16 16 18 19 20 21 22 23

Time-Delay Interrupt Organization Blocks (OB20 to OB23)

Interrupes de tempo condicional a partir do SFC32.

Cyclic Interrupt Organization Blocks (OB30 to OB38)

Interrupes cclicas programadas

Hardware Interrupt Organization Blocks (OB40 to OB47)

Interrupes de Hardware

OB OB OB OB OB OB OB OB OB OB OB

60 61 62 63 64 65 66 67 68 69 70

Descrio

funcionamento da OB1

O sistema operacional da CPU S7 executa OB1 periodicamente. Quando OB1 tenha sido executado, o sistema operacional inicia-lo novamente. Execuo cclica de OB1 iniciado aps a inicializao foi concluda. Voc pode ligar para outros blocos de funo (FBS, SFBs) ou funes (FCs, SFCs) em OB1.

OB1 tem a prioridade mais baixa de todos os OBs cujos tempos de execuo so monitorizados, por outras palavras, todos os outros excepto OBs OB90 pode interromper a execuo de OB1. Os seguintes eventos que o sistema operacional para chamar OB1:

Notas

Quando OB1 tenha sido executada, o sistema operacional envia dados globais. Antes de reiniciar OB1, o sistema operativo escreve tabela de sada do processo de imagem para os mdulos de sada, actualizaes de entrada da tabela do processo de imagem e recebe os dados globais para a CPU. S7 monitora o tempo mximo de verificao, garantindo um tempo de resposta mximo. O valor para o tempo mximo de verificao est predefinido para 150 ms. Voc pode definir um novo valor ou voc pode reiniciar o monitoramento de hora em qualquer lugar dentro de seu programa com SFC43 "RE_TRIGR". Se o seu programa exceder o tempo mximo de ciclo para OB1, o sistema operacional chama OB80 (horrio de erro OB); se OB80 no est programada, a CPU muda para o modo STOP. Alm de controlar o tempo mximo de verificao, tambm possvel garantir um tempo de varrimento. O sistema operativo vai atrasar o incio de um novo ciclo (escrita de mesa de sada de imagem do processo para os mdulos de

Dados locais para OB1 Varivel OB1_EV_CLASS OB1_SCAN_1 Tipo BYTE BYTE Descrio classe Event e identificadores: B # 16 # 11: OB1 ativo B # 16 # 01: a concluso de um reincio quentes B # 16 # 02: a concluso de um reincio quentes . B # 16 # 03: a concluso do principal ciclo B # 16 # 04: realizao de uma reinicializao a frio B # 16 # 05: primeiro ciclo OB1 do novo CPU mestre aps mestre-reserva de passagem e paragem do mestre anterior

Siemens S7 System Function Calls


SFC 0 SFC 1 SFC 2 SFC 3 SFC 4 SFC 5 SFC 6 SFC 7 SFC 9 SFC 10 SFC 11 SFC 12 SFC 13 SFC 14 SFC 15 SFC 17 SFC 18 SFC 19 SFC 20 SFC 21 SFC 22 SFC 23 SFC 24 SFC 25 SFC 26 SFC 27 SFC 28 SFC 29 SFC 30 SFC 31 SFC 32 SFC 33 SFC 34 SFC 35 SFC 36 SFC 37 SFC 38 SFC 39 SFC 40 SFC 41 SFC 42 SFC 43 SFC 44 SFC 46 SFC 47 SFC 48 SFC 49 SET_CLK READ_CLK SET_RTM CTRL_RTM READ_RTM GADR_LGC RD_SINFO DP_PRAL EN_MSG DIS_MSG CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC CLK_FUNC IO_FUNCT DB_FUNCT DP COM_FUNC COM_FUNC Set System Clock Read System Clock Set Run-time Meter Start/Stop Run-time Meter Read Run-time Meter Query Logical Address of a Channel Read OB Start Information Trigger a Hardware Interrupt on the DP Master Enable Block-Related, Symbol-Related and Group Status Messages 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

DPSYC_FR DP D_ACT_DP DP DPNRM_DG DIAGNSTC DPRD_DAT DP DPWR_DAT DP ALARM_SQ PMC_FUNC ALARM_S PMC_FUNC

ALARM_SC PMC_FUNC BLKMOV FILL CREAT_DB DEL_DB TEST_DB COMPRESS UPDAT_PI UPDAT_PO SET_TINT CAN_TINT ACT_TINT QRY_TINT SRT_DINT CAN_DINT QRY_DINT MP_ALM MSK_FLT DMSK_FLT READ_ERR DIS_IRT EN_IRT DIS_AIRT EN_AIRT MOVE MOVE DB_FUNCT DB_FUNCT DB_FUNCT DB_FUNCT IO_FUNCT IO_FUNCT PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL PGM_CNTL DIAGNSTC DIAGNSTC DIAGNSTC IRT_FUNC IRT_FUNC IRT_FUNC

IRT_FUNC Enable Higher Priority Interrupts and Asynchronous Errors

RE_TRIGR PGM_CNTL Re-trigger Cycle Time Monitoring REPL_VAL DIAGNSTC Transfer Substitute Value to Accumulator 1 STP PGM_CNTL Change the CPU to STOP WAIT PGM_CNTL Delay Execution of the User Program SNC_RTCB CLK_FUNC Synchronize Slave Clocks LGC_GADR IO_FUNCT Query the Module Slot Belonging to a Logical Address

- 73 -

Siemens S7 System Function Calls


SFC 50 SFC 51 RD_LGADR RDSYSST IO_FUNCT Query all Logical Addresses of a Module DIAGNSTC Read a System Status List or Partial List Write a User-Defined Diagnostic Event to the Diagnostic DIAGNSTC Buffer IO_FUNCT Read Defined Parameters IO_FUNCT Write Dynamic Parameters IO_FUNCT Write Default Parameters IO_FUNCT Assign Parameters to a Module IO_FUNCT Write a Data Record IO_FUNCT Read a Data Record COM_FUNC Send a GD Packet COM_FUNC Fetch a Received GD Packet Query the Status of a Connection Belonging to a COM_FUNC Communication SFB Instance PLASTICS Assembly Code Block (only exists for CPU 614) CLK_FUNC Read the System Time Send Data to a Communication Partner outside the Local S7 COM_FUNC Station Receive Data from a Communication Partner outside the COM_FUNC Local S7 Station Read Data from a Communication Partner outside the Local COM_FUNC S7 Station Write Data to a Communication Partner outside the Local S7 COM_FUNC Station Abort an Existing Connection to a Communication Partner COM_FUNC outside the Local S7 Station IO_FUNCT Determine Start Address of a Module IO_FUNCT Determine the Slot Belonging to a Logical Address Read Data from a Communication Partner within the Local COM_FUNC S7 Station Write Data to a Communication Partner within the Local S7 COM_FUNC Station Abort an Existing Connection to a Communication Partner COM_FUNC within the Local S7 Station DIAGNSTC Determine OB program runtime BIT_LOGC Set a Range of Outputs BIT_LOGC Reset a Range of Outputs MOVE Uninterruptible Block Move DB_CTRL Create a Data Block in the Load Memory DB_CTRL Read from a Data Block in Load Memory DB_CTRL Write from a Data Block in Load Memory DB_FUNCT Create a Data Block COM_FUNC Diagnosis of the Actual Connection Status HF_FUNCT Control Operation in H Systems CLK_FUNC Setting the Time-of-Day and the TOD Status CLK_FUNC Handling runtime meters IO_FUNCT Redefined Parameters DP Identifying the bus topology in a DP master system

SFC 52 WR_USMSG SFC 54 RD_PARM SFC 55 WR_PARM SFC 56 WR_DPARM SFC 57 PARM_MOD SFC 58 WR_REC SFC 59 RD_REC SFC 60 GD_SND SFC 61 GD_RCV SFC 62 SFC 63 SFC 64 SFC 65 SFC 66 SFC 67 SFC 68 SFC 69 SFC 70 SFC 71 SFC 72 SFC 73 SFC 74 CONTROL AB_CALL TIME_TCK X_SEND X_RCV X_GET X_PUT X_ABORT GEO_LOG LOG_GEO I_GET I_PUT I_ABORT

SFC 78 OB_RT SFC 79 SET SFC 80 RSET SFC 81 UBLKMOV SFC 82 CREA_DBL SFC 83 READ_DBL SFC 84 WRIT_DBL SFC 85 CREA_DB SFC 87 C_DIAG SFC 90 H_CTRL SFC 100 SET_CLKS SFC 101 RTM SFC 102 RD_DPARA SFC 103 DP_TOPOL SFC 104 SFC 105 SFC 106 CIR READ_SI DEL_SI

PGM_CNTL Controlling CiR PMC_FUNC Reading Dynamic System Resources PMC_FUNC Deleting Dynamic System Resources

- 74 -

Siemens S7 System Function Calls


SFC 107 ALARM_DQ PMC_FUNC SFC 108 SFC 112 SFC 113 SFC 114 SFC 126 SFC 127 ALARM_D PN_IN PN_OUT PN_DP SYNC_PI SYNC_PO PMC_FUNC PROFIne2 PROFIne2 PROFIne2 IO_FUNCT IO_FUNCT 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

- 75 -

Siemens S7 System Function Calls


Conjunto Relgio do Sistema Leia o Relgio do Sistema Definir Meter Run-time Start / Stop Meter Run-time Leia Meter Run-time Consulta Lgico Endereo de um Canal Leia OB Iniciar Informao Provocar uma interrupo de hardware na DP Mestre Ativar mensagens de status do bloco-Related, Symbol-relacionadas e Grupo Mensagens de status desativar Block-relacionados, Symbolrelacionadas e Grupo Sincronizar Grupos de DP Slaves Desativao e ativao de escravos DP Ler dados de diagnstico de um escravo DP (Diagnstico Escravo) Ler dados consistentes de um escravo DP Padro Escrever dados consistentes para a DP Slave Padro Gerar reconhecvel Mensagens Block-relacionadas Gerar permanentemente Reconhecido Mensagens Block-relacionadas Consultar o estado de reconhecimento do ALARM_SQ ltima Entrando Estado Mensagem Variveis cpia Inicializar uma rea de memria Criar Bloco de dados Excluir Bloco de Dados Teste Bloco de dados Comprima a Memria do Usurio Atualize o Processo Tabela de atualizao da imagem Atualize o Processo Tabela Imagem de Sada Definir Time-of-Day Interrupo Cancelar Time-of-Day Interrupo Ative Time-of-Day Interrupo Consulta de Interrupo Time-of-Day Comece Time-Delay Interrupo Cancelar Time-Delay Interrupo Consulta de Interrupo Time-Delay Gatilho Multicomputing Interrupo Mascarar erros sncronos Desmascarar erros sncronos Leia Erro Register Desativar Novas interrupes e erros assncronos Permitir novas interrupes e erros assncronos Atraso Superior interrupes de prioridade e erros assncronos Permitir uma maior interrupes de prioridade e erros assncronos Re-trigger Tempo de Ciclo de Monitoramento Transferncia de valor substituto para um acumulador Altere a CPU para STOP Atrasar a execuo do programa do usurio Sincronizar os relgios Escravo Consultar ranhura do mdulo Pertencer a um endereo lgico

- 76 -

Siemens S7 System Function Calls


Consultar todos os endereos lgicos de um mdulo Leia uma lista de status do sistema ou Lista parcial Escrever um User-Defined evento Diagnstico para o buffer de diagnstico Leia parmetros definidos Escrever parmetros dinmicos Escrever Parmetros padro Atribuir Parmetros para um mdulo Escrever um registro de dados Leia um registro de dados Enviar um pacote GD Buscar um GD pacote recebido Consultar o status de uma conexo Pertencer a um SFB Instncia Comunicao Assembleia cdigo Block (s existe para CPU 614) Leia a Hora do Sistema Enviar dados para um parceiro de comunicao fora da Estao S7 local Receber dados de um parceiro de comunicao fora da estao S7 local Ler dados de um parceiro de comunicao fora da estao S7 local Gravar dados em um parceiro de comunicao fora da Estao S7 local Abortar uma conexo existente com um parceiro de comunicao fora da Estao S7 local Determine Endereo de partida de um mdulo Determine o slot Pertencer a um endereo lgico Ler dados de um parceiro de comunicao dentro da estao S7 local Gravar dados em um parceiro de comunicao dentro da estao S7 local Abortar uma conexo existente com um parceiro de comunicao dentro da estao S7 local Determine OB programa runtime Definir um intervalo de sadas Redefinir um intervalo de Sadas Uninterruptible Bloquear Mover Criar um bloco de dados na memria de carga Leia a partir de um bloco de dados na memria de carga Escrever a partir de um bloco de dados na memria de carga Criar um bloco de dados Diagnstico da Situao Actual Connection Operao de Controle em Sistemas de H Definir a hora do dia eo Estado TOD Manipulao metros de execuo Redefiniu Parmetros A identificao da topologia de barramento em um sistema de mestre DP Controlando o CIR Leitura Recursos do Sistema Dinmico Excluindo recursos do sistema dinmico

- 77 -

Siemens S7 System Function Calls


Gerando Mensagens sempre reconhecvel e Bloco-Related Gerando Mensagens sempre reconhecvel e Bloco-Related Atualize entradas na interface do programa do usurio dos componentes PROFINET Atualize sadas na interface do programa do usurio dos componentes PROFINET Atualizao DP interconexes Atualizar a tabela de entrada de partio imagem do processo no ciclo sncrono Atualizar a tabela de sada partio imagem do processo no ciclo sncrono

- 78 -

Siemens S7 System Function Blocks


SFB 0 SFB 1 SFB 2 SFB 3 SFB 4 SFB 5 SFB 8 SFB 9 SFB 12 SFB 13 SFB 14 SFB 15 SFB 16 SFB 19 SFB 20 SFB 21 SFB 22 SFB 23 SFB 29 SFB 30 SFB 31 SFB 32 SFB 33 SFB 34 SFB 35 SFB 36 SFB 37 SFB 38 SFB 39 SFB 41 SFB 42 SFB 43 SFB 44 SFB 46 SFB 47 CTU CTD CTUD TP TON TOF USEND URCV BSEND BRCV GET PUT PRINT START STOP RESUME STATUS USTATUS HS_COUNT FREQ_MES NOTIFY_8P DRUM ALARM ALARM_8 ALARM_8P NOTIFY AR_SEND HSC_A_B POS CONT_C CONT_S PULSEGEN ANALOG DIGITAL COUNT IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC IEC_TC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS COUNTERS COM_FUNC TIMERS COM_FUNC COM_FUNC COM_FUNC COM_FUNC COM_FUNC COUNTERS ICONT ICONT ICONT ICONT TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP DP

SFB 48 FREQUENC SFB 49 SFB 52 SFB 53 PULSE RDREC WRREC

Siemens S7 System Function Blocks


SFB 54 SFB 60 SFB 61 SFB 62 SFB 63 SFB 64 SFB 65 SFB 75 SFB 81 RALRM SEND_PTP RECV_PTP RES_RECV SEND_RK FETCH_RK SERVE_RK SALRM RD_DPAR DP TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC TEC_FUNC DP 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

Siemens S7 System Function Blocks


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

Siemens S7 System Function Blocks


Conte Up Count Down Conte para cima / baixo Gerar um pulso Gerar um atraso na Gerar um Delay Off Sending descoordenada de Dados Recebimento descoordenada de Dados Envio de dados segmentadas Receber dados segmentados Ler dados de um CPU remoto Gravar dados em um CPU remoto Enviar dados para a impressora Iniciar uma morna ou fria Restart em um dispositivo remoto Mudando um dispositivo remoto para o estado de parada Iniciar um Hot Restart em um dispositivo remoto Consultar o status de um parceiro remoto Receba o status de um dispositivo remoto Contador (contador de alta velocidade, funo integrada) (s existem no 312 CPU IFM e CPU 314 IFM) Medidor de freqncia (medidor de freqncia, funo integrada (s existem no 312 CPU IFM e CPU 314 IFM) Gerando mensagens relacionadas bloco sem indicao reconhecimento Implementar um Sequencer Gerar mensagens de bloco relacionadas com Display Reconhecimento Gerar Mensagens Block-relacionadas, sem valores para 8 Sinais Gerar mensagens de bloco relacionadas com valores para 8 Sinais Gerar Mensagens Block-relacionadas, sem exibio Reconhecimento Enviar Arquivo de Dados Contador A / B (funo integrada) (s existem na CPU 314 IFM) Posio (funo integrada) (s existem na CPU 314 IFM) Controle Contnuo (s existem na CPU 314 IFM) Controle de Passo (s existem na CPU 314 IFM) Pulso Generation (s existem na CPU 314 IFM) Posicionamento com Sada Analgica (s existem no S7300C CPUs) Posicionamento com sada Digital (s existem no S7-300C CPUs) Controlar o Contador (s existem no S7-300C CPUs) Controlar a medio de frequncia (s existem no S7-300C CPUs) Controlar Modulao por Largura de Pulso (s existem no S7300C CPUs) Lendo um registro de dados Escrevendo um registro de dados

Siemens S7 System Function Blocks


Receber uma interrupo O envio de dados (ASCII, 3964 (R)) (apenas existem na S7300C CPUs) Recebendo dados (ASCII, 3964 (R)) (s existem no S7-300C CPUs) Eliminar o buffer de recepo (ASCII, 3964 (R)) (s existem no S7-300C CPUs) Envio de dados (RK 512) (s existem no S7-300C CPUs) Buscando dados (RK 512) (s existem no S7-300C CPUs) Recebimento e fornecimento de dados (RK 512) (s existem no S7-300C CPUs) Enviar interromper a mestre DP Leia parmetro predefinido,

Siemens S7 S5-S7 Converting Blocks


FC 61 FC 62 FC 63 FC 64 FC 65 FC 66 FC 67 FC 68 FC 69 FC 70 FC 71 FC 72 FC 73 FC 74 FC 75 FC 78 FC 79 FC 80 FC 81 FC 82 FC 83 FC 84 FC 85 FC 86 FC 87 FC 88 FC 89 FC 90 FC 91 FC 92 FC 93 FC 94 FC 95 FC 96 FC 97 FC 98 FC 99 FC 100 FC 101 FC 102 FC 103 FC 104 GP_FPGP GP_GPFP GP_ADD GP_SUB GP_MUL GP_DIV GP_VGL RAD_GP MLD_TG MLD_TGZ MLD_EZW MLD_EDW MLD_SAMW MLD_SAM MLD_EZ MLD_EDWK MLD_EZK MLD_EDK COD_B4 COD_16 MUL_16 DIV_16 ADD_32 SUB_32 MUL_32 DIV_32 RAD_16 REG_SCHB REG_SCHW REG_FIFO REG_LIFO DB_COPY1 DB_COPY2 RETTEN LADEN COD_B8 COD_32 AE_460_1 AE_460_2 AE_463_1 AE_463_2 AE_464_1 S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT

Siemens S7 S5-S7 Converting Blocks


FC 105 FC 106 FC 107 FC 108 FC 109 FC 110 FC 111 FC 112 FC 113 FC 114 FC 115 FC 116 FC 117 FC 118 FC 119 FC 120 FC 121 FC 122 FC 123 FC 124 FC 125 AE_464_2 AE_466_1 AE_466_2 RLG_AA1 RLG_AA2 PER_ET1 PER_ET2 SINUS COSINUS TANGENS COTANG ARCSIN ARCCOS ARCTAN ARCCOT LN_X LG_X B_LOG_X E_H_N ZEHN_H_N A2_H_A1 S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT S5_CNVRT

Siemens S7 S5-S7 Converting Blocks


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

Siemens S7 S5-S7 Converting Blocks


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

Siemens S7 S5-S7 Converting Blocks


Alterar o nmero de ponto fixo de nmero de ponto flutuante Alterar o nmero de ponto flutuante para nmero de ponto fixo Adicionar nmeros de ponto flutuante Subtrair nmeros de ponto flutuante Multiplique o nmero de ponto flutuante Dividir nmeros de ponto flutuante Comparar nmeros de ponto flutuante Extrato da raiz de nmeros de ponto flutuante Gerador de clock Gerador de clock (elemento de timing) Mensagem do primeiro valor com nica luz piscando, WordWise, A Mensagem do primeiro valor com o dobro luz intermitente, WordWise, A Mensagem coletado, WordWise (alerta sonoro) Mensagem coletado, bit a bit Mensagem do primeiro valor com nica luz piscando, bit a bit, A Mensagem do primeiro valor com o dobro luz intermitente, WordWise, A + M Mensagem do primeiro valor com nica luz piscando, bit a bit, A + M Mensagem do primeiro valor com o dobro luz intermitente, bit a bit, A + M Alterar o nmero BCD de 16 bits dupla nmero Mudar de 16 bits nmero de srie dupla BCD Multiplique 16 bits nmeros dupla Divida 16 bits nmeros dupla Adicionar nmeros de 32 bits dupla Subtrair dois nmeros de 32 bits Multiplique 32 bits nmeros dupla Divida 32 bits nmeros dupla Extrair razes de 16 bit nmeros duplos Bi-direcional mudana de registro, bit a bit Bi-direcional mudana de registo, WordWise Memria buffer (FIFO) Stack registo (LIFO) Bloco de dados de cpia, a atribuio direta dos parmetros Bloco de dados cpia, cesso indireta de parametrizao Economizar memria de rascunho Carregar a memria de rascunho Alterar o nmero BCD de 32 bits dupla nmero Mudar de 32 bits nmero dual nmero BCD Leia o valor analgico Leia o valor analgico Leia o valor analgico Leia o valor analgico Leia o valor analgico

Siemens S7 S5-S7 Converting Blocks


Leia o valor analgico Leia o valor analgico Leia o valor analgico Valor da sada analgica Valor da sada analgica Ler e Escrever para a periferia estendida (atribuio direta de parmetros) Ler e Escrever para a periferia estendida (atribuio indireta de parmetros) Sine (x) Co-seno (x) Tangente (x) Cotangent (x) Arco seno (x) Arco co-seno (x) Arco tangente (x) Arco cotangens (x) Logaritmo natural ln (x) Dcada IOG logaritmo (x) IOG logaritmo Geral (x) a base b e ao poder de n 10 para a potncia de n AKKU 2 elevado potncia de um AKKU

Siemens S7 IEC Blocks


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

Siemens S7 IEC Blocks


Ponto de Matemtica Adicionar durao de uma hora Combinar duas variveis String Combine DATE e TIME_OF_DAY para DT Excluir em uma varivel STRING Tipo de converso de dados DINT para STRING Extraia o DATA de DT Extrair o dia da semana de DT Extraia o TIME_OF_DAY de DT Comparar DT para igual Compare STRING para igual Encontre em uma varivel STRING Comparar DT para maior ou igual Compare STRING para maior ou igual Comparar DT por mais de Compare STRING por mais de Tipo de converso de dados INT para STRING Inserir em uma varivel STRING Comparar DT para menor ou igual Compare STRING para menor ou igual Parte esquerda de uma varivel STRING Comprimento de uma varivel STRING Limite de matemtica de ponto Comparar DT para menor Compare STRING para menor Ponto de Matemtica Select mximo Parte do meio de uma varivel STRING Ponto Math Selecione mnimo Comparar DT de desigual Compare STRING para desigual Converso de tipo de dados reais para STRING Substituir uma varivel STRING Parte direita de uma varivel STRING Tipo de dados converso S5TIME para TEMPO Ponto de Matemtica subtrair dois valores de tempo Ponto de durao Subtrair matemtica a partir de um tempo Seleo Binary Math ponto Tipo STRING converso de dados para DINT Converso de dados tipo STRING para INT Tipo de converso de dados STRING para REAL De dados em tempo de converso de tipo para S5TIME

Siemens S7 PID Control Blocks


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

Siemens S7 PID Control Blocks


Controle contnuo passo Controle pulso Generation Controlador de Temperatura contnua Controlador Passo temperatura

Siemens S7 Communication Blocks


FB 2 IDENTIFY CP_300 For checking device properties Reads data from a data area of the communication partner specified by a name or index depending on the assignment of parameters for the job. Allows unconfirmed transmission of variables by an FMS server. allows status information to be requested from the communications partner on the specified FMS connection. Transfers data from a specified local data area to a data area on the communication partner. Uncoordinated Sending of Data Uncoordinated Receiving of Data Sending Segmented Data Receiving Segmented Data Read Data from a Remote CPU Write Data to a Remote CPU

FB 3

READ

CP_300

FB 4 FB 5

REPORT STATUS

CP_300 CP_300

FB 6 FB 8 FB 9 FB 12 FB 13 FB 14 FB 15 FB 20 FB 21 FB 22 FB 23

WRITE USEND URCV BSEND BRCV GET PUT GETIO SETIO GETIO_PART SETIO_PART

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300

IO_FUNCT Read All Inputs of a DP Standard Slave/PROFINET IO Device IO_FUNCT Write All Outputs of a DP Standard Slave/PROFINET IO Device IO_FUNCT Read a Part of the Inputs of a DP Standard Slave/PROFINET IO Device IO_FUNCT 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).

FB 55 FB 63 FB 64 FB 65 FB 66 FB 67 FB 68 FC 1 FC 2 FC 3 FC 4 FC 5

IP_CONFIG TSEND TRCV TCON TDISCON TUSEND TURCV DP_SEND DP_RECV DP_DIAG DP_CTRL AG_SEND

CP_300 COMM COMM COMM COMM COMM COMM CP_300 CP_300 CP_300 CP_300 CP_300

Siemens S7 Communication Blocks


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

FC 6 FC 7 FC 8 FC 10

AG_RECV AG_LOCK AG_UNLOCK AG_CNTRL

CP_300 CP_300 CP_300 CP_300

FC 11

PNIO_SEND

CP_300

FC 12

PNIO_RECV

CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300 CP_300

FC 40 FTP_CONNECT FC 41 FTP_STORE FC 42 FTP_RETRIEVE FC 43 FTP_DELETE FC 44 FTP_QUIT FC 50 FC 60 FC 62 AG_LSEND AG_LRECV C_CNTRL

Siemens S7 Communication Blocks


Para a verificao de propriedades do dispositivo L os dados de uma rea de dados do parceiro de comunicao especificado por um nome ou ndice dependendo da atribuio de parmetros para o trabalho. Permite a transmisso de variveis no confirmado por um servidor FMS. permite que as informaes de status para ser solicitada a partir do parceiro de comunicao na conexo FMS especificado. Transferncias de dados a partir de uma rea de dados local especificado para a rea de dados sobre o parceiro de comunicao. Sending descoordenada de Dados Recebimento descoordenada de Dados Envio de dados segmentadas Receber dados segmentados Ler dados de um CPU remoto Gravar dados em um CPU remoto Leia todas as entradas de um Escravo / PROFINET Padro dispositivo IO DP Escreva todas as sadas de um escravo / PROFINET Padro dispositivo IO DP Leia uma parte das entradas de um escravo / PROFINET Padro dispositivo IO DP Escrever uma parte das sadas de um escravo / PROFINET Padro dispositivo IO DP Transfere um bloco de dados de configurao (CONF_DB), contendo os dados de conexo para uma CP Ethernet. Envio de dados via TCP nativa e ISO em TCP Recebendo dados via TCP nativa e ISO em TCP Estabelecendo uma conexo usando TCP nativa e ISO em TCP Encerrando uma conexo usando TCP nativa e ISO em TCP Envio de dados via UDP Recebendo dados via UDP transfere os dados para o PROFIBUS CP recebe dados no Profibus usado para solicitar informao de diagnstico transfere o controle empregos para a CP PROFIBUS os dados por meio de uma ligao configurado para o parceiro de comunicao (<= 240 bytes).

Siemens S7 Communication Blocks


dados por meio de uma conexo configurada a partir do parceiro de comunicao (<= 240 bytes, no e-mail). o acesso a dados externos por meio de buscar / ESCREVER (no para UDP, e-mail). o acesso a dados externos por meio de buscar / ESCREVER (no para UDP, e-mail). permite diagnosticar conexes. Quando necessrio, voc pode reinicializar o estabelecimento da conexo com o FC. usado para transferncia de dados nos modos CP controlador PROFINET IO ou dispositivo PROFINET IO. usado para receber dados do CP modos controlador PROFINET IO ou dispositivo PROFINET IO. Estabelecer uma conexo FTP Armazenar um arquivo no servidor FTP Recuperar um arquivo do servidor FTP Excluir um arquivo no servidor FTP Habilitar uma conexo FTP os dados por meio de uma ligao configurado para o parceiro de comunicao. dados por meio de uma conexo configurada a partir do parceiro de comunicao (no-mail). Consultar um status da conexo para S7-300

Siemens TI-S7 Converting Blocks


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

Siemens TI-S7 Converting Blocks


Lead / lag Algorithm Discreta Temporizador de Controle de Alarme Motor Temporizador de Controle de Alarme ndice Matrix Comparar Digitalizao Matrix Comparar Evento Tambor Maskable Pacote de Dados Temporizador Software On Delay-Retentive Indireta do bloco Movimento Redefinir Faixa de sadas Definir Faixa de sadas Adicionar a Tabela First In / First Out Descarregar Table Localizar Tabela Last In / First Out Descarregar Table mesa Mova Table to Word Palavra Shift Palavra com a Tabela Bit Shift Register Sete Decoder Segmento ASCII para Hex Hex para ASCII Codificar Binary Posio Decodificar Binary Posio Complemento de dez Soma Nmero de Bits Redefinir Faixa de realizaes imediatas Definir Faixa de realizaes imediatas Desvio padro Correlacionada Tabela de Dados Mesa em mesa valores de escala Valores Unscaling

Siemens S7 Misc Blocks


supports the summertime/wintertime changeover in CPUs that do not TIMEFUNC 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.

FB 60

SET_SW

supports the summertime/wintertime changeover in CPUs that do have FB 61 SET_SW_S TIMEFUNC 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 FB 62 TIMESTMP TIMEFUNC DB. FC 60 LOC_TIME TIMEFUNC FC 61 FC 62 FC 63 BT_LT LT_BT S_LTINT reads the time status or time of the CPU and calculates the local time. It is therefore only useful on CPUs with time status.

TIMEFUNC calculates the local time from the base time given at the input. TIMEFUNC calculates the base time from the local time given at the input. TIMEFUNC sets the required time interrupt to the preset time. This time is given in local time.

Siemens S7 Misc Blocks


suporta o vero / inverno de transio em CPUs que no tm o estatuto tempo. Para isso, define o clock do processador para o tempo atual e de acordo com as regras de transio do DB Control. suporta o Vero / Inverno mudana em CPUs que tm o status tempo. Para isso, define o estado do tempo para o tempo atual e de acordo com as regras de transio do DB Control. transfere as mensagens de tempo estampado de um IM153-2 em seu DB instncia. l o estado do tempo ou durao da CPU e calcula o tempo local. Por isso, til somente em CPUs com status de tempo. calcula o tempo local a partir do tempo de base dada na entrada. calcula o tempo a partir da base de tempo local, tendo na entrada. define a interrupo do tempo necessrio para o tempo predefinido. Este tempo dado em hora local.

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. O tipo de ligao dependente da sub-rede e o protocolo de transferncia, atravs da qual a ligao estabelecida, e na automao da famlia ao qual pertencem os parceiros de ligao. The blocks (SFBs, FBs, or FCs) you can use depend on the connection type. Os blocos (SFBs, corpos estranhos, ou FCS) que voc pode usar depende do tipo de conexo. The following table should make it easier for you to select the connection type for the connection you want to establish. A tabela a seguir deve tornar mais fcil para voc selecionar o tipo de conexo para a conexo que voc deseja estabelecer. Connection Type S7 connection Subnet Type MPI, PROFIBUS, Industrial Ethernet Connection between SIMATIC... S7 - S7, S7 - PG/PC, S7 - PG/PC with WinCC with MPI also: M7 - M7, M7 - S7, M7 - PG/PC S7 - partner in another project (S7, PG/PC with WinCC) S7(H) - S7(H), S7(H) - PC station (H) S7 - S7, S7 - S5, S7 - non-Siemens device S7 - partner in another project (S7, no Siemens device) S7 - S7, S7 - S5, S7 - PG/PC, S7 - no Siemens device, S7 - broadcast to all nodes S7 - partner in another project (S7, S5, PG/PC, no Siemens device) FDL connection PROFIBUS (FDL protocol) S7 - partner in another project (S7, S5, PG/PC, non-Siemens device) S7 - S7, S7 - S5, S7 - PC/PG, S7 non-Siemens device

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

FMS connection

PROFIBUS

(FMS protocol)

ISO

Industrial Ethernet

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

transport link

(ISO Transport protocol)

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

ISO-on-TCP connection

Industrial Ethernet (TCP/IP protocol)

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

TCP connection

Industrial Ethernet (TCP/IP protocol)

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

UDP connection

Industrial Ethernet

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

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

E-mail connection

Industrial Ethernet (TCP/IP protocol)

S7 - unspecified (S7 - mail server)

* The FCs AG_SEND and AG_RECV here can only be used for S7-300 (this depends on release number of the CP, see the documentation for the CP). * O CFs AG_SEND e AG_RECV aqui s pode ser usado para S7-300 (isso depende de nmero de verso do CP, consulte a documentao do 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). ** O CFs AG_LSEND e AG_LRECV aqui geralmente pode ser usado para S7-400, e, alm disso para S7-300 (isso depende de nmero de verso do CP, consulte a documentao do CP).

ol via which the connection is established, and on the

ferncia, atravs da qual a ligao estabelecida, em os parceiros de ligao.

type. pode usar depende do tipo de conexo.

n type for the connection you want to establish. po de conexo para a conexo que voc deseja

SFB/FB/FC SFBs USEND, URCV, BSEND, BRCV, GET, PUT, START, STOP, RESUME, STATUS, USTATUS

SFBs USEND, URCV, BSEND, BRCV, START, STOP, RESUME, STATUS, 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

0 (isso depende de nmero de verso do CP,

r S7-400, and in addition for S7-300 (this depends on mentation for the CP).

para S7-400, e, alm disso para S7-300 (isso o CP).

Possibilities for Communication between Device Types


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

S7-300

S7 communication SEND/RECEIVE PROFINET CBA PROFINET IO

S7 communication SEND/RECEIVE PROFINET CBA PROFINET IO**

SEND/RECEIVE FETCH/WRITE

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

S7-400

S7 communication SEND/RECEIVE PROFINET CBA PROFINET IO**

S7 communication SEND/RECEIVE PROFINET CBA FTP Services

SEND/RECEIVE FETCH/WRITE

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

from S7-CPs for Industrial EthernetConfiguring and Commissioning

Anda mungkin juga menyukai