下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
SIMATIC®S7系PCS7
SIMATIC®AG2003.All
SITRAINTrainingAutomationand目
S7-200S7-300/400自动化系统SIMATIC®AG2003.Allrights
SITRAINTrainingAutomationandSIMATIC®
控制
MPI网络SIMATIC®AG2003.All
SITRAINTrainingAutomationand S7-200S7-S7-21x(旧版本S7-EMEMI0I0I0I0I0I0I0I0I1I1I1I1I1I1Q0Q0Q0Q0Q0Q0Q0Q0Q1Q1CPUDI8xSIMATIC®AG2003.All.SITRAINTrainingAutomationand CP242-CP242- SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationandS7-200™:S7-21x系列CPU输器 模式选择电位PRPPPI连输 状态指
本机DI/DO状态指SIMATIC®AG2003.All
SITRAINTrainingAutomationand S7-200™:S7-22x系列CPU输状态指器PPI连
前模式选择电位本机DI/DO状态指 输SIMATIC®AG2003.All
SITRAINTrainingAutomationand S7-SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand S7-300™: (可选(可选计定闭环控
点-到-工业以太SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand S7-300™:CPUSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand S7-SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationandS7-400™:CPU设接外部电SIMATIC®AG2003.All
SITRAINTrainingAutomationand 编程设FieldPowerSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand安装STEP7对PG/PC的要 Windows(所有的,Win3.1和3.11除外>=>=>=>=>=32>=64>=32>=128 根据安装,介于200MB至380128to256MB用于Windows SIMATIC®AG2003.All
SITRAINTrainingAutomationandSTEP7GGSIMATIC®AG2003.All
SITRAINTrainingAutomationand 安装结通过通过启动菜单双击图SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand STEP7工SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand VVAG2003.All
InformationandTrainingKnowledgefor S7-300培训设备的组AG2003.Allrights.
InformationandTrainingKnowledgefor (32通道I/O模块
S7-300培训设备的组I/O
-- -- --
DI DO
AI7(16通道I/O模块--DIDIDODODIDO--12456789I/O--048AG2003.Allrights.
InformationandTrainingKnowledgefor S7-400培训设备的组AG2003.Allrights.
InformationandTrainingKnowledgefor S7-400培训设备的组 8缺省地址AG2003.Allrights.
InformationandTrainingKnowledgefor - AI2- AI2AO1- VV08150815AG2003.All
InformationandTrainingKnowledgefor 传送带模
AG2003.Allrights.
InformationandTrainingKnowledgefor PLC的硬件AG2000.All.InformationandTrainingKnowledgefor 目
AG2000.Allrights.
InformationandTrainingKnowledgeforS7-300部功导电...将电网电压(120/230V)变换为S7-300所需的24V工作电处理单执行用户程附件:器模块,后备电接口模...连接两个机架的总信号模块(数字量/模拟量功能模块...完成定位、闭环控制等功通讯处理器连接可编程控制附件:电缆、软件、接口AG2000.All
InformationandTrainingKnowledgefor S7-300的安AG2000.All
InformationandTrainingKnowledgefor S7-300的扩槽 AG2000.Allrights.
InformationandTrainingKnowledgefor 安装规AG2000.Allrights.
InformationandTrainingKnowledgefor 硬件手 检查安AG2000.All.InformationandTrainingKnowledgefor安装检查所有部件是否齐备?(见部 安装导轨安装电源把总线连接器连到CPU,并安装模块把总线连接器连到I/O模块,并安装模块连接前连接器,并插 条和槽号给模块配线(电源,CPU和I/O模块AG2000.All.InformationandTrainingKnowledgefor 安装导轨用M6螺丝把导轨固定到安装部位注:导线的最小截面积为10mm2。连接466500800
482530830AG2000.Allrights.
InformationandTrainingKnowledgefor 安装导轨导导总线连接固定螺AG2000.Allrights.
InformationandTrainingKnowledgefor AG2000.Allrights.
InformationandTrainingKnowledgefor AG2000.Allrights.
InformationandTrainingKnowledgefor6mm6mm填写端 AG2000.Allrights.
InformationandTrainingKnowledgefor准备启 插入 AG2000.All
InformationandTrainingKnowledgefor 更换S7-300的后备电AG2000.Allrights.
InformationandTrainingKnowledgefor 更换S7-300的信号模把CPUStop AG2000.All.InformationandTrainingKnowledgefor更换S7-300数字量输出模板 CPUStop拧下模板 更 重新拧 AG2000.All.InformationandTrainingKnowledgefor 练习:利用手册来配置S7-AG2000.Allrights.
InformationandTrainingKnowledgefor 信号 Term.No.: (I (I (Q
AG2000.Allrights.
InformationandTrainingKnowledgeforS7-400可编程控制器的安AG2000.All
InformationandTrainingKnowledgeforS7-400的组功部功机用于固定模块并实现模块间的电将进线电压转换为模块所需的直流5V和24V工作电处理单元 信号模板(数字量/模拟量接口模板用于连接其它机架附件:连接电缆、终端功能模板完成定位、闭环控制等通讯处理器用于连接其它可编程控制附件:电缆、软件、接AG2000.Allrights.
InformationandTrainingKnowledgeforPK机架PK机架型可机扩展机UR1/(通用机架CR2/(机架ER1/(扩展机架 P总P总线,第1PP总线,第1P总线,第2KAG2000.All
InformationandTrainingKnowledgefor 安装规电源必须插在最左侧(1号槽),并且接口模块必须插在最机架与保护地的连接导线截面积至少10AG2000.Allrights.
InformationandTrainingKnowledgefor安装检查 对模板接线(I/O模板AG2000.All
InformationandTrainingKnowledgefor 安装机用用M6螺钉把机架固定到安装部的最小截面积为10mm2!安装扩展机架,最小间隔为110mmAG2000.Allrights.
InformationandTrainingKnowledgefor 安装模AG2000.Allrights.
InformationandTrainingKnowledgefor 电源的接打开打开电源盖调整电源选择用螺丝刀松开电源插头拔下电源插头把两个电源线(不是保护地)剪短10mm剥去绝缘皮7mm打开电源插头和电缆固连接导线并压紧电缆固定座合上电源插头把电源插头推入电源上的导入凹槽,然后推AG2000.Allrights.
InformationandTrainingKnowledgefor前连接器的接将前连接器盖从下部撬剥去导线的绝将电缆固 连接器下侧的线夹填 条,并插入前连接器合上前将前连接器挂在相应模块下部的 向上旋转前连把前连接器紧固到AG2000.All
InformationandTrainingKnowledgefor准备启把CPU把CPUBATTINDIC把CPU 上设定机架号(1AG2000.All
InformationandTrainingKnowledgefor 更换S7-400的后备电BAT1BAT2BAT用FMR确认按钮取消错误信 AG2000.Allrights.
InformationandTrainingKnowledgefor更换S7-400的信号模CPURUN状态!(STOP状态AG2000.All
InformationandTrainingKnowledgefor 硬件组SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 目
熟悉S7-300™输入和输出模板的地址SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand硬件组态和参数分
SIMATIC®AG2003.All
SITRAINTrainingAutomationand 插入一个SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 启动硬件组态编辑SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 产生硬件设定组SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand S7-300™模块编槽 1 模 PS SIMATIC®AG2003.All
SITRAINTrainingAutomationand 多行组态中DI/DO机3机3(接收 机2(接收10 (发送 SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand“Address模块地址概“AddressSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 可变编SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 硬件组态编辑符号名,监视/修改SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationandCPU属性:循环/时 时 器7654321012521SIMATIC®AG2003.All
SITRAINTrainingAutomationand保存硬件设定组态 到模SIMATIC®AG2003.All
SITRAINTrainingAutomationand 上载硬件实际组态到SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:上载硬件实际组态到PG/PC并改结结SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:匹配实际组SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:从“My_Program”SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand SIMATIC®AG2003.SIMATIC®AG2003.All.SITRAINTrainingAutomationand器参数分配和测 CPUSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand CPU属性SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand CPU属性SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 器CPU属性:保器没有后备电SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand CPU属性:保SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand CPU属性:诊断/SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 硬件调AG2000.Allrights.
InformationandTrainingKnowledgefor 目I/O/AG2000.Allrights.
InformationandTrainingKnowledgefor调试检查 AG2000.All
InformationandTrainingKnowledgeforS7-300电源模块上的LED指示LED状电源的常24V24V闪输出130%(动态130%(静态电压急降当不过载时,重130%(静态电压减少设不输出短电压不输出,当短 时自动恢不初级AG2000.All
InformationandTrainingKnowledgeforMRES
器卡插AG2000.All.InformationandTrainingKnowledgefor 每个通道都有显示状态的LED每个通道都有显示状态的LED指示端子端子处的信号(对于数字量输入内部状态,光耦(对于数字量输出端子处的信号S7-S7-AG2000.Allrights.
InformationandTrainingKnowledgefor S7-400电源模块上的LED指示FMRFMR确认开关(故障信息复位保持开电池电池监选择开电压选择3针电源连接DC5V正DC24V正AG2000.Allrights.
InformationandTrainingKnowledgefor LEDLEDLEDLEDDPLEDLEDLEDLEDDP接口的LEDLEDLEDDP接口的DP的故障指AG2000.Allrights.
InformationandTrainingKnowledgefor执 器复位和完全再启1.把模式1.把模式开关设定在2.把模式开关切换到MRES,并保持直到STOPLED慢速闪烁松手,模式开关又回到STOP位置3.再把模式开关切换到MRES位置,直到STOPLED开始快速松手,模式开关又回到STOP位置4.把模式开关切换到RUN-P位置(在从STOP转换到RUN/RUN-P的时候,执再启动AG2000.All
InformationandTrainingKnowledgefor 启动“Monitor/ModifyVariables”工AG2000.Allrights.
InformationandTrainingKnowledgefor 监视与修改变AG2000.Allrights.
InformationandTrainingKnowledgefor 保存变量AG2000.Allrights.
InformationandTrainingKnowledgefor 的 打开变量 的 站站站AG2000.All.InformationandTrainingKnowledgefor 在STOP模式下修改输AG2000.Allrights.
InformationandTrainingKnowledgefor 练习:测试接AG2000.Allrights.
InformationandTrainingKnowledgefor 练习:测试传送带模型的输入接AG2000.Allrights.
InformationandTrainingKnowledgefor 练习:测试传送带模型的输出接AG2000.Allrights.
InformationandTrainingKnowledgefor OB块结构OBSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 目
SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 功 系统功能
S7-
系统功 数据
FB带背景数据
对每一个优先级SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand程序结线性线性分块程结构化程单能的指令放在单一的单能的指令放在单一的中,OB1调用这些单独的OB可重复使用的功能装入单个块中相关数据所有的指令都放在一(通常是组织块OBOBRecipeOBRecipeAG2003.All
SITRAINTrainingAutomationand 过程映:::用户程1A=::::::::器器1SIMATIC®AG2003.All.SITRAINTrainingAutomationand 上电后执行一输循环监视时间的开 模从模块读信号状态,并保存到过程映象区CPU执行OB1中的CPU(循环执行(日期时间中断、硬件中断等
块OB
AIAI=输把过程映象输出表(PIQ)写到输出模 模SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 插入S7SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand LAD/STL/FBD编辑表代码部细节SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand STEP7编程语AA=AA=II0.1II=&I I SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 选择编程SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand LAD/FBDSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand STL编SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 块的保带有块名称的当前项目路SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 在OB1中调用SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationandSIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 简单程序SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand和保存修改的SIMATIC®AG2003.All
SITRAINTrainingAutomationand 练习电机点(FCSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:OB1中调用FCSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 编辑器用户设SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand SIMATIC®AG2003.All.SIMATIC®AG2003.All.SITRAINTrainingAutomationand 编辑器用户设SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 编辑器用户设SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 编辑器用户设SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 编辑器用户设置:“Sources/SourceSIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 符SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 目
SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 绝对寻址和符号寻AA= IA=DataI0.0I0.4RunConveyorRightSystemONSwitch,MomentarySystemONSelectorSwitch
SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand符号概符号概何处使用符号它们存放在何处如何建立它们全局数据输输 器、定时器、计数符号符号编辑局部数据块块参/临时数跳转标块 块的代码程序编辑程序编辑块名称符号符号编辑数据块数据块组DB 程序编辑SIMATIC®AG2003.All.SITRAINTrainingAutomationand 符号双双SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 编辑:查找与替SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 查看:过滤SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 查看:排SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 符号表:导把把表存成何种格式要把表存到何处SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand符号表:导这这里选 路输输入文件选选择格SIMATIC®AG2003.All
SITRAINTrainingAutomationand 在LAD/STL/FBD编辑器中编辑SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 在LAD/STL/FBD编辑器中符号SIMATIC®AG2003.Allrights
SITRAINTrainingAutomationand 在LAD/STL/FBD编辑器中符号SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand "符号优先绝对地
SymbolTableOldEntry:SystemON=NewEntry:SystemON=Q4.0
SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:为ConveyorModel建立符VersionB16VersionB16channelVersionA32channelSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 位指I I QQ
I I
P
=II
N
=I1.
QS QSQ3I3RRSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 目
SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 基本逻辑指令:与,电路S1(I电路S1(IS2(IQQII&Q=Q===QQ(I(IL3(QIIQ==Q3SIMATIC®Q3AG2003.Allrights.
SITRAINTrainingAutomationand 基本逻辑指令:异或IIIIQIIII&Q=II&=IIIIIIQ=XX=IISIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 常开和常闭触点,传感器和符PLC程序PLC程序中的解......有无无有1 1 0 01AI1ANI0&&AG2003.Allrights.
SITRAINTrainingAutomationand 练习:常开点与常闭 任务S1动作和S2不动作时,在所有三个例子中灯 硬I硬IQIIQIIQI软I I QI Q Q Q Q QQQ Q&SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 信号状检查结逻辑信号状检查结逻辑操作结首次检信号状检查结逻辑操作结首次检信号状检查结逻辑操作结首次检:: M I I:: M I I M Q Q I00001111AG2003.Allrights
1011010
SITRAINTrainingAutomationand 赋值,置位,复I IQ(I&II IQ(I&IQ= I I QI IQI&IQ I I QIQII QIR I I QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 复优复优S RQSRQ=AISAIRA=Q置优置优RQQSRSQ=AIRAISA=QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand II I(IIM(Q(I&I&I&I&IIQ=AG2003.Allrights.
AAAA= MMMMQ
SITRAINTrainingAutomationand AIAIAI=II II &I INOT ( M MSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:基本逻辑操SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:传送带的模式选VVT_System_OFFL_SYSTEM T_System_OFFL_SYSTEM QIIIIIIII
AI2
- VV
0815 0815SIMATIC®AG2003.All
SITRAINTrainingAutomationand (FC15答案Network LEDforSystem
RSRSON-OFF-Network LEDforMANUAL
RSRSON-OFF-Network LEDforAUTO
QON-SOFF-ON-SOFF-RATIC® AG2003.Allrights
SITRAINTrainingAutomationand 练习:自动模式下传送带运行Conv.
Transport
Conv.Prox.Sens.BayIM.C.Sw.BayIProx.Sens.Bay2 I8.6M.C.Sw.Bay2 I8.2I8.0RunConveyor SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand练习动模式下传送带运行(1),示MM= MS MSRNetwork
MM
Q 传送带向右运=SIMATIC®AG2003.All
SITRAINTrainingAutomationand I I =N&=P&NP例 M8.1 SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 沿
I1.0
)例
&&
M1M1SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:自动模式下传送带运行Conv.Conv.TransportConv.PartatStartinAUTOI8.0SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand II0.1,NC
练习化模式部FCOLD:withoutedgeI0.0I0.1,NC
NEW:withedgeSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 赖(JMP::::I :::: I& JU:::: I SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 条件跳如果就如果就跳II&AA 如果就如果就跳II&AI0.2A SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 数字指
Q RIR
SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 数字指
Q RIR
SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 目
懂得“装载”和“传送”指令SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 0248要求,处理和输0248
操作
0815VV
现场装SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand00 9x ===+ DEC:-BIN.: 11111101011010DEC:-符负 +210+28以补+25+23以补
HEX:HEX:W#16#FD6
10x1606x161 13x162 15x163 HEX:HEX:W#16#029BIN.: 000000101001011DEC:+显示格式整数(INT,16位整数)数据类数值范围-32768(不带符号:0to算术运算:例如I*I<I,6x16 2xSIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand显示格式显示格式双整数(DINT,32位整数)数值范围L(不带符号 07)算术运算:D*DD2625242322217654321符符正980 000HEX:10100000010100000000BIN.: 000DEC:(不带符号BIN.: 1111111111110111BIN.: 111111111111011110111111011101DEC:L#- 符DEC:L#-负以补HEX:FF以补HEX:FFF 77(不带符号SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 实数(浮点数,32位)数据类数值范围-1.175495•10-38至 算术运算:例如+R,*R,<R,sin,acos,ln,exp,实数的标准格式Sign1.f(2e-举例:7.50000e- (7.5*10-1=2221 e2221 313029 27 25240011111101000000000000000000000027262524232221202-12-22-32-4
2-2126-127=2126-127=SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 用于输入和输出整数的BCD数值范围1632
999
转换操作 BTI,BTD,ITB,(不是算术运算02960296BIN.: 0BIN.: 000000101001011DEC:+029DEC:+0296符号 BIN.: 0BIN.: 0xxx000000000000000000101001011 0000296SIMATIC®AG2003.Allrights.
DEC:DEC:+SITRAINTrainingAutomationand “Monitor/ModifyVariables”:显示格SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 数据装载和传送555LTLLLLLSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 数据装载和传送内内内内::L::LL:::XXXXXXXXYYYYYYYY0000CAFEXXX0000CAFEXXXXXXXX0000AFFE0000CAFEAG2003.Allrights.
SITRAINTrainingAutomationand 数据装载和传送 MB MW MD MB MW MD QD QW QBQBQWQD装ACCU10000000000000000000000000070传SIMATIC®传AG2003.Allrights.
SITRAINTrainingAutomationand STEP7中的S5计数IIQ IISMWIRQWIIISMWIRQQWQ=AALSARLTTA=SIMATIC®AG2003.Allrights.
AA
SITRAINTrainingAutomationand SR54 210QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand NetworkNetworkIINetworkIINetworkIINetworkQQ=I0.0AICUAICDA=QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习计数传送的零件(FC18CV V QIIIIIIIIQW
-
-AI2 VV
0815 0815SIMATIC®AG2003.All
SITRAINTrainingAutomationand 定时器:接
SDT4 SDT4 QS==S处的R处的定时操例 数据类
0,01s<-0,1s<-1s<-10s<-
000011011110110SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 定时器STEP7的S5定时器的时间格以常以常数时间设(01100ms)单位时间数以变量时间设 以变量时间设XX01001101010010 单位时间(BCD码 XXXXXX0101100000
剩余的单位时间 XX01001101010010 剩余的单位时间(BCD码SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 定时器保持QSQSR RQ= R处的定时操例QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 定时器ALALARLTTA=SQSQRSQ=定时操例QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 定时器:扩展脉冲SQ SQ= R处的定时操例QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 定时器:关断延时SSQRSRQ= R处的定时操例QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand NetworkNetwork&NetworkQ4QNetworkR&=&RALSDA=Q SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 传送带电传送带电机I0.2(Q20.5/T15I0.3(Q20.6/
timeRIGHTLock-T16SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 练习传送功能的(FCV V QIIIIIIIIIQW
-
-AI2 VV
0815 0815SIMATIC®AG2003.All
SITRAINTrainingAutomationand 练习:计数传送带运行故M3Conv.oper.fault C 0Q4.3(QSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationandBCD转BCD->整08转BCD->整0815的转BCD<-转BCD<-整02480248
有算用有算用户程 AG2003.All
SITRAINTrainingAutomationand 比较指CMPCMPQCMP&=)=SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand
++T
LLLL-T
LLLL*T
/T/T IN1SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习计数传送的零件(FC18MWV DOQVIIIIIIII
ACTUALnumberof QW
-
AI2
-I
VVSETPOINTnumberofparts08150815IW
SIMATIC®AG2003.All
SITRAINTrainingAutomationand练习计数传送的零件(FC18答案NW Set"counter"to0
MWNW Countingusingmemoryword,ACTUALnumberof计 的上升MW1
NW yACTUALnumberofpartsonBCDdigital NW ReadinSETPOINTnumberofpartsandconvertfromBCDtoIW2)的值从BCD 在MWNW ACTUAL-SETPOINTcomparison,LED(redLEDSIMATIC®AG2003.All
SITRAINTrainingAutomationand常atbothbayswhenanewpartcan cedontheHzatthebaywherethepart cedandfromwhichtheconveyorbeHzatbothbaysaslongasthetransportfunctionis
SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 转换指IDI任任从双整数到实的转从整数到双整的转整数格式的数据(16位 AG2003.Allrights.
Automationand LLIWLLIWAW/OW/T
010000100000000110010AW后的0101AW后的0101111100101010010000000010001001011111001110100001111100011000XOW后的OW后的SIMATIC®XOW后的OW后的AG2003.Allrights.
SITRAINTrainingAutomationand FC
练习(选作):SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习(选作):由两个定时器IQ FC ISIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习(选作):由单定时器构成的闪烁频率FC!G!GS #M0.2S
&M &M&M&M0.3
M
##MRSSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 程练习(选作 三个风扇程FC
TT5S&R& & QS
SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 练习(选作 分频QFF& SG &RQRQSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 用户程序的重新SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 目
能够用SIMATIC®进行重离线的S7SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 概AI....AI....AN“失效的通I可用的通AIAI....AN“新SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 用SIMATIC管理器实现重新接或或SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 重新接线的FCFC99FCFC99SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 用“符号优先”重新接SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 符号表:匹配绝对地之之之SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 用LAD/FBD/STL编辑器重新接SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 显示参考SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand I,Q,M,T,CSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 块的比较见下SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 块的比较SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:准备重新接SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:用SIMATIC®管理器重新接线点动传送带VV QIIIIIIIIII
-AI2 VV
0815 0815SIMATIC®AG2003.All
SITRAINTrainingAutomationand 练习:用LAD/STL/FBD编辑器重新接线点动传送带电VV QIIIIIIIIII
-AI2 VV
0815 0815SIMATIC®AG2003.All
SITRAINTrainingAutomationand SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 1AG2003.Allrights.
SITRAINTrainingAutomationand 1AG2003.Allrights.
SITRAINTrainingAutomationand 练习:利用手册来配置S7-AG2003.Allrights.
SITRAINTrainingAutomationand 匹配实际AG2003.Allrights.
SITRAINTrainingAutomationand时 器参数分配和测AG2003.All
SITRAINTrainingAutomationand AG2003.Allrights.
SITRAINTrainingAutomationand 电机点动(FCAG2003.Allrights.
SITRAINTrainingAutomationand OB1中调FCAG2003.Allrights.
SITRAINTrainingAutomationand 任务:在所有三个例子中当S1动作且S2不动作时 I I QI I Q I I QI I QI I Q QI I QI I Q I I QI II I QI I QI I QAG2003.All
SITRAINTrainingAutomationand 传送带的模式选AG2003.Allrights.
SITRAINTrainingAutomationand 自动模式下传送带运行AG2003.Allrights.
SITRAINTrainingAutomationand 自动模式下传送带运行AG2003.Allrights.
SITRAINTrainingAutomationand 优化模式AG2003.Allrights.
SITRAINTrainingAutomationand (FCAG2003.Allrights.
SITRAINTrainingAutomationand传送带电机传送带电机点动(FCAG2003.All.SITRAINTrainingAutomationand 传送功能的监视(FCAG2003.Allrights.
SITRAINTrainingAutomationand 计数传送的零件(FC18AG2003.Allrights.
SITRAINTrainingAutomationand AG2003.Allrights.
SITRAINTrainingAutomationand AG2003.Allrights.
SITRAINTrainingAutomationand AG2003.Allrights.
SITRAINTrainingAutomationand AG2003.Allrights.
SITRAINTrainingAutomationand AG2003.Allrights.
SITRAINTrainingAutomationand AG2003.Allrights.
SITRAINTrainingAutomationandSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand目
SIMATIC®AG2003.Allrights
SITRAINTrainingAutomationand数 I/O
...L
数据SIMATIC®AG2003.All
SITRAINTrainingAutomationand 数据块SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand STEP7(到32位位数据类型(BOOLBYTEWORDDWORD数学数据类型(INT,DINT,定时器类型(S5TIME,TIME,DATE,复复杂数类(长于32位字符串用用户定义数据类数据类型UDT(用户定义数据类型SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand STEP7基本188TrueFalse(1或'w1.234.5E-SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand输入、保存 和监视数据DeclarationDeclarationDataDataSIMATIC®AG2003.All
SITRAINTrainingAutomationand 8
DBBDBWDBDDBXDBD
DBWDBBSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationandDB DB LL
完全表绝对寻 符号寻或 或 DBX或 DB或 DBB DBW
或或 或或或或T DBT DBD
LSIMATIC®AG2003.All
SITRAINTrainingAutomationand 练习计数传送的零件(FC18DB模拟模拟CPU程序DB18,FCQW0815IW传传送带模型-QSIMATIC®AG2003.All
SITRAINTrainingAutomationand练习计数传送的零件(FC18答案NW Set"counter"to0
NW Countingusingmemoryword,ACTUALnumberof计 的上升1
NW yACTUALnumberofpartsonBCDdigital 零件的实际值("DB_Parts".ACT_Number_of_parts)从整数到BCD转NW ReadinSETPOINTnumberofpartsandconvertfromBCDtoIW2)的值从BCD 在MWNW ACTUAL-SETPOINTcomparison,LED(redLEDSIMATIC®AG2003.All
SITRAINTrainingAutomationand 关键 举 DT#97-09-24-(最多254个字符的字符串
8*字符个数+2
´Thisisa (相同数据类型的元素组
用户定
(不同数据类型的元素组(用户定义数据类型
用户定用户定
Motor:STRUCTSpeed:INTUDT作为 UDT作为array元
Speed:
Drive:SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand ••
矩阵举带有名字“Measuring_point”的矩(相同数据类型的几个元素程序编辑器中的显示(数据块DBSIMATIC®AG2003.Allrights
SITRAINTrainingAutomationand Speed,datatype程序编辑器中的显示(数据块DB
结构举带有名字“Motor_data”的结(不同数据类型的几个元素 SIMATIC®AG2003.Allrights
SITRAINTrainingAutomationand 练习(选作):数据块和数据格 :+:SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand目
SIMATIC®AG2003.Allrights
SITRAINTrainingAutomationand局部变PIIPII/I/M/T/DB全局变量/数(在全部程序中有局部变量(只在一个块中有临时变临时在Lstack可在下列块中使OB/FC/静态变当相关块执行完毕后仍保永久在DB只能在FB中使符符号地方SIMATIC®AG2003.All
SITRAINTrainingAutomationand 临时变SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand1234567所占用1234567所占用L256 程序所占用的局部数据区的总长操作操作系1324576FC有临变FCFC有临变OBSIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 总容量总容量1.5(CPU执行的程对执行的程对于S7-优先局部堆栈大循环扫描程时间中日时钟中延时循环处理中驱动中硬件中启动过程中的错误处理中循环扫描中的错误处理中256122563256256256256SIMATIC®AG2003.All.SITRAINTrainingAutomationand 块所需要的局部数据SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:使用替替换为临SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand要要示例:用输出LEDy P解决方S SIMATIC®AG2003.All.SITRAINTrainingAutomationand FPMSAAMMMIAN 分配分配参数的可以分配参数的FC20STL调用FC20(e.ginOB #Acknowledge #Acknowledge #Fault_SignalFP I IMSASAAAN AN 形式参实实际参SIMATICSIMATIC®AG2003.All.SITRAINTrainingAutomationand 形式参图形显使用形式参图形显使用方定参数类SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 编辑可以分配参数的SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 调用可以分配参数的SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:编辑可以分配参数的FCSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 第一次调用FC20的参数第一次调用FC20的参数分第二次调用FC20第二次调用FC20的参数分AG2003.Allrights.
SITRAINTrainingAutomationandOBOBFB)DB FB表SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand FBFB表背景数据SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 1.在FB1.在FB2.在LAD/STL/FBD 在SIMATICSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 之后插入/删除块的参SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 调用被修改过的块时单击鼠标右SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 练习:编辑功能SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 删Network添Network2删Network添Network2&SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationandCallFB20,CallFB20, CallFB20, CallFB20, SIMATIC®AG2003.All
OBCallCallFB100,
FBCallDist_1 CallDist_2
SITRAINTrainingAutomationandLLT#LLLT#LLTMWT 练习:SIMATIC®SIMATIC®AG2003.All.SITRAINTrainingAutomationand 在块调用时使用EN/ENO无条件调??.FC无条件调??.FC NOP1条件调IFCQ=AI1A=Q例??.=FCFCFCSIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand 总UCCCCALLCALLPar1:Par2:Par3: CALLFB2,Par1:Par2:Par3:UCCCCALLFB1,SIMATIC®AG2003.Allrights.
SITRAINTrainingAutomationand
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 四年级信息技术下册 保卫家园教学实录 龙教版
- 中学生课前三分钟演讲稿
- 高校办学的模式分析
- 2024年春七年级语文下册 第6单元 23 带上她的眼睛教学实录 新人教版
- 积极向上的演讲稿15篇
- 护士长个人原因辞职报告(集锦9篇)
- 学科工作计划
- 快递业务员辞职信7篇
- 医师年度工作总结范文10篇
- 办公室主任个人总结万能10篇
- 2024版《糖尿病健康宣教》课件
- 期末 (试题) -2024-2025学年人教PEP版英语四年级上册
- MOOC 宪法学-西南政法大学 中国大学慕课答案
- 是谁杀死了周日
- 酒店委托管理模式下的财务治理
- 简单员工考勤表
- 新年贺卡模板
- 国家开放大学《管理英语4》章节测试参考答案
- 云南省普通初中学生成长记录—基本素质评价表(表一)
- 香港会计报表(中英文对照)
- 农民工实名制台账
评论
0/150
提交评论