hit counter script
Siemens SIMATIC S7-1200 Reference Manual

Siemens SIMATIC S7-1200 Reference Manual

Comparison list for programming languages based on international mnemonics
Hide thumbs Also See for SIMATIC S7-1200:

Advertisement

Reference manual
SIMATIC
S7-1200/S7-1500
Comparison list for programming languages
based on international mnemonics
Edition
12/2017
support.industry.siemens.com

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-1200

  • Page 1 Reference manual SIMATIC S7-1200/S7-1500 Comparison list for programming languages based on international mnemonics Edition 12/2017 support.industry.siemens.com...
  • Page 2 Comparison list for S7-300, S7-400, S7-1200, S7-1500 Reference Manual Legal information Warning notice system This manual includes notices you have to observe to ensure your personal safety and to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a hazard alert symbol; notices referring only to property damage have no hazard alert symbol. Depending on the degree of danger, warnings are displayed in a descending order as follows.
  • Page 3 Notes in the respective documentation must be observed. Trademarks All names identified by ® are registered trademarks of the Siemens AG. Any other names appearing in this document may be trademarks, the use of which by third parties for their own purposes may breach owners' rights.
  • Page 4: Measuring Program Runtimes

    Contents of the comparison list • Measuring program runtimes – see below. • Load objects to the CPU: Which modifications and which modified blocks you load to the CPU in which operating mode – next page. • Overview, requirements, general conditions and legend for the comparison list (Page 7) •...
  • Page 5 Load objects to the CPU The table shows which modifications and which modified blocks you can download in which operating mode. Very complex programs can prevent downloading in RUN mode. Solution approaches: • Use a memory card with sufficient capacity. •...
  • Page 6 Modifications and blocks S7-300 S7-400 S7-1200 S7-1500 S7-1200 S7-1200 V4.0 or V1.0 - 2.1 V2.2 - V3.0 higher OB with modified properties STOP STOP STOP STOP (e.g. cycle time change) Deleted OB STOP STOP STOP New FB/FC/DB/PLC data type (UDT) STOP Deleted FB/FC/DB/PLC data type STOP...
  • Page 7: Comparison List

    SIMATIC STEP 7 version 15 or higher • The contents of the S7-1500 column also apply to SIMATIC S7-1500 Software Controller CPU 150xS • SIMATIC S7-1200 firmware 4.2 or higher. SIMATIC S7-1200 only supports LAD, FBD and SCL. • SIMATIC S7-1500 firmware 2.5 or higher •...
  • Page 8 New instruction as of SIMATIC STEP 7 V14. For this purpose, SIMATIC S7-1200 requires at least firmware 4.2 and SIMATIC S7-1500 at least firmware 2.0. New instruction as of SIMATIC STEP 7 V15.
  • Page 9 Basic instructions Extended instructions Technology Communication Instructions in the section "Basic instructions" Instruction groups Page Instruction groups Page Instruction groups Page General Comparator operations Word logic operations Bit logic operations Mathematical functions Shift and rotate Safety functions Move Load and transfer Times Conversion operations Legacy...
  • Page 10: Bit Logic Operations

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Bit logic operations ✔ ✔ ✔ ✔ ✔ AND logic operation & & ✔ ✔ ✔ ✔ ✔ OR logic operation >=1 ✔ ✔ ✔ ✔ ✔ EXCLUSIVE OR logic operation ✔...
  • Page 11 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ ✔ Scan Boolean result for positive signal edge P_TRIG ✔ ✔ ✔ ✔ Scan Boolean result for negative signal edge N_TRIG Detect positive signal edge R_TRIG SCL: Programming with two instructions is more effective: ✔...
  • Page 12: Safety Functions

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Safety functions Only Safety: EMERGENCY STOP up to Stop ✔ ✔ ✔ ✔ ESTOP1 Category 1 ✔ ✔ Only Safety: Two-hand monitoring TWO_HAND ✔ ✔ ✔ ✔ Only Safety: Two-hand monitoring with enable TWO_H_EN Only Safety: parallel muting with two or four ✔...
  • Page 13 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Times IEC timers IEC timers are multi-instance capable. ✔ ✔ ✔ ✔ Generate pulse ✔ ✔ ✔ ✔ Generate on-delay ✔ ✔ ✔ ✔ Generate off-delay ✔ ✔ Time accumulator TONR ✔...
  • Page 14 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Start pulse timer -(SP) -[SP] ✔ ✔ ✔ Start extended pulse timer -(SD) -[SD] ✔ ✔ ✔ Enable timer ✔ ✔ ✔ Load timer value ✔ ✔ ✔ Load BCD-coded timer value ✔...
  • Page 15: Comparator Operations

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Count up -(CU) -[CU] ✔ ✔ ✔ Count down -(CD) -[CD] ✔ ✔ ✔ Enable counter ✔ ✔ ✔ Load counter value ✔ ✔ ✔ Load BCD-coded counter value ✔ ✔...
  • Page 16 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Check validity -|OK|- ✔ ✔ Check invalidity -|NOT_OK|- Variant ✔ ✔ Check data type of a VARIANT tag TypeOf Scan data type of an ARRAY element of a TypeOfElements ✔...
  • Page 17: Mathematical Functions

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) With a tag of TYPE DB_ANY, compare the NE_TypeOfDB: ✔ ✔ data type of an indirectly addressed DB with a data type for EQUAL. Check for EQUALS NULL pointer ✔ ✔...
  • Page 18 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ ✔ Divide Form absolute value ✔ ✔ ✔ ✔ Safety instruction only for S7-1200/1500 ✔ ✔ ✔ ✔ Return remainder of division ✔ ✔ ✔ ✔ Create twos complement NEGI, NEGD ✔...
  • Page 19 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ ✔ Form arctangent value ATAN ✔ ✔ Return fraction FRAC FRAC ✔ ✔ Exponentiate EXPT Move Move value MOVE MOVE (✔) (✔) ✔ ✔ S7-300/400: Only LAD and FBD ✔...
  • Page 20 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Fill block not interruptible UFILL_BLK Disassemble a tag bit string data type BYTE, SCATTER ✔ ✔ WORD, DWORD or LWORD into individual bits (= scatter) Disassemble an ARRAY of BYTE, WORD, SCATTER_BLK ✔...
  • Page 21 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Attempt assignment of a VARIANT to a AssignmentAttempt reference (AssignmentAttempt): With "AssignmentAttempt", you attempt to ✔ assign a VARIANT tag to a reference tag. The data type of a reference tag is specified at the time of the declaration, the data type of a VARIANT tag is determined during runtime.
  • Page 22 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Read/write access Recommendation: Symbolic programming. ✔ ✔ Read data in little endian format READ_LITTLE ✔ ✔ Write data in little endian format WRITE_LITTLE ✔ ✔ Read data in big endian format READ_BIG ✔...
  • Page 23: Conversion Operations

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Read field FieldRead ✔ ✔ Recommendation: Indexed access to an array Write field FieldWrite ✔ ✔ Recommendation: Indexed access to an array Conversion operations Convert value CONVERT CONVERT ✔ ✔ ✔...
  • Page 24 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Create a reference to a tag: ✔ "REF()" is used to specify to which tag a previously declared reference should point. ✔ ✔ ✔ ✔ Convert BCD to integer (16 bit) BCD16_TO_INT ✔...
  • Page 25 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Create ones complement double integer (32 INVD ✔ ✔ ✔ bit) S7-1500: Conversion also done implicitly ✔ ✔ ✔ Negate integer (16 bit) NEGI ✔ ✔ ✔ Negate integer (32 bit) NEGD ✔...
  • Page 26: Program Control Operations

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Unscale the floating-point number into physical UNSCALE ✔ ✔ ✔ units between a low limit and a high limit and convert it into an integer (unscaling). Program control operations Branch conditionally IF…...
  • Page 27 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Terminate running through the loop and start CONTINUE ✔ ✔ ✔ ✔ with the next run ✔ ✔ ✔ ✔ Exit loop immediately EXIT ✔ ✔ ✔ ✔ Exit block RETURN Organize program code REGION…...
  • Page 28 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ Jump if RLO = 1 and save RLO ✔ ✔ ✔ Jump if RLO = 0 and save RLO ✔ ✔ ✔ Jump if BR = 1 ✔...
  • Page 29 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ Swap data block register Load the length of a global data block into L DBLG ✔ ✔ ✔ accumulator 1 Load the number of a global data block into L DBNO ✔...
  • Page 30: Word Logic Operations

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Only SIMATIC S7-1500 Software Controller SHUT_DOWN ✔ CPU 150xS: Shut down or restart Windows and the controller ✔ ✔ Get error locally GET_ERROR ✔ ✔ Get error ID locally GET_ERR_ID ✔...
  • Page 31: Shift And Rotate

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Multiplex ✔ ✔ ✔ ✔ S7-300/400: Only SCL ✔ ✔ Demultiplex DEMUX DEMUX ✔ ✔ ✔ ✔ AND logic operation word by word AND, & ✔ ✔ ✔ ✔ OR logic operation word by word ✔...
  • Page 32: Loading And Transferring The Registers In Stl

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ Rotate right double word by double word ✔ ✔ ✔ Rotate left double word by double word ✔ ✔ ✔ Rotate left by status bit CC 1 RLDA ✔...
  • Page 33 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ Transfer AR1 to double word TAR1 <D> ✔ ✔ ✔ Transfer AR1 to AR2 TAR1 AR2 ✔ ✔ ✔ Transfer AR2 to accumulator 1 TAR2 ✔ ✔ ✔...
  • Page 34 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Call block -(CALL) -[CALL] ✔ ✔ Save RLO in BR bit -(SAVE) -[SAVE] SAVE ✔ ✔ Open MCR ranges -(MCR<) -[MCR<] MCR( ✔ ✔ Close MCR ranges -(MCR>) -[MCR>] )MCR ✔...
  • Page 35: Date And Time

    Basic instructions Extended instructions Technology Communication " Instructions in the section "Extended instructions Instruction groups Page Instruction groups Page Instruction groups Page Date and time Interrupts Table functions String and Character Alarms Addressing Process image Diagnostics File operations (file handling) Distributed I/O Pulse R/H system...
  • Page 36 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Time-of-day functions ✔ ✔ ✔ ✔ Set time-of-day (STEP 7 V 5x: SET_CLK) WR_SYS_T ✔ ✔ ✔ ✔ Read time-of-day (STEP 7 V 5x: READ_CLK) RD_SYS_T ✔ ✔ Read local time RD_LOC_T ✔...
  • Page 37 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Set daylight saving time/standard time without time- SET_SW ✔ ✔ of-day status ✔ ✔ Transfer time-stamped alarms TIMESTMP Set daylight saving time/standard time with time-of- SET_SW_S ✔ day status String and Character ✔...
  • Page 38 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Other instructions ✔ ✔ ✔ ✔ Determine the length of a character string ✔ ✔ ✔ ✔ Connect character strings CONCAT ✔ ✔ ✔ ✔ Read the left characters of a character string LEFT ✔...
  • Page 39 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Read global name at beginning of a call path. GetSymbolPath Illustration: ✔ ✔ ✔ ✔ Read out name of the block instance GetInstanceName ✔ ✔ Query the global name of block instance GetInstancePath ✔...
  • Page 40: Process Image

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Process image ✔ ✔ Update the process image inputs UPDAT_PI ✔ ✔ Update the process image outputs UPDAT_PO ✔ ✔ ✔ Synchronize the process image inputs SYNC_PI ✔ ✔ ✔ Synchronize the process image outputs SYNC_PO Distributed I/O...
  • Page 41 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Control configuration of a PROFINET IO system ReconfigIOSystem (options handling) ✔ Enable or disable devices in order to, for example, Flexibly run through or bypass production steps of a manufacturing process. Other instructions ✔...
  • Page 42 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Control ASi master behavior ASi_3422 ✔ ✔ ✔ Control ASi master behavior ASI_CTRL PROFIenergy IO controller ✔ ✔ ✔ Start and exit energy-saving mode PE_START_END Start and exit energy-saving mode/Read out status PE_CMD ✔...
  • Page 43: Module Parameter Assignment

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ Number of PROFIenergy commands PE_Identify_RSP Generate supported PROFIenergy commands as PE_Measurement_List_RSP ✔ ✔ ✔ answer ✔ ✔ ✔ Generate queried measured values as answer PE_Measurement_Value_RSP Module parameter assignment ✔...
  • Page 44 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Time-of-day interrupt ✔ ✔ ✔ Set time-of-day interrupt SET_TINT Set time-of-day interrupt, local or system time SET_TINTL ✔ ✔ LOCAL: Refer SDT to local or system time. ACTIVATE: When does the OB apply the settings. ✔...
  • Page 45 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Delay execution of higher priority interrupts and DIS_AIRT ✔ ✔ ✔ ✔ asynchronous error events Enable execution of higher priority interrupts and EN_AIRT ✔ ✔ ✔ ✔ Enable asynchronous events ✔...
  • Page 46 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ALARM_SQ incoming alarm ✔ Report up to eight signal changes NOTIFY_8P Create PLC alarms without associated values for ALARM_8 ✔ eight signals Create PLC alarms with associated values for eight ALARM_8P ✔...
  • Page 47 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Read system status list RDSYSST ✔ ✔ Read LED status ✔ ✔ Reading identification and maintenance data Get_IM_Data ✔ ✔ Read out name of a module Get_Name ✔ ✔...
  • Page 48: Data Block Functions

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Pulse ✔ Pulse width modulation CTRL_PWM Pulse train output, output a pulse sequence with CTRL_PTO ✔ specified frequency Recipes & data logging Recipe functions ✔ ✔ Export recipe RecipeExport ✔ ✔...
  • Page 49 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Create data block in the load memory CREA_DBL ✔ ✔ ✔ ✔ Read from data block in the load memory READ_DBL ✔ ✔ ✔ ✔ Write to data block in the load memory WRIT_DBL ✔...
  • Page 50 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Addressing ✔ ✔ Determine hardware identifier from slot GEO2LOG ✔ ✔ Determine slot from the hardware identifier LOG2GEO Determine the hardware identifier from addressing of LOG2MOD ✔ STEP 7 V5.5 SPx ✔...
  • Page 51: File Operations (File Handling)

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) S7-300/400: Determine all logical addresses from a RD_LGADR logical address ✔ ✔ ✔ S7-1500: Determine the logical addresses from the hardware identifier S7-300/400: Determine logical basic address from GADR_LGC slot and offset in the user data address area ✔...
  • Page 52: Other Instructions

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) R/H system Only S7-1500 R/H: Enable or disable the SYNCUP RH_CTRL system state. The lock applies: Until you disable the lock again Until the S7-1500R/H goes to STOP Other instructions iSlave ✔...
  • Page 53 Basic instructions Extended instructions Communication Technology " Instructions in the section "Technology Instruction groups Page Instruction groups Page Instruction groups Page Counting (and measuring) Function modules Time-driven inputs/outputs PID Control S7-300C functions Motion Control in the S7-300 column means: Instruction for the S7-300 Technology CPU S7-31xT. The operating principle of the instructions can differ between S7-300 and S7-1500.
  • Page 54: Pid Control

    Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) PID Control Compact PID Universal PID controller with integrated tuning PID_Compact ✔ ✔ for proportional-action actuators PID controller with integrated optimization for PID_3Step ✔ ✔ valves and actuators Temperature controller with integrated PID_Temp ✔...
  • Page 55 Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) Automatic optimization for a continuous- TUN_EC ✔ ✔ action controller TUN_ES ✔ ✔ Automatic optimization for a step controller Integrated system functions ✔ ✔ Continuous-action controller CONT_C_SF ✔ ✔ Step controller for integrating actuators CONT_S_SF Pulse generator for proportional-acting PULSGEN_SF...
  • Page 56: Function Modules

    Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) Function modules Diverse instructions for FM modules ✔ ✔ ✔ Counting/Positioning/Cam Control/PID Control/Temp Control S7-300C functions ✔ Position with analog output ANALOG ✔ Position with digital output DIGITAL ✔ Control counter COUNT ✔...
  • Page 57: Motion Control

    Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) ✔ Output edges time-controlled at digital output TIO_DQ Motion Control ✔ ✔ Release/lock axis/technology MC_Power Acknowledge interrupts, restart MC_Reset ✔ ✔ axis/technology object Home axis/technology objects, set home MC_Home ✔ ✔...
  • Page 58 Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) Continuously read motion data of a MC_ReadParam ✔ positioning axis Set alternative encoder as active encoder MC_SetSensor ✔ Position axis overlapping MC_MoveSuperImposed Output cams, cam track, measuring input ✔ Start one-time measuring MC_MeasuringInput Start cyclic measuring S7-1500: MC_MeasuringInputCyclic...
  • Page 59 Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) Relative shift of master value on the following S7-1500T: MC_PhasingRelative axis S7-300T: MC_Phasing Absolute shift of master value on the following S7-1500T: MC_PhasingAbsolute axis S7-300T: MC_Phasing Start camming MC_CamIn Simulate synchronous operation MC_SynchronizedMotionSimulation Cam disc Interpolating a cam disc...
  • Page 60 Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) Torque data Force/torque limiting / fixed stop detection ✔ Specify additive torque MC_TorqueAdditive ✔ Set high and low torque limits MC_TorqueRange Activate and deactivate force/torque limit/ MC_TorqueLimiting ✔ fixed stop detection Motions (kinematics) Interrupt execution of motion MC_GroupInterrupt...
  • Page 61 Basic instructions Extended instructions Communication Technology Description LAD/FBD (not S7-1200) Zones Define workspace zone MC_DefineWorkspaceZone Define kinematics zone MC_DefineKinematicsZone Activate workspace zone MC_SetWorkspaceZoneActive Deactivate workspace zone MC_SetWorkspaceZoneInactive Activate kinematics zone MC_SetKinematicsZoneActive Deactivate kinematics zone MC_SetKinematicsZoneInactive Toolbox Re-define tool MC_DefineTool Change active tool MC_SetTool Coordinate systems Redefine object coordinate systems...
  • Page 62 Basic instructions Extended instructions Communication Technology A5E33284667-AF Page 61...
  • Page 63 Basic instructions Extended instructions Technology Communication The following pages provide an overview of the details and usage of important functions of open communication and S7 communication. Open communication Definition: Open exchange of data via PROFINET/Industrial Ethernet between SIMATIC controllers or between SIMATIC controllers and third-party devices.
  • Page 64 Communication Basic instructions Extended instructions Technology Instruction Logs Property of Data package size Application and the data application example transfer ✔ ✔ ✔ Exchange large data volumes with TSEND/TRCV TCP or Reliable with <= 64 KB ISO-on-TCP acknowledgment acknowledgment. For example: Send ✔...
  • Page 65 Basic instructions Extended instructions Technology Communication S7 communication Definition: SIMATIC-homogeneous data exchange between SIMATIC CPUs via PROFIBUS PROFINET/Industrial Ethernet. With S7 communication, you connect existing S7-300/400 to S7-1200/1500 or migrate existing systems to S7-1200/1500. Recommendation: Use open communication for data exchange between S7-1200/1500 and thus the possibilities of common Ethernet standards.
  • Page 66 Communication Basic instructions Extended instructions Technology Instruction Operating Guaranteed user Application Notes Property of state of data size for the data partner specified partner transfer controller controller ✔ ✔ ✔ RUN or Reliable with S7-300: 160 bytes Accessing data in the target You have to use data STOP acknowledgme...
  • Page 67 Basic instructions Extended instructions Technology Communication " Instructions in the section "Communication Instruction groups Page Instruction groups Page Instruction groups Page Fail-safe HMI panels Communication with I-slave PROFINET and PROFIBUS S7 communication Modbus TCP PROFINET CBA Open User Communication Communications processors MPI communication OPC UA S7-300C functions...
  • Page 68 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ ✔ Send data uncoordinated USEND ✔ ✔ ✔ Receive data uncoordinated URCV ✔ ✔ ✔ Send data in segments BSEND ✔ ✔ ✔ Receive data in segments BRCV ✔...
  • Page 69: Open User Communication

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Note: S stands for short, Other instructions since only one parameter is possible ✔ ✔ Read data from a remote CPU GET_S ✔ ✔ Write data to a remote CPU PUT_S ✔...
  • Page 70 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Resetting the connection T_RESET ✔ ✔ Check the connection T_DIAG ✔ ✔ Configure interface T_CONFIG Program-controlled IP and connection configuration via IP_CONFIG ✔ ✔ SEND/RECEIVE ✔ ✔ ✔ ✔...
  • Page 71 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) OPC UA: CP 443-1 OPC UA ✔ Establish connection for a session with an OPC UA server UA_Connect ✔ Fetching namespace index of a namespace URL UA_NamespaceGetIndex Registering node IDs on the connected server and fetching UA_NodeGetHandleList ✔...
  • Page 72 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Schematic flow: Web server ✔ ✔ ✔ ✔ Synchronize user-defined web pages Fail-safe HMI panels For Mobile Panel 277 F IWLAN: F_FB_MP ✔ ✔ ✔ ✔ Communication with connected device via PROFIsafe For Mobile Panel 277 F IWLAN: F_FB_RNG_4 ✔...
  • Page 73: Modbus Tcp

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) For Mobile Panel 277 F IWLAN: F_FB_RNG_16 ✔ ✔ ✔ Managing of up to 16 panels in the effective range For Mobile Panels of the second generation: F_FB_KTP_ ✔ ✔ ✔...
  • Page 74: Communications Processors

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Communications processors Not for S7-1500 Software Controller CPU 150xS Point-to-Point or PtP communication S7-300/400: Commands for ET 200SP CM PtP Configure PtP communication port Port_Config ✔ ✔ ✔ ✔ S7-300/400: Only if ET 200SP CM PtP is used ✔...
  • Page 75 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Recommendation: Use the instructions Instructions with lower memory requirements, but also less specified above. You cannot apply the functional scope. instructions decentrally in an ET 200. ✔ Configure communication parameters dynamically PORT_CFG ✔...
  • Page 76 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ Read out parameters from the drive USS_RPM ✔ ✔ ✔ ✔ Read data from drive (16 drives) USS_Read_Param ✔ Read data from drive (31 drives) USS_Read_Param_31 ✔ Change parameters in the drive USS_WPM ✔...
  • Page 77 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Point-to-point connection: CP 340 ✔ ✔ Receive data P_RCV ✔ ✔ Send data P_SEND ✔ ✔ Output alarm text with up to 4 tags to printer P_PRINT ✔ ✔ Delete receive buffer P_REST ✔...
  • Page 78 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Point-to-point connection: CP 441 ✔ ✔ Read accompanying signals at the RS 232 interface V24_STAT_441 ✔ ✔ Write accompanying signals at the RS 232 interface V24_SET_441 ✔ Send data to printer PRINT MODBUS slave (RTU) ✔...
  • Page 79 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ET 200S serial interface Note: S stands for serial ✔ ✔ ✔ Receive data S_RCV ✔ ✔ ✔ Send data S_SEND ✔ ✔ ✔ Read accompanying signals at the RS 232 interface S_VSTAT ✔...
  • Page 80 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Connection diagnostics AG_UNLOCK ✔ ✔ Connection diagnostics AG_CNTRL Connection diagnostics, connection establishment, ping AG_CNTEX ✔ ✔ request Connection diagnostics, connection establishment, ping AG_CNTEX ✔ ✔ request PROFIBUS DP ✔...
  • Page 81 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) ✔ ✔ Data receipt from CP as IO controller or IO device PNIO_RECV ✔ ✔ Read data record or write data record in IO controller PNIO_RW_REC ✔ ✔ Alarm evaluation through CP343-1 as IO controller PNIO_ALARM PROFIenergy ✔...
  • Page 82 Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) GPRSComm:CP 1242-7 ✔ Establish connection via GSM network TC_CON ✔ Terminate connection via GSM network TC_DISCON ✔ Send data via the GSM network TC_SEND ✔ Receive data via the GSM network TC_RECV ✔...
  • Page 83: Communication With Islave

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) Communication with iSlave Read data from a communication partner within the local I_GET ✔ ✔ S7 station Write data to a communication partner within the local S7 I_PUT ✔ ✔ station Abort a connection to a communication partner within the I_ABORT...
  • Page 84: Mpi Communication

    Basic instructions Extended instructions Technology Communication Description LAD/FBD (not S7-1200) MPI communication Note: X stands for the MPI interface Send data to a communication partner outside the local S7 X_SEND ✔ ✔ station Receive data from a communication partner outside the X_RCV ✔...
  • Page 85 Appendix Optional instructions Appendix Optional instructions Description LAD/FBD (not S7-1200) SIMATIC Ident ✔ ✔ ✔ Read data from transponder Read ✔ ✔ ✔ Read out data from code reading system Read_MV ✔ ✔ ✔ Reset reader Reset_Reader ✔ ✔ ✔ Set program at code reading system Set_MV_Program ✔...
  • Page 86 Appendix Optional instructions Description LAD/FBD (not S7-1200) ✔ ✔ ✔ ✔ Set UHF parameters in the reader Set_Param ✔ ✔ ✔ ✔ Write EPC ID of a UHF transponder Write_EPC_ID Ident function for trained users with command Advanced_CMD ✔ ✔ ✔...
  • Page 87: Energy Suite

    Appendix Optional instructions Description LAD/FBD (not S7-1200) Energy Suite Calculate operating-mode-related energy data of EnS_EEm_Calc ✔ ✔ machines and systems for uniform efficiency evaluation according to measuring regulation Create efficiency protocol in CSV format on the EnS_EEm_Report ✔ ✔ SIMATIC memory card of the CPU according to measuring regulation A5E33284667-AA Page 86...
  • Page 88 Siemens AG Änderungen vorbehalten. Digital Factory A5E33284667-AF Postfach 48 48 © Siemens AG 2017 90026 Nürnberg DEUTSCHLAND www.siemens.com/automation...

This manual is also suitable for:

Simatic s7-1500

Table of Contents