罗时俊 丁勇杰
摘 要:西门子S7-300PLC系统时钟在自动控制系统中的应用非常广泛,但S7-300PLC系统时钟的现场应用程序设计比较复杂。文章针对S7-300PLC系统时钟的应用进行了详细的分析。并从S7-300PLC系统时钟的设置方法,S7-300PLC系统时钟读取方法以及S7-300PLC系统时钟的数据类型等方面进行讲解。同时通过工业现场实例结合SIMATIC Wincc flexible 2008对S7-300PLC系统时钟的应用进行分析,希望能为相关专业技术人员提供参考。关键词:西门子;S7-300PLC;系统时钟;自动化控制系统;自动化;西门子PLC中图分类号:U462.1 文献标识码:B 文章编号:1671-7988(2020)01-67-08
Abstract: The application of the Siemens S7-300PLC system clock is extremely widespread in automatic control system, but the S7-300PLC system clock is quite complex in the application of the field programming. This article has carried on the detailed analysis in view of the S7-300PLC system clock application. And explanation the plc system clock from the method of set the S7-300PLC system clock, the S7-300PLC system clocks reading method to S7-300PLC system clocks data types .Meanwhile, analyse the application of S7-300PLC system clock through the industry scene example to unifies SIMATIC Wincc flexible 2008, hoped can provide the reference for the correlation professionals.Keywords: Siemens; S7-300 PLC; System clock; Automation; Automatic control system; Siemens PLCCLC NO.: U462.1 Document Code: B Article ID: 1671-7988(2020)01-67-08
引言
西門子S7-300 PLC是模块化PLC系统,它主要由电源模块、CPU模块、接口模块、信号模块以及通讯模块等模块组成,能够满足大、中、小等不同控制规模的性能控制要求,所以它在工控行业中的应用非常广。
另外, S7-300PLC能够很好的与人机界面(HMI)进行数据交换,对控制对象进行可视化的操作与控制。当S7-300PLC与HMI通过相关通讯连接上并进行相应组态以后,用户只需在人机界面(HMI)中输入数据,这些数据就会被传送到S7-300PLC中,并通过PLC中编写的控制程序进行相关控制。
在工业现场控制以及工业生产中,时间是最为常用的参数,其应用非常广泛。如设定某工位的起始时间和结束时间;统计一个班次的生产时间,或者每个班次时间到后生产的产品数量;自动化设备的自动关机时间与自动启动时间控制;冲压行业中冬季液压油自动加热,液压油温度分季节冷却控制等等。但在实际应用中,由于受编程设计人员的能力、现场的复杂情况等因素的影响,S7-300PLC的系统时钟在应用过程中经常会遇到较大困难。……