- 内容清单 -
第一章 绪论
1.1 KGL for Windows的特征 ····································································· 1-1 1.2 与PLC的连接 ················································································· 1-2 1.2.1 RS-232C接口的局部连接 ························································ 1-2 1.2.2 RS-232C接口的远程连接 ························································ 1-3 1.2.3拨号调制解调器 (或电缆调制解调器)连接 ······························ 1-4 1.2.4 使用通讯模块的连接 ······························································ 1-4 1.2.5 使用网络的连接(Ethernet网) ··················································· 1-5
第二章 安装
2.1 系统要求 ························································································· 2-1 2.2 安装软件 ························································································· 2-2
第三章 启动 KGL for Windows
3.1 创建一个工程 ················································································· 3-1 3.2 创建一个程序 ················································································· 3-3 3.2.1 创建一个梯级图程序 ······························································ 3-3 3.2.2 创建一个助记忆程序 ······························································ 3-7 3.3 编辑变量/注解 ················································································ 3-9 3.3.1 输入变量/注解 ······································································· 3-9 3.3.2 查看变量/注解 ········································································ 3-10 3.4 与PLC连接(在线) ··········································································· 3-11 3.4.1 连接 ························································································ 3-11 3.4.2 连接+下载+运行+监控 开始 ··················································· 3-13 3.4.3 在线编辑 ················································································· 3-13 3.4.4 监控 ························································································ 3-14 3.4.5 保存工程 ················································································· 3-16 3.5 屏幕设置和功能 ············································································· 3-17 3.5.1 屏幕设置 ················································································· 3-17 3.5.2 菜单 ························································································ 3-18 3.5.3 工具条 ···················································································· 3-23
第四章 创建一个工程
4.1 创建一个工程 ················································································· 4-1 4.1.1 关于工程 ················································································· 4-1 4.1.2 创建一个工程 ········································································· 4-1 4.2 打开一个工程 ················································································· 4-2 4.3 保存一个工程 ················································································· 4-3 4.4 管理项目 ························································································· 4-4 4.4.1 保存项目 ················································································· 4-4 4.4.2 装载项目 ················································································· 4-4 4.5 编辑参数 ························································································· 4-5 4.5.1 基本参数 ················································································· 4-5 4.5.2 中断参数 ················································································· 4-5 4.5.3 I/O 参数 ·················································································· 4-6 4.5.4 连接参数 ················································································· 4-7 4.6 编辑变量/注释 ················································································· 4-8
第五章 编辑程序
5.1 编辑梯级图程序 ·············································································· 5-1 5.2 编辑助记忆程序 ·············································································· 5-2 5.3 编辑菜单 ························································································· 5-3 5.4 弹出菜单 ························································································· 5-4 5.5 浏览菜单 ························································································· 5-4 5.5.1 浏览设备 ················································································· 5-4 5.5.2 浏览设备信息 ········································································· 5-4 5.5.3 检查程序 ··············································································· 5-6 5.5.4 改变列数 ················································································· 5-6 5.5.5 缩小/放大 ················································································ 5-6 5.6 管理文件 ························································································· 5-7 5.6.1 新建 ························································································ 5-7 5.6.2 打开 ························································································ 5-8 5.6.3 保存,另存为 ········································································· 5-8
第六章 在线
6.1 连接 ································································································ 6-1 6.1.1 连接+现在+运行+监控 开始 ··················································· 6-1 6.1.2 连接 ························································································ 6-1 6.1.3 断开 ························································································ 6-2 6.2 监控&方式改变 ··············································································· 6-3 6.2.1 监控开始/停止 ········································································ 6-3 6.2.2 方式改变 ················································································· 6-3 6.3 读取信息 ························································································· 6-3 6.3.1 系统监控 ················································································· 6-3 6.3.2 PLC 信息 ················································································ 6-4 6.3.3 I/O 信息 ··················································································· 6-4 6.3.4 连接信息 ················································································· 6-5 6.3.5 Mnet 信息················································································ 6-5 6.3.6 HS 连接参数 ··········································································· 6-6 6.4 写入信息 ························································································· 6-7 6.4.1 设置PLC时钟 ········································································· 6-7 6.4.2 改变口令字 ············································································· 6-7 6.4.3 写Mnet参数 ············································································ 6-7 6.4.4 FSM 紧急输出 ········································································ 6-7 6.5 下载 ································································································ 6-8 6.6 上载 ································································································ 6-8 6.7 清除 ································································································ 6-8 6.8 Flash 内存 ······················································································· 6-9 6.9 EPROM ···························································································· 6-10
第七章 调试
7.1 调试的工具条 ················································································ 7-2 7.2 调试菜单 ························································································· 7-2 7.2.1 跟踪 ························································································ 7-2 7.2.2 Go ···························································································· 7-2 7.2.3 停止 ························································································ 7-2 7.2.4 Break Step·················································································· 7-3 7.2.5 Break Scan ················································································· 7-3
7.2.6 Break Bit ···················································································· 7-3 7.2.7 Break Word················································································· 7-4 7.3 I/O 设置 ··························································································· 7-4 7.3.1 改变 I/O Enable ········································································ 7-4 7.3.2 强制 I/O Enable ········································································ 7-4 7.3.3 强制I/O 设定 ·········································································· 7-4 7.4 取样跟踪 ························································································· 7-5 7.5 触发 ································································································ 7-7
- 附录 -
1.1 梯级图程序方式的热键 ·································································· A-1 1.2 编辑块的热键 ················································································· A-2 1.3 助记忆程序方式的热键 ·································································· A-2 1.4 在线方式的热键 ············································································· A-2 1.5 光标移动的热键 ············································································· A-3 1.6 同PLC通讯的电缆标准 ·································································· A-4
第一章 绪论
1.1 KGL for Windows的特征 ·················································· 1-1 1.2 与PLC的连接 ······························································ 1-2
第一章 绪论
Chapter.1
Chapter.2 1. 1 KGL for Windows的特征
KGL for Windows是LG Master-K系列和 LG MASTER-K系列编程和调试工具。 KGL for Windows 有以下相当丰富的特征。
1) 在LG Master-K系列和LG MASTER-K系列程序兼容。
用户可以在LG MASTER-K系列使用在LG Master-K系列中编制的程序(*.PGM)。同样也可以在LG Master-K系列中使用在LG MASTER-K系列中编制的程序。
在KGL-DOS 或者 GSIKGL中使用的程序,参数,变量/注释也适用与KGL for Windows。
2) PLC 系统由工程[Project]结构
KGL for Windows把用户自定义程序当成一个包括参数和变量/注释的工程[Project]来管理。 同时有允许用户把程序(*.PRG),参数*(.PMT),,变量(*.VAR),注释(*.CNT)各自保存起来,是这些单独的文件应用到别的工程[Project]中。
3) 用户友好接口
为创建,编辑和监视提供简单的和友好的接口。
4) 在线编辑
在在线方式下可以获得实时编辑。在在线条件下编辑的程序可以自动的下载、而不必停止PLC的硬件。
5) 从PLC监视信息
用户可以轻易的监视PLC的状态如:错误状态,网络信息和系统信息。
6) 调试和自诊断(LG MASTER-K系列)
LGLC编程手册
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)