Siemens S7-1200 2015版样本
西门子1200资料ppt课件

13
14
UDT(用户自定义数据类型)
15
接上
16
中断
17
18
19
硬件中断一般用作紧急事件的处理
模拟量
22
• 用转换指令中的标定和标准转换 ,
23
pid
• 在项目树中工艺对象中添加PID 控制并组态 • 并在循环中断中调用
变量就可以
8
全局DB 1
9
全局DB 2
10
全局DB 3
11
全局DB和UDT
• 方便用上位机控制,用全局dp更程序地址关联上可以了
12
UDT(用户自定义数据类型)作用是变量 打包做个模板
• 如果FB多次调用 在全局变量中就要建很多变量 所以用UDT (把所 有变量打包)
1. 先建好要用 2. 在全局DB中建立相同数据类型的变量(这时候db中的一个变量
FC的实参(无参数调用)
在FC程序中直接输入变量地址
1
FC的形参(有参数调用) • 现在变量声明表中定义(变量表中的参数不具备存储数据的功能,必须外部
给它分配具体的地址存储数据,temp下的数据分配的L储存区的地址)。
2
FB与FC的区别 • FC如果有很多的中间变量 如果放在temp区 在主程序不能多次同时调用 ,会
4
多重背景
• 被调用的块的背景数据块集成在调用的块里,而实现对数据的集 中处理(调用的函数块将其数据保存在调用函数块的背景数据块中, 而不是自己的背景数据块中。 这可以让您将背景数据集中在一个 块中,并通过程序中较少的背景数据块获取。)
• FB1里多次调用FB2用多重背景做 1. 先把fb2做好 2. 在fb1的static里建变量数据类型选FB2 3. 在ob1主程序调fb1就可以运行
S71200选型用户手册(2017)

输入 / 输出扩展模块 SM(信号模块) SM 1221 数字量输入模块 SM 1222 数字量输出模块 SM 1223 数字量输入 / 直流输出模块 SM 1223 数字量输入 / 交流输出模块 SM 1231 模拟量输入模块 SM 1232 模拟量输出模块 SM 1231 热电偶和热电阻模拟量输入模块 SM 1234 模拟量输入 / 输出模块
附件 电源模块 PM 1207 输入仿真器 SIM 1274 存储卡
TIA 博途产品范围总览 TIA 博途安装的系统要求
SIMATIC HMI 系列面板
附录 附录 1 — 中央处理单元接线图
— 扩展模块接线图 附录 2 — 通用技术规范 附录 3 — 订货数据
4
11 12 13 13 14 14 14
LOGO! 8
PROFIBUS DP / RS485
PROFINET / TCP/IP
I/O能力,程序大小,指令速度,通讯能力, ...
SIMATIC S7-1200
SIMATIC S7-1200 具有集成 PROFINET 接口、强大的集成工艺功能 和灵活的可扩展性等特点,为各种工艺任务提供了简单的通信和有
输入 / 输出扩展模块 SB 及通信板 CB(信号板) SB 1221 数字量输入信号板 SB 1222 数字量输出信号板 SB 1223 数字量输入 / 输出信号板 SB 1231 热电偶和热电阻模拟量输入信号板 SB 1231 模拟量输入信号板 SB 1232 模拟量输出信号板 CB 1241 RS485 通信信号板
逻辑控制器的书本型迷你控制器 LOGO! 到基于 PC 的控制器,无 需求。在研发过程中充分考虑了系统、控制器、人机界面和软件的
3.西门子S7-1200产品样本

T-block 指令来实现,可用于 S7-1200 之间的通讯,S7-1200 与 S7-300/400 的通讯 • 3 个连接用于 S7 通讯的服务器端连接,可以实现与 S7-200, S7-300/400 的以太网 S7 通讯
集成 PROFINET 接口
集成的 PROFINET 接口用于编 程、HMI 通讯和 PLC 间的通 讯。此外它还通过开放的以太 网协议支持与第三方设备的通 讯。该接口带一个具有自动交 叉网线(auto-cross-over)功能 的 RJ45 连接器,提供 10/100 Mbit/s 的数据传输速率,支持 以下协议:TCP/IP native、ISO-on-TCP 和 S7 通讯。
存储器
为用户指令和数据提供高达 50 KB 的共用工作内存。同时还 提供了高达 2 MB 的集成装载内 存和 2 KB 的掉电保持内存。
SIMATIC 存储卡可选,通过不同 的设置可用作编程卡,传送卡和 硬件更新卡三种功能。通过它 可以方便地将程序传输至多个 CPU。该卡还可以用来存储各种 文件或更新控制器系统的固件。
6
集成工艺
高速输入 SIMATIC S7-1200 控制器带有多 达 6 个高速计数器。其中 3 个 输入为 100 kHz,3 个输入为 30 kHz,用于计数和测量。
高速输出 SIMATIC S7-1200 控制器集成 了两个 100 kHz 的高速脉冲输 出,用于步进电机或伺服驱动 器的速度和位置控制。(使用 PLCopen 运动控制指令)这两 个输出都可以输出脉宽调制信 号来控制电机速度、阀位置或 加热元件的占空比。
S7-1200 可编程控制器 系统手册说明书

通信11 S7-1200 可实现 CPU 与编程设备、HMI 和其它 CPU 之间的多种通信。
警告PROFINETPROFINET 用于使用用户程序通过以太网与其它通信伙伴交换数据:●在 S7-1200 中,PROFINET 支持 16 个最多具有 256 个子模块的 IO设备,PROFIBUS 允许使用 3 个独立的 PROFIBUS DP 主站,每个 DP 主站支持 32个从站,每个 DP 主站最多具有 512 个模块。
●S7 通信●用户数据报协议 (UDP)●ISO on TCP (RFC 1006)●传输控制协议 (TCP)通信PROFINET IO 控制器作为采用 PROFINET IO 的 IO 控制器,CPU 可与本地 PN 网络上或通过 PN/PN耦合器(连接器)连接的最多 PROFIBUS和PROFIBUSPROFIBUS 用于使用用户程序通过 PROFIBUS 网络与其它通信伙伴交换数据:●借助 CM 1242-5,CPU 作为 PROFIBUS DP 从站运行。
●借助 CM 1243-5,CPU 作为 1 类 PROFIBUS DP 主站运行。
●PROFIBUS DP 从站、PROFIBUS DP 主站和 AS-i(左侧 3 个通信模块)以及PROFINET 均采用单独的通信网络,不会相互制约。
AS-i通过 S7-1200 CM 1243-2 AS-i 主站可将 AS-i 网络连接到 S7-1200 CPU。
CPU 至 CPU S7 通信您可以创建与伙伴站的通信连接并使用 GET 和 PUT 指令与 S7 CPU 进行通信。
TeleService 通信在通过 GPRS 的 TeleService 中,安装了 STEP 7 的工程师站通过 GSM 网络 Internet和与具有 CP 1242-7 的 SIMATIC S7-1200 站进行通信。
该连接通过用作中介并连接到Internet 的远程控制服务器运行。
西门子S7-1200 1500 FB284控制S120实现基本定位功能说明书

/CN/view/zh/109765580C o p y r i g h t ãS i e m e n s A G C o p y r i g h t y e a r A l l r i g h t s r e s e r v e d目录1概述 ............................................................. 32SINA_POS(FB284)介绍 .. (33)SINA_POS 功能说明 ................................................. 63.1概述 ........................................................ 63.2功能块的运行模式介绍 ........................................ 63.2.1运行条件 .................................................... 63.2.2相对定位运行模式 ............................................ 63.2.3绝对定位运行模式 ............................................ 73.2.4连续运行模式(按指定速度运行) ................................ 83.2.5主动回零 .................................................... 93.2.6直接设置回零位置 ........................................... 103.2.7运行程序段 ................................................. 103.2.8按指定速度点动 ............................................. 113.2.9按指定距离点动 ............................................. 123.2.10运行中回零(被动回零) ....................................... 123.3基于ModePos 值的运行模式切换说明 (12)4项目配置 ........................................................ 134.1S120项目配置要点 ........................................... 134.2S7-1500项目配置步骤 (17)C o p y r i g h t ãS i e m e n s A G C o p y r i g h t y e a r A l l r i g h t s r e s e r v e d1概述S7-1200/1500可以通过PROFINET 通信连接SINAMICS S120伺服驱动器,PLC 通过西门子提供的驱动库中的功能块FB284可实现S120的基本定位(EPOS )控制。
西门子1200资料

• Temp是临时变量,STAT是静态变量。TEMP在FB和FC中都可以用, 但是FC和FB调用完之后,TEMP变量也随之消失;而STAT变量只有 FB中才可以用,它有存储功能。 • temp只在本扫描周期内有作用,下一个周期就会被自动复 位。所以如果你的数据需要需要在下一个扫描周期内使用的,那 么就不能使用temp变量。 • stat静态变量:它可以保存数据,数据的保存地址就是这个fb 的背景数据块内。 •
全局DB 1
全局DB 2
全局DB 3
全局DB和UDT
• 方便用上位机控制,用全局dp更程序地址关联上可以了
UDT(用户自定义数据类型)作用是变量 打包做个模板
• 如果FB多次调用 在全局变量中就要建很多变量 所以用UDT (把所 有变量打包) 1. 先建好要用 2. 在全局DB中建立相同数据类型的变量(这时候db中的一个变量 就包含UDT中的所以变量)也可以再FB块中建立udt数据类型的 变量
UDT(用户自定义数据类型)
接上
Hale Waihona Puke 中断硬件中断一般用作紧急事件的处理
延时中断
• 延时中断需要指令激活中断
模拟量
• 用转换指令中的标定和标准转换 ,
pid
• 在项目树中工艺对象中添加PID 控制并组态 • 并在循环中断中调用
1200一个通讯口支持的通讯
• 1200与1200之间的通讯用开放式用户通讯不能用S7通讯 • S7通讯是1200与200 300 400 的通讯方式 • 先对应通讯指令选择指令 并组态
FC的实参(无参数调用)
在FC程序中直接输入变量地址
FC的形参(有参数调用) • 现在变量声明表中定义(变量表中的参数不具备存储数据的功能,必须外部 给它分配具体的地址存储数据,temp下的数据分配的L储存区的地址)。
SIMATIC S7-1200基本控制器说明文档说明书

Basic Controller SIMATIC S7-1200Be flexible thanks to networking possibilities Unrestricted / © Siemens AG/s7-1200SIMATIC controllers set new automation scaleTrends Solutions…Ethernet-based field busIT functionality Increased functionality and designflexibilityIncreased Integrated functionalityOptimized usabilityEasy to manage, reduced complexityPROFINET I/O as a standard at all PLCse.g. web server on-board all PLCsFor the same priceMore interfaces, higher performance, memory …e.g. motion control functions / PID controller /Trace / high speed counterse.g. integrated system diagnostics, project upload Simplified commissioning (serial machine building) Reduced, optimized portfolioIncrease of system functionalityHighlight performance•PROFINET Master –decentralized Profinet architectures possible for I/O, HMI, drives, and other Profinet field devices. NO communication module required!•PROFIBUS Master & Slave –decentralized Profinet architectures possible for I/O, drives, and other Profinet devices, including integration into existing system networks.•AS-i Master –The new AS-i-Master is configured in full in the TIA Portal and a new AS-i network can be created very easily with just a few clicks. AS-i networks do not therefore require separate software!•CANopen Master –Enables connection with CANopen devices, as well as with devices running Transparent CAN 2.0A.Highlight performance•Modbus TCP –Enables communication with devices as Modbus master or slave. Only one TCP function block is required for this. •IO-Link Master –Fast and easy integration of the SIRIUS compact starter, M200D starter and SIRIUS soft starter for simple starter control.•GPRS/LTE module –Easy implementation for data recording and control of decentralized computer.•TCP/IP –Via the instructions for open communication you can communicate with other CPUs, other PCs and with devices that use TCP/IP communication protocols as standard. NO communication module required!SIMATIC S7-1200 in the TIA PortalHighlight performance•RS-485, RS-422 & RS-232 –The S7-1200 CPU supports point-to-point (PtP) communication for character-based serial protocols, and this provides maximum freedom and flexibility for the use of PtP communication instructions in the user program.•Modbus RTU –Using the Modbus instructions the Modbus master or slave is able to communicate with devices that use the Modbus RTU protocol.•USS –Using simple USS instructions you can control the operation of drives that support the USS (Universal Serial Interface) protocolS7-1200CPUSMCM CP SM 1278CB 1241 RS485SINAMICS V20USSMODBUS RTUModuleCommunicationCM 1241RS232serial CM 1241RS422/485serialCM 1243-2AS-i master CM 1242-5PROFIBUS DP slave CM 1243-5PROFIBUS DP masterCP 1242-7GPRS Mobile communications telecontrolCP 1243-7LTE Mobile communications telecontrolCP1243-1Ethernet VPN/Firewall, Telecontrol Ethernet (DNP3, IEC 60870)RF120C RFID 1 Reader port; RS422CM CANopenCANopen3rd party: HMS 021620-BS7-1200 integrated PROFINET (Ethernet) interface… with the STEP 7 software•CPU hardware configuration•Loading a project•Monitoring/amending runtime tags•Set runtime I/O statuses•Diagnostics information... with HMI panels•Data from or to the CPU•System diagnostics... from CPU to CPU•Open communication with T-block instructions•Supported protocols: TCP/IP, ISO on TCP, UDP, S7 Com. (PUT/GET)MRP -Media redundancy protocolBased on ring topology (IEC 61158-5-10)Max. 50 nodes in the ring•PROFINET IO-Controller•PROFINET IO-Devices•Components of the network infrastructure (IE switches) 200 ms reconfiguration timeCPU 1215/17 as MRP Client at least FW V4.1 Configuration and diagnostics in STEP7Industrial Ethernet PROFINET•Improved plant availability•More flexibility•Lower costs since less equipment required > V4.1< V4.2S7 routing•Enables a connection between different subnets • A SIMATIC S7-1200 station acts as an S7 router •Based on PROFINET•Actually only with CP 1243-1 at least V2.0 (6GK7243-1BX30-0XE0) andCPU FW V4.2192.168.0.1 192.168.0.3 177.168.0.1192.168.0.2S7 routedConnectionSubnet1Subnet 2CommunicationWebserverIntegrated Web server•Access to system and process reports as well as identification data •System diagnostics for all configured assemblies centrally anddecentralized•Communication diagnostics on parameters, statistics, connection status •Access to process data via tag tables and freely definable tag lists •Pages to be defined by the user•Firmware updateArchive•Access via Webserver using Filebrowser for reciprocal exchanges of data in .csv format•Logging of user-defined tagsStation webserverVarious types of communication access: CPU PN interface, CP 1243-7 LTE,CP1242-7 V2•Central access via CPU page independentlyof the interface•User is then able to browse to the CP-specific webpages from thereuniform, consistent webserverfor entireS7-1200 stationRemote access viaInternet/mobile communicationsPN accessPROFINET i-Device•Simple configuration of S7-1200 CPUsin a master/slave architecture through reading and writing the reciprocal I/O images•Connection of CPUs in different projects•NO PN-PN coupler required (transparent network)IO controllerCPU1IE / PROFINETIO deviceOperational systemApplication / userprogramIO process imageInputaddr.Outputaddr.Operational systemApplication / userprogramIO process imageInputaddr.Outputaddr.PROFINET IOIO controller 1IO device 2IE / PROFINETIO device 1IO device 3i-deviceSavings with costs / installation / wiring of additional hardwareCPU2•Access for up to 2 controllers on S7-1200 as i-device •Rapid exchange of data in real time between S7-1x00 CPUs•Incorporation of 3rd party controllers under PROFINETAs ofV4.1Shared I-DeviceSerial communication•ASCII protocol (character-based serial communication)uses STEP 7 PtP instructions•USS Drive protocol is programmed with STEP 7 USSlibrary instructions•MODBUS protocol is programmed with STEP 7MODBUS library instructions•3964R ProtokollRS232RS485/422USS drivesUpdate rate Array•Fixed update rate (as fast as possible)•Enable instructions in an interrupt alarm OB in order toset a user-defined update rate.Support for drives•Maximum 15 drives per CM (communication module) supported•Non support:•MM3 drives•Deregistration of missing drives•S7-1200 CPU up to 8 IO-Link master modules -centralized•Data rate COM1 (4.8 kbaud), COM2 (38.4 kbaud), COM3 (230.4 kbaud)•Standard IO Mode (SIO Mode)•up to 4 IO-Link devices (3 wire) or 4 standard actuators•Diagnostics configurable for each port •I&M identification•IO-Link parameter allocation with S7-PCT (Port Configuration Tool) V3.2IO-Link supportSM 1278 4xIO-Link master (6ES7 274-1XK30-0XA0)•Point-to-point connection, no bus system•Existing wiring topologies are retained•Standard sensor/actuator cable (three wires with one signal wire), unshielded, 20 m in length,no special-purpose cable / connector•Manufacturer-independent communication standard for the PNO•Non-stop consistent communication•Cyclical, bidirectional process data communication (typ.2 ms cycle)•Non-cyclical service data transmission betweensensors/actuators and the controller as required •Integrated differentiated diagnostics alarms• LinkSwitchingdevices<20 mControl cabinet<20 m3RA6compact starters3RA27function modules for feeders3UG4monitoring relays3RW40soft startersSIMATIC RF120C –Fast communication module for S7-1200RF120CInterface to the applicationInternal S7 busConnection technology S7-1200 setup technology; screw terminals for 24 V supply Interface to the reader RS422 incl. 24 Volt; up to 115.2 KBaud Connection technology Submin-D connectorRFID system RF200, RF300, RF600, MOBY D/U, MV400FB, driver Instructions: Read, Write, Read_EPC-Mem, Write_EPC-Mem, Set_Ant_RF300, Set_Ant_RF600, Reset_Reader; based on FB101Number of readers 1 per RF120C; 3 per S7-1200Degree of protection IP 20Dimensions (W x H x D)30 x 100 x 75•Level measurement in silos and bunkers •Plattform scales•Force and tension measurements •Typical industries: Food & Beverage,Chemicals, Cement, Aggregate•Legal for trade certificate according OIML-R76•CPU 1212C →up to two SIWAREX modules •CPU 1214C orhigher→up to eight SIWAREX modules •Full parameter access from the CPU via free downloadable function block →Complete commissioning andcalibration via CPU/HMISIWAREX WP231 –Basic applications•Up to eight parallel connected analog 350 Ohm load cells per SIWAREX (1mV/V, 2mV/V, 3mV/V or 4mV/V)• 1 SIWAREX = 1 scale• 4 digital inputs / 4 digital outputs • 1 analog output•Ethernet (Modbus TCP & SIWATOOL)•RS485 (Modbus RTU)SIWAREX WP241 –Belt weigherapplications•Belt scales (Cement-, Aggragate plants, Mines, Food & Beverage plants)•Weigh feeder applications (Food & Beverage, Chemical, Steel)•CPU 1212C →up to two SIWAREX modules •CPU 1214C or higher→up to eight SIWAREX modules •Full parameter access from the CPU via free downloadable function block →Complete commissioning andcalibration via CPU/HMI•Up to eight parallel connected analog 350 Ohm load cells per SIWAREX (1mV/V, 2mV/V, 3mV/V or 4mV/V)• 1 SIWAREX = 1 scale• 3 digital inputs / 4 digital outputs / 1 speed sensor input • 1 analog output•Ethernet (Modbus TCP & SIWATOOL)•RS485 (Modbus RTU)SIMATIC S7-1200SIWAREX WP251 –Dosing , Batching and Bagging applications•Dosing and batching scales (Chemical-, Food-, Pharma, Packaging industries)•Bagging machines (Bulk solids industries)•Eichfähig gemäß OIML-R51, R61 und R76•CPU 1212C →up to twoSIWAREX modules •CPU 1214C or higher→up to eight SIWAREX modules •Full parameter access from the CPU via free downloadable function block →Complete commissioning andcalibration via CPU/HMI•Up to eight parallel connected analog 350 Ohm load cells per SIWAREX (1mV/V, 2mV/V, 3mV/V or 4mV/V)• 1 SIWAREX = 1 scale• 4 digital inputs / 4 digital outputs • 1 analog output•Ethernet (Modbus TCP & SIWATOOL)•RS485 (Modbus RTU)•RS485 (Modbus RTU)•A CANopen connection to a S7-1200 systemenables integration between devices and the S7-1200 system •Up to 3 CANopen modules per S7-1200 CPU •Connection type to the CAN: 9-pin DSUB (male)•Up to 16 CANopen nodes per module•256 bytes each for inputs and outputs with the CANopen module•Can be integrated in the hardware catalog of the TIA Portal configuration suite •Ready-made function blocks for simple PLC programming available in the TIA Portal • LinkController Area Network CANopen 021620-BMODBUS communication•Use of a CM or CB 1241 module for serial communication•MODBUS instructions of the communication module for simplified MODBUS RTU operation.•MB_COMM_LOAD for basic initialization of the master and slave operation•MB_MASTER and MB_SLAVE for controlling the report and connection allocations•Modbus addressing supports a maximum of 247 slaves (slave numbers 1 to 247).•Maximum of 32 devices per segment in the Modbus network depending on the loading and drive functions of the RS485 interface•Repeater required if using more than 32 devices to extend to the next segment•Open User Communication MODBUS TCP instructions usethe PROFINET port integrated in the CPUOverview of CP 1243-1 product features•Single-width S7-1200 enclosure (30 x 110 x 75)•Temperature range in operation: -20°C to +70°C•Standard rail mounting•Diagnostic LEDs (overall status and detail)•Power supply using backplane bus•1 x Ethernet Port RJ45 (10/100 Mbit/s) for connectinga modem/router such as SCALANCE M•Integrated security functions (VPN and Firewall)•Integration to Scada Systems via Telecontrol Protokolls(DNP3, IEC 60870)Communication Processor for connecting S7-1200 to Ethernet network withadditional Interface and security features firewall and VPN. Integration toScada Systems via Telecontrol Protokolls (DNP3, IEC 60870, TelecontrolBasic).Overview of CP 1243-7 product features•1 connection to LTE (4G) mobile network(different versions for EU and North America)•Single-width S7-1200 enclosure (30 x 110 x 75)•Temperature range in operation from -20ºC to +70ºC•Standard rail mounting•Diagnostic LEDs (overall status and detail)•Integrated security functions (VPN and Firewall)•Access to the CPU Webserver•Email and SMS Alarms•Process Monitoring and Control via Cellular networkPROFIBUS DP-Master CM 1243-5•Connection for up to 16 DP slaves•PG/OP communication:up to 4 connection for HMI and 1 connection for PG •S7 communication:4 S7 connections to other S7 stations with PUT/GETPROFIBUS DP-Slave CM 1242-5•as an intelligent DP slave for communication for the S7-1200 with any other DP masterCommunication for S7-1200 CPUs according to PROFIBUS standard IEC61158/61784SIMATIC S7-1200PROFIBUS communication DP master CM 1243-5 and DP slave CM 1242-5Challenges need innovative answersIndividualization Globalization Production Logistics •Global alliance ofproduction and suppliers •New business modelsProduction•Customized mass production•Top quality at a competitive priceTime to Market New Technology•Critical to success inhighly competitive industries•Pressure on productivity increases, shortening time for new developmentSustainabilityEnergy Consumption•The efficient use of energy and environmentally safe materialsAlways the appropriate controller with comprehensive functionalities!Innovations across the entire automation life cycle!Engineered in TIA PortalSecurity IntegratedIntegrated system diagnosis Technology Integrated+Design and Handling+Safety IntegratedInnovative system functions for more productivity!Protecting intellectual property and investment Protecting against unauthorized project changesSecurity integratedFor Efficient fault analysis, Uniform display concept and reducing plant downtimesSystem DiagnosticsInvestment protection while replacing S7-1200 with S7-1500 thanks to compatibility of programsScalabilityUser-friendly products, high efficiency and a scalableproduct portfolioFeature / Function BenefitIntegrated PROFINET◆Web server for service-and diagnostic informationTechnology Integrated◆perfect integration of drives through motion control functionalities and PROFIdriveIntegrated Trace functionality◆Program-and application diagnostics at real-time for recognizing even sporadic problemsUse of all TIA Portal advantages◆Efficient programming, commissioning and service toolshighest engineering requirementsEasily adapted to suit your needsFeature / Function BenefitSystem ModularityModular board concept is integrated customization ◆Adding I/O without increasing theCPU footprintExtensive built-in hardwarecapabilitiesEthernet,analog in/out-puts, MC I/O, HSC I/O, SD memory ◆Reduced need for additionalspecialty modules,smaller footprintand lower costOne Engineering SoftwareOne user program for logic, HMI, networking & drives. ◆Reduced engineering time/cost, easier to maintain, easier to reuseSafety IntegratedOne Controller for fail-safe and standard-automation◆reduction of types-and components by single automation system for Standard and SafetyOne Controller for Standard andSafetyNewNewFeature / Function Benefit•Basic Controller with SafetyIntegrated•Connecting ext. devices viaPROFIsafe•CPU 1212CF◆•One Controller, one Network andone Engineering for standardand fail-safe automation tasks•Energy Meter ModuleSM1238 AI ◆•Central Measurement andHandling of energy data •MRP at 2 Port CPUs 1215 / 17as client (FW 4.2)•S7-Routing (FW 4.2)◆•Higher flexibility in network set-up (flexible topology) and highernetwork availability •Userdefined web pages as startpages (FW 4.2)◆•Individual and easy adaption of(CPU) web pages to applications•Backup / Restore with retaindata (FW 4.2)◆•Protection of data loss(incl actual process values)Easy PLC selection thanks to an optimized Portfolio2xTMCPU 1211C-1PN CPU 1212C-1PN CPU 1214C-1PN CPU 1215C-2PN CPU 1217C-2PN CPU 1212FC CPU 1214FC CPU 1215FCCSM PM 13x CM / CP22x I/Q 11x SB 1x CB 1x BBSM 1226 F-DO 2x Relay SM 1226F-DO 4 x 24 V DC SM 1226 F-DI 16 x 24 V DCMarienhöher Milchproduktion Agro Waldkirchen GmbH / Waldkirchen, Germany -S7-1200 and Energy Meter ModuleAllow internal balancingduring operation without high effort and cost1Efficient operation and cost optimization2ReliableSystem Protection3Transparency in energy consumption... through the acquisition of energy data in acompact solutionIncrease of energy efficiency ... through analysisof the reactive power consumptionGuaranteeing plant availability ... by monitoring the current peaksCPU 1212C with SM1238 Energy Meter ModuleCPU 1212C with SM1238 and visualization via KTP 400CPU 1212C with SM1238 and visualization via KTP 400ChallengePreviously Now -CPU 1212CJanitza UMG96SM 1238 Energy Meter -Basic Panel, KTP 400TIA Portal BasicProducts usedCustomer benefitsProducts/solution Energy data acquisition of direct marketing(butcher shop, diary, cheese factory, sales room), transparency and internal balancing in an agricultural enterprise End customer /F&BWaldkirchen/GermanyiProject informationSIMATIC Controller Get more Information…Always up-to-date!•interesting news from and about AS, such as product innovations, success news, best practice information etc.Newsletter/newsletter Detailed product information and related subjects!•Product Websites •Twitter, Youtube..Internet/S7-1200References CenterFrom customer to customer! •Customers gives account to there experiences using our Products for their applicationsGetting Started/automation-tasksEasy Introduction to the new SIMATIC controller generation!•Learn about the new possibilitiesand get to know the new Hardware even betterhttps:///referen zen/#language=enSubject to changes and errors. The information given in this document only contains general descriptions and/or performance features which maynot always specifically reflect those described, or which may undergo modification in the course of further development of the products. The requested performance features are binding only when they are expressly agreed upon in the concluded contract.All product designations, product names, etc. may contain trademarks or other rights of Siemens AG, its affiliated companies or third parties. Their unauthorized use may infringe the rights of the respective owner.。
西门子S7-1200系统手册更新说明书

SIMATICS7-12002015 年 6 月版 S7-1200 系统手册更新产品信息S7-1200 文档更新概述尽管我们力求确保产品文档条理清楚与准确无误,但S7-1200可编程控制器系统手册的一些页面仍被发现包含有不完整的、不正确的或误导性的信息。
本文档包含下列更新信息●运动控制 (页 1)●Modbus RTU 指令数据块 (DB) 变量更新 (页 5)●最多支持的 Modbus 从站数量 (页 8)●数字 SB 的接线说明 (页 8)●带 CM 1243-5 PROFIBUS 主站的PtP 模块 (页 8)●CPU 启动属性 (页 8)●删除和重命名数据日志 (页 9)●禁用 SNMP (页 10)●CTRL_HSC 指令 NEW_PERIOD 参数 (页 11)●SM 1231 模拟电流范围 (页 12)●DPRD_DAT 和 DPWR_DAT(为 DP 从站读/写一致性数据)指令 (页 12)●为 Web 服务器导入 Siemens 安全证书 (页 12)●对 CB 1241 使用 USS 协议 (页 12)运动控制本系统更新手册介绍了以下运动控制问题:●执行固件 V4.1.2 中的运动功能块 (FB) (页 2)●运动控制指令版本 (页 2)●MC_Home(使轴归位)指令 (页 2)●MC_WriteParam 指令 (页 4)●MC_ChangeDynamic 指令 (页 4)●组态轴 - 应用周期 MC-Servo (OB91) (页 4)●重命名工艺对象 (页 4)●ErrorID 和 ErrorInfo (页 5)© Siemens AG 2015. 保留所有权利执行固件 V4.1.2 中的运动功能块 (FB)为确保能正确运行 S7-1200 固件 V4.1.2 的运动控制程序,必须从 OB 1 或 OB 1所调用的块执行所有运动功能块。
要无限制使用运动控制功能,请使用固件 V4.1.1。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
/s7-1200SIMATIC S7-1200S7-1200 可编程控制器使用TIA 博途软件平台进行工程组态产品样本01.201523S7-1200 可编程控制器产品样本 • 01.2015技术综述 4通信CM 1241 通信模块11CSM 1277 紧凑型交换机模块 12CM 1243-5 PROFIBUS DP 主站模块 13CM 1242-5 PROFIBUS DP 从站模块 13CP 1242-7 GPRS 模块 14TS 模块14CM 1278 I/O 主站模块 14S7-1200 CPU CPU 1211C 16CPU 1212C 18CPU 1214C 20CPU 1215C 22CPU 1217C24输入/输出扩展模块 SM (信号模块)SM 1221 数字量输入模块 26SM 1222 数字量输出模块26SM 1223 数字量输入/直流输出模块 27SM 1223 数字量输入/交流输出模块 28SM 1231 模拟量输入模块 28SM 1232 模拟量输出模块29SM 1231 热电偶和热电阻模拟量输入模块 29SM 1234 模拟量输入/输出模块30输入/输出扩展模块 SB 及通信板 CB (信号板) SB 1221 数字量输入信号板 30SB 1222 数字量输出信号板 30SB 1223 数字量输入/输出信号板31SB 1231 热电偶和热电阻模拟量输入信号板 32SB 1231 模拟量输入信号板 32SB 1232 模拟量输出信号板 33CB 1241 RS485 通信信号板 33附件电源模块 PM 1207 34输入仿真器 SIM 1274 34存储卡34TIA 博途产品范围总览 35TIA 博途安装的系统要求 35SIMATIC HMI 系列面板 36附录附录 1 — 中央处理单元接线图 38— 扩展模块接线图41附录 2 — 通用技术规范 45附录 3 — 订货数据464SIMATIC S7-1200 技术综述西门子控制器家族产品西门子控制器系列是一个完整的产品组合,包括从高性能可编程逻辑控制器的书本型迷你控制器 LOGO! 到基于 PC 的控制器,无论多么苛刻的要求,它都能满足要求 — 根据具体应用需求及预算,灵活组合、定制(系列化的控制器家族产品满足你的不同应用及需求)。
SIMATIC S7-1200SIMATIC S7-1200 具有集成 PROFINET 接口、强大的集成工艺功能和灵活的可扩展性等特点,为各种工艺任务提供了简单的通信和有SIMATIC S7-1200 小型可编程控制器充分满足中小型自动化的系统需求。
在研发过程中充分考虑了系统、控制器、人机界面和软件的无缝整合和高效协调的需求。
SIMATIC S7-1200 系列的问世,标志着西门子在原有产品系列基础上拓展了产品版图,代表了未来小型可编程控制器的发展方向,西门子也将一如既往开拓创新,引领自动化潮流。
效的解决方案,尤其满足多种应用中完全不同的自动化需求。
通信模块(CM )I/O 端子连接器PROFINET 接口CPU信号板(SB )信号模块(SM )西门子 SIMATIC 系列产品定位SIMATIC S7-400应用复杂性I/O 能力,程序大小,指令速度,通讯能力, ...SIMATIC S7-300PROFIBUS DP / RS485PROFINET / TCP/IPSIMATIC S7-1200 /S7-200 SMARTSIMATIC S7-200LOGO! 8SIMATIC S7-1500LOGO!0BA65S7-1200 外形及安装安装简单方便所有的 SIMATIC S7-1200 硬件都具有内置安装夹,能够方便地安装在一个标准的 35 mm DIN 导轨上。
这些内置的安装夹可以咬合到某个伸出位置,以便在需要进行背板悬挂安装时提供安装孔。
SIMATIC S7-1200 硬件可进行竖直安装或水平安装。
这些特性为用户安装 PLC 提供了最大的灵活性,同时也使得 SIMATIC S7-1200 成为众多应用场合的理想选择。
可拆卸的端子所有的 SIMATIC S7-1200 硬件都配备了可拆卸的端子板。
因此只需要进行一次接线即可,从而在项目的启动和调试阶段节省了宝贵的时间。
除此之外,它还简化了硬件组件的更换过程。
紧凑的结构所有的 SIMATIC S7-1200 硬件在设计时都力求紧凑,以节省在控制柜中的安装占用空间。
例如,CPU 1215C 的宽度仅有 130 mm ,CPU 1214C 的宽度仅有 110 mm ,CPU 1212C 和 CPU 1211C 的宽度也仅有 90 mm 。
通信模块和信号模块的体积也十分小巧,使得这个紧凑的模块化系统大大节省了空间,从而在安装过程中为您提供了最高的效率和灵活性。
集成 PROFINET 接口集成工艺集成的 PROFINET 接口用于编程、HMI 通信和 PLC 间的通信。
此外它还通过开放的以太网协议支持与第三方设备的通信。
该接口带一个具有自动交叉网线(auto-cross-over )功能的 RJ45 连接器,提供 10/100 Mbit/s 的数据传输速率,支持以下协议:TCP/高速输入SIMATIC S7-1200 控制器带有多达 6 个高速计数器。
其中 3 个输入为 100 kHz ,3 个输入为 30 kHz ,用于计数和测量。
高速输出SIMATIC S7-1200 控制器集成了四个 100 kHz 的高速脉冲输出,用于步进电机或伺服驱动器的速度和位置控制。
(使用 PLCopen 运动控制指令)这四个输出都可以输出脉宽调制信号来控制电机速度、阀位置或加热元件的占空比。
SIMATIC S7-1217C 支持6路高速计数,其中4路最快支持1MHZ ,支持PWM/PTO 最快1MHZ 输出。
IP native 、ISO-on-TCP 和 S7 通信。
最大的连接数为 23 个连接,其中:• 3 个连接用于 HMI 与 CPU 的通信• 1 个连接用于编程设备(PG )与 CPU 的通信• 8 个连接用于 Open IE (TCP ,ISO-on-TCP )的编程通信,使用 T-block 指令来实现,可用于 S7-1200 之间的通信,S7-1200 与 S7-300/400 的通信• 3个连接用于 S7 通信的服务器端连接,可以实现与 S7-200,S7-300/400 的以太网 S7 通信• 8个连接用于S7 通信的客户端连接,可以实现与S7-200,S7-300/400的以太网S7通信6SIMATIC S7-1200 CPU 最多可以添加三个通信模块,支持 PROFIBUS 主从站通信,RS485 和 RS232 通信模块为点对点的串行通信提供连接及I/O 连接主站。
对该通信的组态和编程采用了扩展指令或库功能、USS 驱动协议、Modbus RTU 主站和从站协议,它们都包含在 SIMATIC STEP 7 Basic 工程组态系统中。
通信模块简单远程控制应用新的通信处理器 CP 1242-7 可以通过简单 HUB (集线器)或移动电话网络或 Internet (互联网)同时监视和控制分布式的 S7-1200 单元。
速度和位置控制 PLCopen 运动控制指令•PLCopen 是一个国际性的运动控制标准•支持绝对、相对运动和在线改变速度的运动•支持找原点和爬坡控制•用于步进或伺服电机的简单启动和试运行•提供在线检测PID 控制SIMATIC S7-1200 控制器中提供了多达16 个带自动调节功能的 PID 控制回路,用于简单的闭环过程控制。
存储器智能设备为用户指令和数据提供高达150 KB 的共用工作内存。
同时还提供了高达 4 MB 的集成装载内存和 10 KB 的掉电保持内存。
SIMATIC 存储卡可选,通过不同的设置可用作编程卡、传送卡和固件更新卡三种功能。
通过它可以方便地将程序传输至多个CPU。
该卡还可以用来存储各种文件或更新控制器系统的固件。
(对V3.0及之后的版本不适用)通过简单的组态,S7-1200控制器通过对I/O映射区的读写操作可实现主从架构的分布式I/O应用。
CPU可以连接在不同的网络系统中。
信号板一块信号板可以连接至所有的CPU,由此您可以通过向控制器添加数字量或模拟量输入/输出通道来量身订制 CPU,而不必改变其体积。
SIMATIC S7-1200控制器的模块化设计允许您按照实际的应用需求准确地设计控制器系统。
信号模块多达 8 个信号模块可连接到扩展能力最高的 CPU,以支持更多的数字量和模拟量输入/输出信号连接。
7可扩展的灵活设计8通信S7-1200 家族提供各种各样的通信选项以满足您所有的网络要求。
• I-Device • PROFINET • PROFIBUS • 远距离控制通信• 点对点(PtP )通信• USS 通信• Modbus RTU • AS-i•PROFINET集成的• 编程设备• HMI 设备• 其它• TCP/IP • ISO-on-TCP• S7 组网简单网连接,大的组网灵活性,可以将紧凑型交换机模块 CSM 1277 和 SIMATIC S7-1200 一起使用,以便轻松组建成一个统一或混合的网络(具有线型、树型或星型的拓扑结构)。
CSM 1277 是一个 4 端口的非托管交换机,用户可以通过它将 SIMATIC S7-1200 连接到最多 3 个附加设备。
除此之外,如果将 SIMATIC S7-1200 和 SIMATIC NET 工业无线局域网组件一起使用,您还可以构建一个全新的组网规模。
PROFINET 通信S7-1200 CPU 可以与以下设备通信:• 编程设备• 人机界面采用公开的用户通信和分布式 I/O 指令,S7-1200 CPU 可以和以下设备通信:• 其他的 CPU• PROFINET I/O 设备(例如 ET 200 和 SINAMICS )• 使用标准的 TCP 通信协议的设备PROFIBUS通过使用 PROFIBUS 主站和从站通信模块,S7-1200 CPU 支持PROFIBUS 通信标准。
GPRS 实现监视和控制的简单远程控制。
11通信模块CM 1241 通信模块外观参数设定通过 STEP 7 Basic V13 SP1,通信模块 CM1241 的参数设定具有用户友好且简单的特点。
通过集成在 STEP 7 Basic V13 SP1中的参数设定环境,用户可以设定模块的特性,例如:- 执行正在使用的协议驱动- 驱动指定的特性技术规范CM 1241 RS485/422技术规范CM 1241 RS232技术规范• 用于执行强大的点对点高速串行通信• 执行协议:ASCII ,USS drive protocol ,Modbus RTU • 可装载其他协议• 通过 STEP 7 Basic V13 SP1,简化参数设定应用通信模块 CM1241 用于执行强大的点对点高速串行通信,点对点通信示例如下:• SIMATIC S7 自动化系统及其他制造商的系统• 打印机• 机械手控制• 调制解调器• 扫描仪• 条形码扫描器,等等功能通信模块 CM1241 可直接使用以下标准协议:• ASCII用于单工传输协议的第三方接口,例如带起始码和结束码的协议或带块检验符的协议。