AB ControlLogixPLC 跟Intouch 通讯

时间:2024-10-19 06:55:54

1、配置ControlLogix 底板的连接运行SMC( System Management Console)即可在SMC 中看到DAServer Manager窗口,如下图所示:

AB ControlLogixPLC 跟Intouch 通讯

2、选中并展开DASever Manager / Default Group / Local,然后再展开ArchestrA.DASABCIP.3 ,选中Configuration。

AB ControlLogixPLC 跟Intouch 通讯

3、右击Configuration,选择Add PORT_CIP Object:使用缺省的设置。

AB ControlLogixPLC 跟Intouch 通讯

4、右击New PORT_CIP_000,选取Add ENB_CLX_Object,建立一个新的连接。本例中的连接使用ControlLogix backplane 的以太网模块(1756-ENET)。

AB ControlLogixPLC 跟Intouch 通讯

5、右击New ENB_CLX_000,选取Add BACKPLANE_CLX_Object

AB ControlLogixPLC 跟Intouch 通讯
AB ControlLogixPLC 跟Intouch 通讯

6、右击New BACKPLANE_CLX_000,选取Add LOGIX5000_CLX_Object

AB ControlLogixPLC 跟Intouch 通讯
AB ControlLogixPLC 跟Intouch 通讯

7、选择Device Groups,增加一个主题名ABPLC_Topic,用于intouch 访问.

AB ControlLogixPLC 跟Intouch 通讯

8、至此,SMC DASSERVER 配置完成,激活驱动即可.

9、配置INTOUCH 访问名

AB ControlLogixPLC 跟Intouch 通讯
AB ControlLogixPLC 跟Intouch 通讯
AB ControlLogixPLC 跟Intouch 通讯

10、配置完成后,在intouch 中建立标签的时候,就可以使用PLC5000 这个访问了.

11、建立INTOUCH 标签:在intouch 里建立标签,需要按照下面的方式建立:

AB ControlLogixPLC 跟Intouch 通讯

12、下面分别介绍DI DO AI 等标签的建立:① DI 标签名DITEST 访问名PLC5000 IO 离散型条目:Local:2:I.Data.2

AB ControlLogixPLC 跟Intouch 通讯
AB ControlLogixPLC 跟Intouch 通讯

13、② DO 标签名DOTEST 访问名PLC5000 IO 离散型条目:Local:3:O.Data.1

AB ControlLogixPLC 跟Intouch 通讯
AB ControlLogixPLC 跟Intouch 通讯

14、③ AI 标签名AITEST 访问名PLC5000 IO 离散型条目: Local:4:I.Ch0Data

AB ControlLogixPLC 跟Intouch 通讯
AB ControlLogixPLC 跟Intouch 通讯

15、④ 全局标签标签名E1 访问名PLC5000 IO 整型条目: E1

AB ControlLogixPLC 跟Intouch 通讯

16、⑤ 局部标签标签名P1 访问名PLC5000 IO 整型条目: Program:MainProgram.P1

AB ControlLogixPLC 跟Intouch 通讯

17、条目: Program:MainProgram.P1 的特殊说明:

AB ControlLogixPLC 跟Intouch 通讯

18、如果是全局的标签(控制器标签),不需要限鬃鹣哺什么前缀,直接写标签名就可以,比如E1若是局部标签,则需要Program 前缀,后面跟子程序名,比如MainProgram 或者AAA 这样的,在后面就是子程序里面的标签名.子程序内的标签只能当前子程序内使用,别的子程序是不能使用的,比如:P1 标签只能在MainProgram 子程序内的程序可以使用,在AAA 子程序内是无法使用的.另外,注意以下设置:可以按照如上所述,建立一个通讯状态点,用于指示上位intouch 跟PLC 的通讯状态,当SYSStatus=1 时表示通讯成功SYSStatus=0 表示通讯失败.

AB ControlLogixPLC 跟Intouch 通讯
© 手抄报圈