- 9
- 0
- 约6.73千字
- 约 12页
- 2023-06-09 发布于上海
- 举报
WINCC 动画脚本
电机风扇旋转(几何---起始角度):
#include apdefap.h
long _main(char* lpszPictureName, char* lpszObjectName, char*
lpszPropertyName)
{
static DWORD f=20;
if (GetTagBit(DI 电机运行信号)) {
f= f+30;
if (f==360) (f=0);
}
return f;
}
电机风扇旋转(几何---结束角度):
#include apdefap.h
long _main(char* lpszPictureName, char* lpszObjectName, char*
lpszPropertyName)
{
static DWORD i=80;
if (GetTagBit(DI 电机运行信号)) {
i = i+30;
if (i==360) (i=0);
}
return i;
}
**物料水平右移动(几何---位置 X)(停车后,物料回到原点)**
#include apdefap.h
long _main(char* lpszPictureName, char* lpszObjectName, char*
lpszPropertyName)
{
static int a=350;
if (GetTagBit(DI
您可能关注的文档
- Unit 6 Do you like bananas教学设计分析和总结.docx
- Unit 6 Do you like bananas说课稿、、分析和总结.docx
- Unit 6 How do you feel教学设计分析和总结.docx
- unit 6 when was it invented 3a 3c 教学设计分析和总结.docx
- Unit 6 When was it invented单元测试题及答案.docx
- Unit 6 When was it invented课文知识点归纳详细讲解.docx
- Unit 6 参考教案 3分析和总结.docx
- Unit 7 How much are these socks 公开课教案分析和总结.docx
- unit 7 how much are these socks 教学设计分析和总结.docx
- Unit 7 Will people have robots 全单元教案分析和总结.docx
最近下载
- 内架承包合同.doc VIP
- 《GBT 23278.1-2009锡酸钠化学分析方法 第1部分:锡量的测定 碘酸钾滴定法》专题研究报告.pptx VIP
- 《体育与健康(第3版)》中职全套教学课件.pptx
- 2026年全国新高考2卷英语试卷(含答案及解析).pdf
- (2026年)科学母乳喂养健康宣教PPT课件.pptx VIP
- 动力电池结构胶与导热胶材料革新:CTP CTC技术下的性能需求与市场.docx VIP
- 实验室管理体系-操作规程.doc VIP
- 工程施工的重点和难点及保证措施.doc VIP
- 《采用拱冠梁法进行拱梁荷载分配计算过程案例》3600字.docx
- 重力坝毕业设计开题报告重力坝毕业设计开题报告.doc VIP
原创力文档

文档评论(0)