当前位置:网站首页>LM小型可编程控制器软件(基于CoDeSys)笔记十七:pto脉冲功能块
LM小型可编程控制器软件(基于CoDeSys)笔记十七:pto脉冲功能块
2022-06-25 21:57:00 【Gutie_bartholomew】
PTO代表3个英语单词的缩写-pulse train output ,第一个单词pulse代表脉冲,train一般我们认为是火车,火车大多是一长串,在这里代表一系列,或者是一行,也就是一串的意思;output是输出,连起来就叫一串脉冲。

FUNCTION_BLOCK ADH164_PTO(ADH164_PTO功能块)
(*
low velocity pto 低速脉冲
max veloctiy is 20khz 最大速度20khz
*)
VAR_INPUT 输入变量
EN_R:BOOL; 使能变量布尔类型 (*enable bit*)(启用标志位)
Axis:BYTE;通道变量比特类型 (*channel:1,QX0.0; 2,Qx0.1; 3,QX0.2; 4,QX0.3 *)(通道:1,qx00,2,qx01)
Target:DINT;目标位置变量(数值类型) (*target position value*)(目标位置数值)
VMax:DWORD;最大速度变量(字节类型) (*max velocity*)(最大速度)
ACCTime:WORD;加减速控制 (*acc time (ms)*)
END_VAR
VAR_OUTPUT输出变量
Active:BOOL; 布尔变量 (*finish flag*)完成标志位
CV:DINT; 数值变量 (*pulse number have finished*)(已完成的脉冲数)
Error:BYTE; 字符变量 (*error word*)错误提示
END_VAR
VAR中间变量
M:BOOL; (*Variable for first execute flg*)用于表示初次完成标志的变量
Select_R:BYTE; (*axis process record variable*)事件进程记录变量
END_VAR

边栏推荐
- 2022-2028 global carbon fiber unidirectional tape industry research and trend analysis report
- The wisdom of questioning? How to ask questions?
- oracle -- 表操作
- 多模态数据也能进行MAE?伯克利&谷歌提出M3AE,在图像和文本数据上进行MAE!最优掩蔽率可达75%,显著高于BERT的15%...
- GStreamer initialization and plugin registry procedures
- 小程序-视图与逻辑
- 2022年中职组网络安全新赛题
- APP-新功能上线
- 2022-2028 global iridium electrode industry research and trend analysis report
- Huawei cloud SRE deterministic operation and maintenance special issue (the first issue)
猜你喜欢

ES6-Const常量与数组解构

Cvpr2022 tutorial | machine learning remote sensing processing: agriculture and food security, University of Maryland

ES6 learning -- let

2022-2028 global web and browser isolation platform industry research and trend analysis report

Wpewebkit debugging MSE playback

2022-2028 global carbon fiber unidirectional tape industry research and trend analysis report

Oracle - getting started

2022-2028 global RBI platform industry research and trend analysis report

元宇宙标准论坛成立

String deformation (string case switching and realization)
随机推荐
Why absolute positioning overlaps
Reasons why MySQL cannot be connected externally after installing MySQL database on ECs and Solutions
1281_ FreeRTOS_ Implementation analysis of vtaskdelayuntil
2022-2028 global TFT LCD touch screen industry research and trend analysis report
ES6-Const常量与数组解构
Why is BeanUtils not recommended?
What should it personnel over 35 years old do if they are laid off by the company one day?
What are the channels for Internet advertising to gain customers?
如何用jmeter做接口测试
Unity技术手册 - 粒子基础主模块属性-上
Fastjson反序列化随机性失败
等价类,边界值,场景法的使用方法和运用场景
MySQL数据库索引
2022-2028 global SiC igniter industry research and trend analysis report
Unity technical manual - getKey and getaxis and getbutton
Unity technical manual - life cycle rotation rotationoverlifetime- speed rotation rotationbyspeed- and external forces
oracle -- 表操作
Canoe: the fifth simulation project: simulation + test
Which PHP open source works deserve attention
The Ping class of unity uses