文档详情

sas场景设定功能

正**
实名认证
店铺
DOC
544KB
约4页
文档ID:41813277
sas场景设定功能_第1页
1/4

习题习题 1::采用采用 SA/SSA/S 的的 presetpreset 功能完成任意场景控制功能完成任意场景控制 内容内容: 用一个 4 联开关按钮、1 个 8 路 SA/S 8.16.5S 实现 4 个场景 场景一:A=1,B=0,C=1,D=0,E=1,F=0,G=1,H=0 (第一联左键) 场景二:A=1,B=1,C=1,D=1,E=1,F=0,G=1,H=0(第一联右键) 场景三:A=0,B=1,C=1,D=0,E=1,F=0,G=1,H=1(第二联左键) 场景四:A=1,B=0,C=0,D=0,E=1,F=1,G=0,H=0(第二联右键)元件:元件: 4 联按钮 6127 1.1.2 8 位双值驱动器 SA/S 8.16.5S 1.1.1ETS 设置设置 a)开始 ETS2 软件b)在“SETTING”中设置 ETS2 步骤步骤: a) 设立一个新的项目 b) 插入 1 个 6127 和 1 个 SA/S 8.16.5S c) 编辑 6127 的参数,将第一联 rocker1 的 operation mode of rocker 设定为“Flexible allocation” ,将 Reaction on rocker right 和 Reaction on rocker left均设定为 “switch defined”将 switching function of rocker right 和 switching function of rocker left 均设定为“rising=ON” ;d) 第二联的设定与第一联的设定相同e) 编辑 SA/S 的参数,将 A: function 中的 Enable function “presets”设定为“yes”将 A: presets 中的 Reaction on preset 1(telegr. Value 0) 设定为 “On” 将 Reaction on preset 2(telegr. Value 1) 设定为 “Off”f)其他 B 到 H 的设定与 A 相同。

g) 组地址的连接如下表: 组地址 0/0/10/0/20/0/30/0/4 相关对象Switching : Rocker 1 leftSwitching : Rocker 1 rightSwitching : Rocker 2 leftSwitching : Rocker 2 right Switch : output ASwitch : output ASwitch : output BSwitch : output A Switch : output CSwitch : output BSwitch : output CSwitch : output E Switch : output ESwitch : output CSwitch : output ESwitch : output F Switch : output GSwitch : output DSwitch : output GCall preset 1/2 : output B Call preset 1/2 : output BSwitch : output ESwitch : output HCall preset 1/2 : output C Call preset 1/2 : output DSwitch : output GCall preset 1/2 : output ACall preset 1/2 : output D Call preset 1/2 : output FCall preset 1/2 : output FCall preset 1/2 : output DCall preset 1/2 : output G Call preset 1/2 : output HCall preset 1/2 : output HCall preset 1/2 : output FCall preset 1/2 : output H要点:要点: a) 根据场景的各路输出的状态,为“1”的,用 switch 对象控制;为“0” 的,用 call preset 1/2 对象控制。

b) 因此,用一个 6127 最多可以实现 8 个场景; c) 1 个 8 路的 SA/S 理论上可以实现 2 的 8 次方共 256 个场景。

下载提示
相似文档
正为您匹配相似的精品文档