目录
前言 ............................................................................................................................................. - 1 -
本手册的内容构成 .......................................................................................................................... - 1 -
手册的适用范围 .............................................................................................................................. - 3 -
手册中的约定俗成 .......................................................................................................................... - 4 -
关联手册 .......................................................................................................................................... - 5 -
手册的获取途径 .............................................................................................................................. - 6 -
1 编程方式概述 .............................................................................................................................. 1
1-1.可编程控制器的特点 ................................................................................................................. 2
1-2.编程语言 .................................................................................................................................... 3
1-2-1.种类 ..................................................................................................................................... 3
1-2-2.互换性 ................................................................................................................................. 3
1-3.编程方式 .................................................................................................................................... 4
2 软元件的作用和功能 .................................................................................................................. 5
2-1.软元件概述................................................................................................................................. 6
2-2.软元件的构造 ........................................................................................................................... 10
2-2-1.存储器的构造 ................................................................................................................... 10
2-2-2.位软元件的构造 ............................................................................................................... 12
2-3.软元件一览表 ........................................................................................................................... 13
2-3-1.软元件一览 ....................................................................................................................... 13
2-3-2.停电保持区域及其设定方法 ........................................................................................... 20
2-4.输入输出继电器(X、Y) ..................................................................................................... 22
2-5.辅助继电器(M) ................................................................................................................... 25
2-6.状态继电器(S) .................................................................................................................... 27
2-7.定时器(T) ............................................................................................................................ 28
2-8.计数器(C) ............................................................................................................................ 31
2-9.数据寄存器(D) .................................................................................................................... 34
2-9-1.位软元件组成字的应用举例 ........................................................................................... 37
2-9-2.偏移量应用举例 ............................................................................................................... 38
2-10.常数 ........................................................................................................................................ 39
2-11.编程原则(中断、子程序、响应滞后、双线圈) ............................................................. 40
3 基本顺控指令说明 .................................................................................................................... 44
3-1.基本指令一览表 ....................................................................................................................... 46
3-2.[LD]、[LDI]、[OUT] .............................................................................................................. 49
3-3.[AND]、[ANI] ......................................................................................................................... 50
3-4.[OR]、[ORI] ............................................................................................................................. 51
3-5.[LDP]、[LDF]、[ANDP]、[ANDF]、[ORP]、[ORF] ........................................................... 52
3-6.[LDD]、[LDDI]、[ANDD]、[ANDDI]、[ORD]、[ORDI]、[OUTD] ................................. 53
3-7.[ORB] ........................................................................................................................................ 54
3-8.[ANB] ....................................................................................................................................... 55