登录
首页 » Windows开发 » um=5.elmo

um=5.elmo

于 2022-06-16 发布 文件大小:1.11 kB
0 70
下载积分: 2 下载次数: 1

代码说明:

/*The program sets an arrays  of positions and speeds.On the digital input #6 trigger, the program moves forward, waits one second and returns.The destination and speed of the motion are defined according to the values in the speed and position arrays, with an index set by digital inputs #1 through #5.When an error occurs, the program stops and digital output #1 is raised.The motions are executed by functions called by the main program.Errors are detected in the motion functions and returned to the main program.*///Global Variable declarationint Destination[32];int MotionSpeed[32];int MaxDest;int MaxSpeed;//Functions declarationfunction int Err = MoveForward(int MoveIndex); function int Err = MoveBack(int MoveIndex);//Program##PROGRAM1//Local variables declarationint i;float Coeff;//Program bod

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 粘贴数据比复制更加复杂,因为你需要选择粘贴的格式。
    粘贴数据比复制更加复杂,因为你需要选择粘贴的格式。 ---- 1. 在你的视中,实现OnEditPaste来处理用户从编辑菜单选择粘贴命令的操作。 ---- 2. 在OnEditPaste函数中,建立一个COleDataObject对象并且访问它的AttachClipboard成员函数来将这个对象绑定到剪贴板。 ---- 3. 访问COleDataObject::IsDataAvailable函数来检查是否可以使用特殊的格式。当然,你也可以通过循环使用COleDataObject::BeginEnumFormats来寻找其它格式直到你找到了最适合的格式。 ---- 4. 粘贴数据。 -paste data replication more complicated than that because you need to choose paste format.---- 1. Depending on your, and realize OnEditPaste to users from the edit menu select paste ordered the operation.---- 2. In OnEditPaste function, the establishment of a visit COleDataObject object and its function AttachClipboard members will be bundled with the object to the clipboard.---- 3. Visit COleDataObject : : IsDataAvailable function can be used to check whether a special format. Of course, you can also cycle through the use of COleDataObject : : BeginEnumFormats to find other formats until you find the most suitable format.---- 4. Pasting data.
    2023-04-03 21:55:03下载
    积分:1
  • 进行测量单一水准线路平差计算,成果采用Excel电子表格输出或打印。...
    进行测量单一水准线路平差计算,成果采用Excel电子表格输出或打印。-To measure a single standard line adjustment calculation, the results of the use of Excel spreadsheets or print output.
    2023-07-26 07:20:03下载
    积分:1
  • 一个用delphi语言实现的聊天程序,实现了基本的功能
    一个用delphi语言实现的聊天程序,实现了基本的功能-A language with delphi realize the chat program to achieve basic functionality
    2022-01-26 01:07:05下载
    积分:1
  • Self
    自学c++半月通,pdf格式,分15天,循序渐进-Self-c++ Half pass, pdf format, at 15 days, step-by-step
    2022-04-07 13:08:58下载
    积分:1
  • java 编写的 Wumpus 小游戏
    Programming Fundamental 课程的Assignment 2 , 制作一份 用java 编写的Wumpus小游戏,界面优良,只是这是一份一开始显示游戏要素的版本,如若需要,可以稍作修改
    2022-10-25 04:20:03下载
    积分:1
  • 好nice.beautiful
    good nice.beautiful-good nice.beautiful....
    2022-08-21 14:05:43下载
    积分:1
  • 基于 Web 的版本检查的程序的例子
    基于 Web 的版本检查的程序的例子--An example of program of version checking which is based on web
    2022-06-27 15:49:50下载
    积分:1
  • 一个可以自由设定关机时间的小程序
    一个可以自由设定关机时间的小程序-a free set of small-time shutdown procedures
    2022-05-26 19:34:53下载
    积分:1
  • 文本网页文档的自动主题分类
    Automated subject classification of textual Web documents
    2022-10-27 15:40:03下载
    积分:1
  • a screen saver
    一个屏幕保护程序-a screen saver
    2023-01-19 18:50:04下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载