检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张洪宝[1] 华晓峰[1] 田晓龙 Zhang Hongbao;Hua Xiaofeng;Tian Xiaolong(Dezhou Vocational and Technical College,Dezhou,Shandong 253000,China)
出 处:《机电工程技术》2021年第9期159-161,共3页Mechanical & Electrical Engineering Technology
摘 要:利用组态王设计的模拟时钟,解决了模拟时钟在运行时时针不能连续匀速旋转、时针的位置不能和分针相互对应的问题。在设计过程中,在表盘上的特殊位置做出辅助线,确定12个整点刻度线的位置,并画出刻度线;通过计算设置坐标,将指针对齐到表盘的中心;完成动画连接后,经过对命令语言的反复精心设计,模拟时钟的时针能够缓慢的匀速旋转。运行时,能够通过画面上的数字显示运行时间并能随意手动更改,指针能随着更改的时间同步旋转;能通过启停开关进行控制,并能将时钟复位。通过设置画面命令语言中的程序循环时间为600 ms,设计的模拟时钟运行快慢能和实际的时钟相吻合,运行模拟时钟可以当作钟表使用。该设计在组态王软件教学中起到了很好的作用。The analog clock designed by Kingview solves the problem that the hour hand cannot rotate continuously and uniformly and the position of the hour hand cannot correspond to the minute hand when the analog clock is running.In the process of design,the auxiliary lines were made at a special position on the dial,the positions of the twelve hour scale lines were determined on the dial,and the scale lines were drawn.By calculating the set coordinates,the pointer was aligned to the center of the dial.Through the design of animation connection and command language,the hour hand of the analog clock can rotate at a slow and uniform speed.At runtime,the run time was digitally displayed and changed manually at will,the pointer can rotate synchronously with the changed time,it was control with the start-stop switch,and the clock was reset.By setting the program cycle time in the screen command language to 600 ms,the speed of the designed analog clock can be consistent with the actual clock,and the analog clock can be used as a clock.The design plays a very good role in the teaching of Kingview software.
分 类 号:TP271[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.137.177.255