标准解读

《GB/T 15969.5-2002 可编程序控制器 第5部分:通信》作为中国国家标准的一部分,专注于规定可编程逻辑控制器(PLC)的通信规范。与未明确提及的前一版标准或同类标准相比,该标准引入了多项更新和改进,旨在提升PLC通信的兼容性、效率及安全性。以下几点概述了其主要变更内容:

  1. 通信协议扩展:标准可能详细定义或采纳了新的通信协议,以适应更广泛的工业网络环境,包括但不限于现场总线技术、工业以太网协议,以及对TCP/IP等开放标准的支持,提高了不同厂商设备间的互操作性。

  2. 数据编码与传输格式:更新了数据编码规则和传输格式,确保数据在不同系统间传输时的准确性和高效性。这可能包括对数据包结构、错误检测代码以及数据压缩和加密方法的优化。

  3. 通信服务和功能:增加了对高级通信服务的支持,如远程程序调用、数据共享、事件通知和分布式控制功能,以满足复杂工业自动化系统的需求。

  4. 安全要求:鉴于工业控制系统日益增长的安全威胁,该标准可能强化了通信安全方面的规定,包括身份验证、访问控制、数据加密及异常处理机制,以保护通信过程免受非法侵入和干扰。

  5. 兼容性与互操作性测试:明确了PLC通信模块的兼容性测试方法和互操作性要求,为制造商提供统一的测试标准,确保产品符合行业统一的通信性能指标。

  6. 故障诊断与维护:增强了关于通信故障诊断和系统维护的规定,提供了故障代码定义、在线监测和故障恢复指导,便于用户快速定位和解决问题。

  7. 文档与支持信息:要求制造商提供更加详尽的通信接口说明文档和技术支持信息,帮助用户更好地理解和实施标准中的通信规范。


如需获取更多详尽信息,请直接参考下方经官方授权发布的权威标准文档。

....

查看全部

  • 现行
  • 正在执行有效
  • 2002-11-25 颁布
  • 2003-05-01 实施
©正版授权
GB-T15969.5-2002 可编程序控制器 第5部分: 通信_第1页
GB-T15969.5-2002 可编程序控制器 第5部分: 通信_第2页
GB-T15969.5-2002 可编程序控制器 第5部分: 通信_第3页
GB-T15969.5-2002 可编程序控制器 第5部分: 通信_第4页
GB-T15969.5-2002 可编程序控制器 第5部分: 通信_第5页
已阅读5页,还剩83页未读 继续免费阅读

下载本文档

GB-T15969.5-2002 可编程序控制器 第5部分: 通信-免费下载试读页

文档简介

ICS35.240.50

N18

萄黔

中华人民共和国国家标准

GB/T15969.5一2002

idtIEC61131一5:2000

可编程序控制器

第5部分:通信

Programmablecontrollers

Part5:Communications

2002门1一25发布2003一05一01实施

中华人民共和国

国家质量监督检验检疫总局

发布

GB/T15969.5-2002

目次

前言················································································································⋯⋯N

IEC前言·········································································································⋯⋯v.

1范围···············································································。····························⋯⋯1

2引用标准····························”·······。······························································..···⋯⋯1

3定义··································································································。······..···⋯⋯2

4符号和缩略语··········。······································。·····································⋯⋯‘····⋯⋯3

5模型····················································⋯⋯,’’··················································⋯⋯4

5.1PLC网络通信模型·····································································.·..·.....·..·.··....⋯⋯4

5.2PLC功能模型·····································,··························································⋯⋯4

5.3PLC硬件模型·····································,··························································⋯⋯5

5.4软件模型··········,.··········,.·································,’·································⋯⋯5

6PI£通信服务························⋯⋯:.:.·····················································.·..·······⋯⋯6

6.1PLC子系统及其状态···························································,·························⋯⋯6

6.2应用特指的功能······················································································.······⋯⋯12

7PLC通信功能块······························································,······························⋯⋯16

7.1通信功能块概述。····················································································.······,··⋯16

7.2通信FB参数的语义··················································································⋯⋯17

7.3设备检验·····································································。··································⋯21

7.4轮询数据采集·······················。········································································⋯⋯24

7.5编程数据采集······。·····································。·····················································一27

7.6参数控制······································································································⋯⋯36

7.7互锁控制·······························....................................................···············⋯⋯38

7.8编程报替报告······················。·············。···。。······················································⋯⋯45

7.9连接管理⋯‘··⋯‘二’..............................................................................................49

7.10通信功能块的应用举例..···································································⋯⋯‘·····⋯⋯52

8一致性和实现者特指的特性和参数···························································⋯⋯‘二‘二‘·“二55

8.1一致性·······················································································。·················。··⋯55

8.2实现特指的性能和参数······································································⋯⋯’二’二’二‘二55

附录A(标准的附录)映象到ISO/IEC9506-5·························,·······························⋯⋯57

附录B(标准的附录)使用GB/T16720.2的PLC行为特性··········································⋯⋯75

图1GB/T15969.5的范围·····,············································································⋯⋯1

图2PLC通信模型······················································································。.········⋯⋯4

图3PLC的功能模型··················································..·······························..········⋯⋯4

图4PLC的硬件模型...................................................................................................5

图5PLC的软件模型··················································································...········⋯⋯6

图6PLC的电源····································································································,·⋯9

GB/T15969.5-2002

图7状态信息的类型描述····················································································⋯⋯n

图8互锁控制的时间线·.......................................................................................·一13

图9REMOTE-VAR功能···················································································⋯⋯18

图1。状态信号发送原理····················································································⋯⋯19

图11ERROR和STATUS输出的时序图······················································⋯⋯‘二‘·⋯20

图12STATUS功能块·····················································································⋯⋯21

图13USTATUS功能块·····················································⋯⋯‘····················⋯⋯‘··⋯22

图14STATUS功能块的时序图···········································,·······························⋯⋯22

图15STATUS功能块的状态图·····················································‘···········。·········⋯⋯23

图16USTATUS功能块的状态图··········································································⋯⋯24

图17READ功能块·····························································································⋯⋯25

图18READ功能块的时序图······。··················。·················································⋯⋯‘’·⋯26

图19READ功能块的状态图··················。···············································。···············一26

图2。编程数据采集数据流··········。·····························。···········································⋯⋯27

图21USEND功能块························································································⋯⋯28

图22URCV功能块·······································。·························、··························⋯⋯28

图23USEND和URCV功能块的时序图··································································⋯⋯29

图24USEND功能块的状态图·············································································⋯⋯29

图25URCV功能块的状态图····························。···································,·········⋯⋯‘··⋯30

图26BSEND功能块···········································。············································⋯⋯32

图27BRCV功能块·····································································。·························一32

图28BSEND和BRCV功能块的时序图···,······························································⋯⋯33

图29BSEND功能块的状态图························。·········。··································⋯⋯’二”·‘二33

图30BRCV功能块的状态图··········。···································。··································⋯⋯35

图31WRI丁E功能块。·····································································。。·········。········⋯⋯37

图32WRITE功能块的时序图·························································⋯⋯‘········⋯⋯‘’·⋯37

图33WRITE功能块的状态图··············································································⋯⋯38

图34SEND功能块··················。········。········。························································⋯⋯39

图35RCV功能块···,·····,······,‘,···,······,,······,,·····································⋯⋯40

图36SEND和RCV功能块的时序图·····················。···············································⋯⋯41

图37SEND功能块的状态图················································。····················。。········。·⋯⋯42

图38RCV功能块的状态图················。································································⋯⋯43

图39NOTIFY功能块··································································。·······················⋯⋯45

图40ALARM功能块·...............................................................................................46

图41ALARM功能块的时序图·····································································⋯⋯’二‘··⋯46

图42NOTIFY功能块的状态图···································,························,·················⋯⋯47

图43ALARM功能块的状态图·············································································。⋯⋯48

图44CONNECT功能块.............................................................................................50

图45CONNECT功能块的时序图··············。···························································⋯⋯50

图46CONNECT功能块的状态图··········································································⋯⋯51

GB/T159695-2002

图47功能块图语言的举例··················································································⋯⋯55

表1表述状态的实体···························································································⋯⋯6

表2PLC摘要状态·······················································································⋯⋯7

表31/O子系统的状态······················································································⋯⋯8

表4处理单元的状态·····················································································⋯⋯’二9

表5电源的状态································································································⋯⋯9

表6存储器的状态························································································⋯⋯10

表7通信子系统的状态·························································”··························⋯⋯10

表8实现者特指的子系统..........................................................................................10

表9状态信息的表述·························································································⋯⋯n

表10设备检验特性··································································,·······················⋯⋯’二12

表11数据采集特性·····································,.·····················································⋯⋯13

表12控制性能····························。····································································⋯⋯14

表13报警报告的性能···················。····················。································,················⋯⋯14

表14可启动和可停止的单元·········································,·····································⋯⋯14

表151/O状态的含义························。···························································⋯⋯‘二‘二15

表161/O状态···················。·····································································”······⋯⋯15

表17执行和1/O控制性能····················································································⋯⋯15

表18可装载单元·.....................................................................................................16

表19应用程序传送特性········································。·································”·········⋯⋯16

表20连接管理性能····························································································⋯⋯16

表21通信功能块概述······················································。·························⋯⋯’二’二’二17

表22通信FB参数的语义··········。·····································································⋯⋯18

表23SCOPE参数的值····················································································⋯⋯19

表24STATUS的输出值及其说明···················································。·················⋯⋯20

表25STATUS状态图的转换·..................................................................................23

表26STATUS状态图的动作表··········································································⋯⋯23

表27USTATUS状态图的转换··························································,.·····⋯⋯’二‘二‘二‘二24

表28USTATUS状态图的动作表············。······························································⋯⋯24

表29READ状态图的转换····················································································⋯⋯26

表30READ状态图的动作表··········。····································································⋯⋯27

表31USEND功能块状态图的转换················································。······。················⋯⋯29

表32USEND功能块状态图的动作表·····································································⋯⋯30

表33URCV状态图的转换。···················,·······························································⋯⋯30

表34URCV功能块状态图的动作表···························································⋯⋯”·’二‘二’二31

表35BSEND状态图的转换··············································································⋯⋯‘二34

表36BSEND状态图的动作表············································································⋯⋯34

表37BRCV状态图的转换····················································································⋯⋯35

表38BRCV状态图的动作表················································································⋯⋯36

表39WRITE状态图的转换·,·········。·····································································⋯⋯38

GB/T15969.5-2002

表40WRITE状态图的动作表···········································································⋯⋯38

表41SEND状态图的转换···································“····················”·······”··············⋯⋯42

表42SEND状态图的动作表················································································⋯⋯43

表43RCV状态图的转换······································”············⋯⋯‘······”···········⋯⋯‘·44

表44RCV状态图的动作表······················“···········”··········································一44

表45NOTIFY状态图的转换···········································⋯⋯‘·‘二’·········⋯⋯‘,’’二’二‘二47

表46NOTIFY状态图的动作表·································································⋯⋯‘·’二‘二’二47

表47ALARM状态图的转换·························································”················⋯⋯48

表48ALARM状态图的动作表·····················”··············,·······································⋯⋯49

表49CONNECT状态图的转换·············································⋯⋯‘·.·················⋯⋯‘二”’51

表50CONNECT状态图的动作表················································‘·······················⋯⋯’二52

表51相符的表头和相关的表···············································································⋯⋯55

表52实现特指的特性和参数····································”·····································⋯⋯“’56

表Al类型描述的映象························································⋯⋯‘··········⋯⋯‘·‘二‘二’二59

表A2SCOPE和SC一ID参数的映象······································,,······························⋯⋯59

表A3直接表达式的大小前缀·····················································“············⋯⋯‘二’二‘二60

表A4STATUS状态图的转换映象·······································⋯⋯‘二’二’二’二‘“’二’·‘二’·”’61

表A5STATUS状态图的动作映象······································································⋯⋯61

表A6USTATUS状态图的转换映象······················································⋯⋯’二‘二’二61

表A7USTATUS状态图的动作映象······································⋯⋯‘··⋯⋯’二‘’·‘二‘二‘二“·’二62

表A8READ状态图的转换映象···········································”⋯‘·‘·····⋯⋯’二’二‘二’二’二’二62

表A9READ状态图的动作映象··················。·····················································⋯⋯’二62

表A10US

温馨提示

  • 1. 本站所提供的标准文本仅供个人学习、研究之用,未经授权,严禁复制、发行、汇编、翻译或网络传播等,侵权必究。
  • 2. 本站所提供的标准均为PDF格式电子版文本(可阅读打印),因数字商品的特殊性,一经售出,不提供退换货服务。
  • 3. 标准文档要求电子版与印刷版保持一致,所以下载的文档中可能包含空白页,非文档质量问题。

评论

0/150

提交评论