GSK986 使用手册之PLC编程篇 .pdf
(498.11 KB, 售价: 5 E币)
指令说明目录
第一章 顺序程序编制流程................................................................................................................... 1
1.1 PLC 规格................................................................................................................................... 2
1.2 顺序程序的概念...................................................................................................................... 2
1.3 分配接口.................................................................................................................................. 3
1.4 编制梯形图.............................................................................................................................. 3
1.5 PLC 指令表............................................................................................................................... 3
1.6 调试顺序程序.......................................................................................................................... 3
第二章 顺序程序................................................................................................................................... 1
2.1 顺序程序的执行过程.............................................................................................................. 1
2.2 循环执行.................................................................................................................................. 2
2.3 执行的优先顺序(第一级,第二级) ...................................................................................2
2.4 顺序程序结构.......................................................................................................................... 3
2.5 输入/输出信号的处理.......................................................................................................... 4
2.6 互锁.......................................................................................................................................... 6
第三章 地址........................................................................................................................................... 1
3.1 机床→PLC 的地址(X) ......................................................................................................... 1
3.2 PLC→机床的地址(Y) ........................................................................................................... 2
3.3 PLC→CNC 的地址(G) ........................................................................................................... 3
3.4 CNC→PLC 的地址(F) ........................................................................................................... 3
3.5 内部继电器地址(R) ............................................................................................................ 3
3.6 信息显示请求地址(A) ........................................................................................................ 3
3.7 保持型继电器地址(K) ........................................................................................................ 3
3.8 计数器地址(C) .................................................................................................................... 3
3.9 计数器预置值地址(DC) ...................................................................................................... 3
3.10 定时器地址(T) .................................................................................................................. 4
3.11 计数器预置值地址(DT) .....................................................................................................4
3.12 数据表地址(D) .................................................................................................................. 4
3.13 标记地址(L) ...................................................................................................................... 4
3.14 子程序号(P) ...................................................................................................................... 4
第四章 基本指令................................................................................................................................... 1
4.1 LD, LDI, OUT, OUTN 指令..................................................................................................... 1
4.2 AND, ANI 指令......................................................................................................................... 2
4.3 OR, ORI 指令........................................................................................................................... 2
4.4 ORB 指令................................................................................................................................... 3
4.5 ANB 指令................................................................................................................................... 4
第五章 功能指令................................................................................................................................... 1
5.1 END1(第一级顺序程序结束) ...............................................................................................1
5.2 END2(第二级顺序程序结束) ...............................................................................................2
5.3 SET(置位) ............................................................................................................................ 2
5.4 RST(复位) ............................................................................................................................ 3
5.5 CMP(二进制数据比较) ........................................................................................................ 3
5.6 TMRB(定时器) ...................................................................................................................... 4
5.7 CTRC(二进制计数器) .......................................................................................................... 5
5.8 DECB(二进制译码) .............................................................................................................. 6
5.9 CODB(二进制代码转换) ...................................................................................................... 7
5.10 JMPB(标号跳转) ................................................................................................................ 9
5.11 LBL(标号) ...........................................................................................................................9
5.12 CALL(调用子程序) .......................................................................................................... 10
5.13 SP(子程序) .......................................................................................................................113
第一篇操作说明
5.14 SPE(子程序结束) .............................................................................................................11
5.15 ROTB(二进制旋转控制) ...................................................................................................12
5.16 MOVE(二进制逻辑乘数据传送) ....................................................................................14
5.17 PARI(奇偶校验) ...............................................................................................................15
5.18 ADDB( 二进制数据相加) ................................................................................................ 16
5.19 SUBB( 二进制数据相减) ................................................................................................. 16
5.20 DIVB( 二进制数据相除) ..................................................................................................17
5.21 MULB( 二进制数据相乘) ................................................................................................18
5.22 MOVB( 单字节数据传递) ................................................................................................19
5.23 MOVW( 双字节数据传递) .............................................................................................. 19
5.24 MOVN( 1、 2、 4 字节数据传递) .................................................................................... 20
5.25 COIN( 比较相等) ..............................................................................................................20
5.26 ORE( 异或) ....................................................................................................................... 21
5.27 ORF( 或) ............................................................................................................................23
5.28 ANDF( 与) .........................................................................................................................24
5.29 NOT( 非) ........................................................................................................................... 25
5.30 ALT( 交替输出) ................................................................................................................ 26
5.31 SFT( 寄存器移位) .............................................................................................................26
5.32 DSCH(数据检索) .............................................................................................................27
5.33 DIFU( 上升沿检测) .......................................................................................................... 28
5.34 DIFD( 上升沿检测) .......................................................................................................... 28
5.35 COM( 公共线控制) .......................................................................................................... 29
5.36 COME( 公共线控制结束) ................................................................................................30
第六章 梯形图编辑限制....................................................................................................................... 1
附 录 2
附录一 X 地址........................................................................................................................................ 2
附录二 Y 地址........................................................................................................................................ 5
附录三 F 地址........................................................................................................................................ 8
附录四 G 地址........................................................................................................................................ 9
【必读】版权免责声明
1、本主题所有言论和内容纯属会员个人意见,与本论坛立场无关。2、本站对所发内容真实性、客观性、可用性不做任何保证也不负任何责任,网友之间仅出于学习目的进行交流。3、对提供的数字内容不拥有任何权利,其版权归原著者拥有。请勿将该数字内容进行商业交易、转载等行为,该内容只为学习所提供,使用后发生的一切问题与本站无关。 4、本网站不保证本站提供的下载资源的准确性、安全性和完整性;同时本网站也不承担用户因使用这些下载资源对自己和他人造成任何形式的损失或伤害。 5、本网站所有软件和资料均为网友推荐收集整理而来,仅供学习用途使用,请务必下载后两小时内删除,禁止商用。6、如有侵犯你版权的,请及时联系我们(电子邮箱1370723259@qq.com)指出,本站将立即改正。
|