第8章 自动化任务
- 格式:ppt
- 大小:1.51 MB
- 文档页数:17


基本指令88.1 位逻辑运算8.1.1 位逻辑指令使用 LAD 和 FBD 处理布尔逻辑非常高效。
SCL不但非常适合处理复杂的数学计算和项目控制结构,而且也可以使用 SCL 处理布尔逻辑。
LAD 触点表格 8- 1常开触点和常闭触点LAD SCL说明IF in THENStatement; ELSEStatement; END_IF;常开触点和常闭触点:可将触点相互连接并创建用户自己的组合逻辑。
如果用户指定的输入位使用存储器标识符 I (输入)或 Q (输出),则从过程映像寄存器中读取位值。
控制过程中的物理触点信号会连接到 PLC 上的 I 端子。
CPU 扫描已连接的输入信号并持续更新过程映像输入寄存器中的相应状态值。
通过在 I 偏移量后追加“:P”,可执行立即读取物理输入(例如: “%I3.4:P”)。
对于立即读取,直接从物理输入读取位数据值,而非从过程映像中读取。
立即读取不会更新过程映像。
IF NOT (in) THEN Statement; ELSEStatement; END_IF;基本指令8.1 位逻辑运算表格 8- 2 参数的数据类型参数数据类型说明IN Bool 分配位●在赋的位值为 1 时,常开触点将闭合 (ON)。
●在赋的位值为 0 时,常闭触点将闭合 (ON)。
●以串联方式连接的触点创建 AND 逻辑程序段。
●以并联方式连接的触点创建 OR 逻辑程序段。
FBD、AND、OR 和 XOR 功能框在 FBD 编程中,LAD 触点程序段变为与 (&)、或 (>=1) 和异或 (x)功能框程序段,可在其中为功能框输入和输出指定位值。
也可以连接到其它逻辑框并创建用户自己的逻辑组合。
在程序段中放置功能框后,可从“收藏夹”(Favorites)工具栏或指令树中拖动“插入输入”(Insert input)工具,然后将其放置在功能框的输入侧以添加更多输入。
也可以右键单击功能框输入连接器并选择“插入输入”(Insert input)。
电气工程及自动化专业英语第八章课后习题答案1、I have worked all day. I'm so tired that I need _____ . [单选题] *A. a night restB. rest of nightC. a night's rest(正确答案)D. a rest of night2、17.—When ________ they leave here?—Tomorrow morning. [单选题] *A.doB.will(正确答案)C.doesD.are3、His understanding made a deep impression_____the young girl. [单选题] *A.on(正确答案)B.inC.forD.with4、_____ of the land in this area _____ covered with forest. [单选题] *A. Two-fifth; isB. Two fifth; areC. Two fifths; is(正确答案)D. Two fifths; are5、The office building will be _______ a library. [单选题] *A. turned onB. turned upC. turned into(正确答案)D. turned off6、The organization came into being in 1 [单选题] *A. 开始策划B. 进行改组C. 解散D. 成立于(正确答案)7、—Are these your sheep? [单选题] *A)on grass at the foot of the hill.(正确答案)B. feedC.is fedD. is feeding8、Kate has a cat _______ Mimi. [单选题] *A. called(正确答案)B. callC. to callD. calling9、The huntsman caught only a()of the deer before it ran into the woods. [单选题] *A. gazeB. glareC. glimpse(正确答案)D. stare10、Two()in our school were sent to a remote village to teach for a month. [单选题] *A. women teachers(正确答案)B. woman teachersC. women teacherD. woman teacher11、I’d like to know the _______ of the club. [单选题] *A. schedule(正确答案)B. schoolC. menuD. subject12、I’ve _______ a job interview today. [单选题] *A. haveB. had(正确答案)C. hasD. have gone to13、What’s the price and what sort of _______ do you offer? [单选题] *A. advantageB. accountC. displayD. discount(正确答案)14、30.It is known that ipad is _________ for the old to use. [单选题] *A.enough easyB.easy enough (正确答案)C.enough easilyD.easily enough15、There are many beautiful _______ in the wardrobe. [单选题] *A. bookB. dresses(正确答案)C. cell phoneD. grocery16、We ______ boating last weekend.()[单选题] *A. goB. went(正确答案)C. are goingD. will go17、2.The villagers want to have a bridge. Can this dream ________? [单选题] * A.come outB.get awayC.come true(正确答案)D.get out18、Tom is very _______. He never cleans his room. [单选题] *A. lazy(正确答案)B. activeC. shyD. healthy19、( ) My mother told me _____ in bed. [单选题] *A. not readB. not readingC. don’t readD. not to read(正确答案)20、You _____ smoke in the library, or you will be driven away. [单选题] *A. can'tB. mustn't(正确答案)C. will notD. may not21、—_____ are the Olympic Games held? —Every four years [单选题] *A. How longB. How often(正确答案)C. How soonD. How far22、It’s windy outside. _______ your jacket, Bob. [单选题] *A. Try onB. Put on(正确答案)C. Take offD. Wear23、88.Sorry. I don’t know the way? ? ? ? ? ?Dongfeng Cinema. [单选题] * A.byB.ofC.to(正确答案)D.for24、The city is famous _______ its beautiful scenery. [单选题] *A. for(正确答案)B. ofC. asD. to25、--It is Sunday tomorrow, I have no idea what to do.--What about _______? [单选题] *A. play computer gamesB. go fishingC. climbing the mountain(正确答案)D. see a film26、My dog is very _______. It is safe to touch it if you want to. [单选题] *A. luckyB. deliciousC. friendly(正确答案)D. helpful27、She has no idea of what the book is about. She_______ have read it carefully. [单选题]*A. Can’t(正确答案)B. mustn’tC. shouldn’tD. needn’t28、It ______ me half an hour to return to school.()[单选题] *A. takes(正确答案)B. spendsC. costsD. brings29、Many of my classmates are working _______volunteers. [单选题] *A. as(正确答案)B. toC. atD. like30、Where have you _______ these days? [单选题] *A. been(正确答案)B. beC. isD. are。