找回密码
 注册

QQ登录

只需一步,快速开始

搜索

SoMachine Basic V1.6 培训手册 2018版

[复制链接]
seasky 发表于 2020-3-5 21:57:57 | 显示全部楼层 |阅读模式
本培训手册以施耐德电气 SoMachine Basic 平台 PLC 为基础, 详细介绍了Modicon M100/M200/M221 可编程控制器的硬件构成和功能特点, 同时也介绍了SoMachine Basic 软件的操作方法与应用指令。 可作为初次学习 SoMachine Basic软件的工程师的学习用书, 也可用于日常选型与编程的工具用书。
本教材分为三部分, 由硬件介绍、 软件操作介绍与应用指令介绍三部分组成。

下载地址链接:https://pan.baidu.com/s/1Shrm2qwUpNv7HtJbm4f2tA
请先确认以上网盘链接有效的情况下再下载提取码附件,避免浪费积分
百度网盘提取码及解压密码.txt (745 Bytes, 售价: 10 E币)

目录:
第 1 章: 硬件介绍
1.1 SoMachine Basic 平台可编程控制器简介.......................................................7
1.2 SoMachine Basic 平台可编程控制器...............................................................9
1.2.1 基本信息...............................................................................................................9
1.2.2 尺寸.......................................................................................................................10
1.2.3 型号说明...............................................................................................................11
1.2.4 内置功能介绍.......................................................................................................13
1.2.4.1 数字量输入 / 输出特性...................................................................................13
1.2.4.2 串行通信.............................................................................................................20
1.2.4.3 以太网通信 ( 仅 M200/M221) .....................................................................25
1.2.4.4 内置 USB mini-B 编程端口介绍 ...................................................................26
1.2.4.5 内置模拟量 ( 仅 M221) ...................................................................................27
1.2.4.6 内置实时时钟 RTC 功能 ( 仅 M200/M221).................................................29
1.2.5 SD 卡........................................................................................................................31
1.2.5.1 概述.......................................................................................................................31
1.2.5.2 SD 卡操作 .........................................................................................................33
1.2.6 TMH2GDB 远程图形终端 ( 仅 M221)............................................................36
1.3 扩展板与扩展模块介绍...........................................................................................38
1.3.1 扩展板介绍 ...........................................................................................................38
1.3.2 扩展模块介绍.........................................................................................................39
1.4 SoMachine Basic 软件简单介绍与安装 ...........................................................45
第 2 章: 软件操作介绍
2.1 SoMachine Basic 起始界面介绍...........................................................................55
2.1.1 项目窗口介绍..........................................................................................................55
2.1.2 连接窗口介绍..........................................................................................................56
2.1.2.1 本地设备...............................................................................................................56
2.1.2.2 以太网设备...........................................................................................................56
2.1.3 模板窗口介绍...........................................................................................................57
2.1.4 帮助窗口介绍..........................................................................................................57
2.1.5 关于窗口介绍...........................................................................................................58
2.2 SoMachine Basic 主界面介绍 ................................................................................58
2.2.1 主界面简介 ..............................................................................................................58
2.2.2 工具栏按钮 ..............................................................................................................59
2.2.2.1 系统设置................................................................................................................60
2.2.2.2 打印报告................................................................................................................65
2.2.3 状态区域....................................................................................................................66
2.2.4 编译.............................................................................................................................66
2.3 属性..................................................................................................................................67
2.4 配置...................................................................................................................................72
2.4.1 配置概述........................................................................................................................72
2.4.2 数字量配置 ...................................................................................................................73
2.4.3 模拟量配置 ...................................................................................................................74
2.4.4 高速计数器配置 ............................................................................................................74
2.4.5 脉冲发生器配置 ...........................................................................................................78
2.4.6 IO 总线配置 ...................................................................................................................81
2.4.7 以太网配置 .....................................................................................................................82
2.4.8 串行通信配置...................................................................................................................88
2.5 编程.......................................................................................................................................96
2.5.1 编程概述............................................................................................................................96
2.5.1.1 编程工具栏.....................................................................................................................96
2.5.1.2 操作块..............................................................................................................................98
2.5.1.3 编程操作..........................................................................................................................99
2.5.2 任务......................................................................................................................................101
2.5.2.1 控制器管理......................................................................................................................101
2.5.2.2 主任务...............................................................................................................................102
2.5.2.3 周期性任务.......................................................................................................................102
2.5.2.4 事件...................................................................................................................................103
2.5.2.5 自由 POU........................................................................................................................104
2.5.2.6 子程序............................................................................................................................. 104
2.5.2.7 跳转................................................................................................................................. 105
2.5.2.8 用户定义功能 ............................................................................................................... 106
2.5.2.9 用户定义功能块............................................................................................................ 108
2.5.3 工具.................................................................................................................................... 109
2.5.3.1 消息................................................................................................................................. 109
2.5.3.2 动态数据表.......................................................................................................................... 110
2.5.3.3 存储器对象............................................................................................................................ 110
2.5.3.4 系统对象................................................................................................................................. 113
2.5.3.5 I/O 对象................................................................................................................................. 123
2.5.3.6 网络对象.............................................................................................................................. 126
2.5.3.7 软件对象............................................................................................................................ 127
2.5.3.8 PTO 对象........................................................................................................................... 133
2.5.3.9 驱动器对象.................................................................................................................. ......... 134
2.5.3.10 通信对象........................................................................................................................... 136
2.5.3.11 搜索与替换........................................................................................................... 136
2.5.3.12 交叉引用......................................................................................................................... 137
2.5.3.13 符号列表.............................................................................................................. 138
2.5.3.14 内存占用情况 ......................................................................................... 139
2.5.4 Trace 功能介绍................................................................................................................ 140
2.6 显示 ( 仅 M221)..................................................................................................... 141
2.7 试运行........................................................................................................... 142
2.7.1 概述............................................................................................................. 142
2.7.2 连接............................................................................................ 142
2.7.3 控制器更新 ................................................................................................................. 143
2.7.4 SD 卡更新 PLC 固件...................................................................................... 144
2.7.5 存储器管理 ................................................................................................... 145
2.7.6 控制器信息 ........................................................................................................ 147
2.7.7 RTC 管理................................................................................................................148
2.8 SoMachine Basic 模拟器............................................................................................148
2.8.1 概述..............................................................................................................................148
2.8.2 SoMachine Basic 模拟器 ........................................................................................148
2.8.3 在 VIJEO-DESIGNER 中启动模拟..........................................................................150
2.9 在线监控 ............................................................................................................................... 152
2.9.1 概述................................................................................................................................... 152
目录5
第 1 章: 硬件介绍
2.9.2 在线监控操作................................................................................................................ 153
2.10 字符串.......................................................................................................................... 154
2.10.1 概述........................................................................................................ 154
2.10.2 语法及使用规则 ............................................................................................ 154
2.10.3 管理字符串 ...................................................................................................154
2.11 FOR 循环、 IF 条件元素............................................................................... 156
第 3 章: 应用指令介绍
3.1 基本指令 .......................................................................................................... 161
3.1.1 触点指令.........................................................................................................166
3.1.1.1 触点指令 (LD、 LDN)........................................................................... 166
3.1.1.2 触点指令 (LDR、 LDF)............................................................................. 167
3.1.1.3 触点指令 (AND、 ANDN)...................................................................... 168
3.1.1.4 触点指令 (ANDR、 ANDF).................................................................... 169
3.1.1.5 触点指令 (OR、 ORN) ....................................................................... 170
3.1.1.6 触点指令 (ORR、 ORF) ...................................................................... 171
3.1.1.7 触点指令 (XOR、 XORN)..................................................................... 172
3.1.1.8 触点指令 (XORR、 XORF).............................................................. 173
3.1.1.9 输出指令 (NOT)....................................................................... 174
3.1.1.10 上升和下降功能....................................................................................... 175
3.1.1.11 触点指令 (ST、 STN、 S、 R)............................................. 176
3.1.2 操作块指令 .......................................................................................................... 177
3.1.2.1 三角函数指令指令 (SIN、 COS、 TAN、 ASIN、 ACOS、 ATAN)................177
3.1.2.2 角度转换指令 (DEG_TO_RAD、 RAD_TO_DEG) .................................................. 178
3.1.2.3 整数 / 浮点数转换指令 (INT_TO_REAL、 DINT_TO_REAL、 REAL_TO_INT、 REAL_TO_DINT) ...... 179
3.1.2.4 对表示为 ASCII 类型的浮点数取整指令 (ROUND)..............................................180
3.1.2.5 ASCII/ 整数转换指令 (ASCII_TO_INT、 INT_TO_ASCII) ...................................180
3.1.2.6 ASCII/ 浮点数转换指令 (ASCII_TO_FLOAT、 FLOAT_TO_ASCII).....................181
3.1.2.7 数列求和函数 (SUM_ARR)........................................................................................ 181
3.1.2.8 数列比较函数 (EQUAL_ARR)..................................................................................182
3.1.2.9 数列搜索函数 (FIND_EQR、 FIND_GTR、 FIND_LTR)............................................ 183
3.1.2.10 数列中最大值和最小值的搜索函数 (MAX_ARR, MIN_ARR) ............................. 184
3.1.2.11 某个元素在数列中的出现次数 (OCCUR_ARR)....................................................... 185
3.1.2.12 表循环移位函数 (ROL_ARR, ROR_ARR) .......................................................................... 186
3.1.2.13 数列排序函数 (SORT_ARR)............................................................................................... 187
3.1.2.14 浮点数表插值函数 (LKUP)............................................................................................... 188
3.1.2.15 浮点数数列求平均值函数 (MEAN)................................................................................ 189
3.1.2.16 读取 / 写入即时数字量输入 / 输出 (READ_IMM_IN、 WRITE_IMM_OUT) .................. 189
3.1.2.17 立即读取 / 写入高速计数功能块参数 (READ_IMM、 WRITE_IMM) ....................... 190
3.1.2.18 算数运算 1 (+、 -、 *、 /、 REM) .....................................................................................191
3.1.2.19 算数运算 2 (INC, DEC) ...................................................................................................192
3.1.2.20 算数运算 3 (SQRT、 ABS)................................................................................................. 193
3.1.2.21 算数运算 4 (LOG、 LN、 TRUNC、 EXP、 EXPT) ...................................................... 194
3.1.2.22 逻辑指令 (AND、 OR、 XOR、 NOT)............................................................................. 195
3.1.2.23 移位指令 (SHL、 SHR、 ROL、 ROR)...............................................................................196
3.1.2.24 BCD 码转换指令 (BTI、 ITB) .................................................................................................. 197
3.1.2.25 单双字转换指令 (LW、 HW、 CONCATW、 DWORD)................................................... 198
3.2 功能块介绍..................................................................................................................... 199
3.2.1 定时器 (%TM)............................................................................................................199
3.2.2 LIFO/FIFO 寄存器 .................................................................................................. 200
3.2.3 移位寄存器 .................................................................................................................. 201
3.2.4 步进计数器 (%SC) ...................................................................................................... 202
3.2.5 调度模块 (%SCH) ..................................................................................................... 203
3.2.6 计数器 (%C)............................................................................................................... 204
3.2.7 快速计数器 (%FC) ..................................................................................................... 205
3.2.8 高速计数器 (%HSC).............................................................................................. 207
3.2.9 鼓 (%DR) .................................................................................................................. 211
3.2.10 RTC 功能块 (%RTC)..................................................................................................... 214
3.2.11 PLS/PTO/PWM/FREQGEN 配置........................................................................................... 217
3.2.12 脉冲发生器 (%PLS) ................................................................................................................ 220
3.2.13 频率发生器 (%FREQGEN) ................................................................................................. 222
3.2.14 脉冲宽度可调发生器 (%PWM)............................................................................................. 224
3.2.15 MC_MotionTask_PTO............................................................................................................ 226
3.2.16 MC_POWER_PTO .................................................................................................................229
3.2.17 MC_MOVEVEL_PTO............................................................................................................... 231
3.2.18 MC_MoveRel_PTO................................................................................................................ 233
3.2.19 MC_MoveAbs_PTO............................................................................................................. 235
3.2.20 MC_HOME_PTO ..................................................................................................................... 237
3.2.21 MC_SetPOS_PTO................................................................................................................. 240
3.2.22 MC_Stop_PTO ................................................................................................................. 241
3.2.23 %MC_Halt_PTO ................................................................................................................ 243
3.2.24 %MC_ReadACtVel_PTO ................................................................................................... 245
3.2.25 %MC_ReadACtPOS_PTO.................................................................................................... 246
3.2.26 %MC_ReadSTS_PTO .......................................................................................................... 247
3.2.27 %MC_ReadMotionState_PTO............................................................................................. 249
3.2.28 %MC_ReadAxisError_PTO....................................................................................................250
3.2.29 %MC_Reset_PTO ...................................................................................................................251
3.2.30 %MC_TouchProbe_PTO.......................................................................................................252
3.2.31 %MC_ABORTTRIGGER_PTO ............................................................................................ 254
3.2.32 %MC_READPAR_PTO.........................................................................................................255
3.2.33 %MC_WritePar_PTO............................................................................................................257
3.2.34 %MC_Power_ATV.................................................................................................................258
3.2.35 %MC_Jog_ATV ................................................................................................................... 260
3.2.36 %MC_MoveVel_ATV ..........................................................................................................262
3.2.37 %MC_Stop_ATV....................................................................................................................264
3.2.38 %MC_ReadStatus_ATV ..................................................................................................... 265
3.2.39 %MC_ReadMotionState_ATV.......................................................................................... 267
3.2.40 %MC_Reset_ATV.................................................................................................................. 269
3.2.41 %Read_Var ............................................................................................................................. 270
3.2.42 %Write_Var ............................................................................................................................ 272
3.2.43 %Write_Read_Var ................................................................................................................ 274
3.2.44 %SEND_RECV_MSG.............................................................................................................. 276
3.2.45 PID ............................................................................................................................................. 278
3.2.46 Grafcet (SFC)............................................................................................................................ 282

部分内容截图:
1.jpg
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|ELEOK |网站地图

GMT+8, 2024-12-22 11:17

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表