读取频率测量模式6es7 350-2ah01-0ae0Reading Frequency measurement mode 6es7 350-2ah01-0ae0

你好 我正在使用以下设备进行一次应用: 1) CPU 315-2 PN/DP:6es7 315-2fh13-0ab0 v2.6; 2) Fm 350_2计数器:6ES7 350-2ah010ae0; 3) 每转4096脉冲的病态增量编码器; 我已将Fm350_2模块参数化: 编码器的数据连接到DI0。我尝试读取OB82(硬件中断)中的脉冲,我只有0,6 Km/h的分辨率,然后valor冻结在0,6...

问题描述

你好

Hello,

我正在使用以下设备进行一次应用:

I'm doing one application with the following equipment:

1) CPU 315-2 PN/DP:6es7 315-2fh13-0ab0 v2.6;

1) CPU 315-2 PN/DP: 6es7 315-2fh13-0ab0 v2.6;

2) Fm 350_2计数器:6ES7 350-2ah010ae0;

2) Fm 350_2 COunter: 6ES7 350-2ah010ae0;

3) 每转4096脉冲的病态增量编码器;

3) Sick Incremental Encoder with 4096 Pulses per Revolution;

我已将Fm350_2模块参数化:

I have my Fm350_2 module parameterized:

编码器的数据连接到DI0。我尝试读取OB82(硬件中断)中的脉冲,我只有0,6 Km/h的分辨率,然后valor冻结在0,6Km/h;

The Data of Encoder is connected to DI0. I tried to read th pulses in OB82 (Hardware Interruptions) and i only have resolution until 0,6 Km/h then the valor freezes at 0,6Km/h;

Sow i使用以下选项参数化了我的模块:

Sow i had parameterized my module with the following options:

1) 编码器:脉冲和方向;

1) Encoder: Pulse and Direction;

2) 工作模式:频率测量,时间窗口:10x10ms;

2) Operating Modes: Frequency Measurement, Time window: 10x10ms;

3) 中断启用:未选择任何选项;

3) Interrupt Enable: None option selected;

4) 数字输出:停用;

4) Digital Outputs: Deactivated;

当我尝试在调试->调试中直接读取时,测量值始终为0,当编码器开始发送脉冲时,STS_DI闪烁。

When i try to read directly in debug-> Comissioning, the Measurement is always 0, the STS_DI flashes when the encoder start to send pulses.

我的程序是在OB35,Nw:7中实现的(这是因为我们正在对其他模块进行测试)。在简历中:

My program is implemented in OB35, Nw: 7 (that is commented in this moment because we are doing tests withe the other modules). In resume:

1) 我用DB_NO:w#16#2调用FC4;Ret_Val:#iErrorFC4(Int变量);

1) I call FC4 with DB_NO:w#16#2; Ret_Val: #iErrorFC4 (Int Variable);

2) 将100移动到db2.db2(作业编号);

2) Move 100 to db2.dbb2 (job Number);

3) 读取Db2.dbd152(它返回值L#-1);

3) Read Db2.dbd152 (It returns the valor L#-1);

真诚地

Sincerely,

消防队长马查多

Pedro Machado

你可能感兴趣的文章

测量输入之间的时间并计算速度

...ng of the two sensors at I1 and I2 (times and relative cycles)?-LOGO-循环频率? - the LOGO!-cyclic frequency?-你的标志输入和你的外部手表触发的是一样的吗? - are the trigger of your logo-inputs and you external watch the same?可能测试以下内容: Perhaps test the fol...

  • 发布于 2022-10-10 18:08
  • 阅读 ( 73 )

频率计数问题

...为在测试模式下,我无法在阈值触发器上测量高于40hz的频率。输入I5保持高,但一旦超过40hz,触发器就不计数,因此输入降低(我还有一个单独的仪表连接测量频率……)。 Iam building a system to measure water pressure on a closed loop syste...

  • 发布于 2022-10-10 18:27
  • 阅读 ( 209 )

模拟标志的频率输入

...流量。流量计每旋转一次就产生一个脉冲。因此,流量与频率成正比。我想要一个与流量成比例的模拟输出,这样我就可以在SD卡上记录我的新0BA7。 My problem is that I want to measure the flowrate from a small flowmeter. The flow meter gives an impuls...

  • 发布于 2022-10-10 19:45
  • 阅读 ( 115 )

关于LOGO 8.FS4问题的RPM。

...h the speed is (rpm).对于正常的数字输入,西门子仅保证4Hz的频率,即240 rpm。 For normal digital inputs, Siemens only guarantees a frequency of 4Hz, which corresponds to 240 rpm.对于更高频率,您需要一个LOGO!哪个可以only 提供纯直流电压。这些LOGO!s具...

  • 发布于 2022-10-11 05:17
  • 阅读 ( 75 )

简单的速度测量

...序具有连续脉冲开/关或0/1,则可以使用此功能块将频率读取为速度测量。  Speed in motion pulse could be measuring speed in frequency. If your application have continuous pulse on / off  or 0 / 1 then you may read the frequency as speed measuring with this function block....

  • 发布于 2022-10-11 07:59
  • 阅读 ( 69 )

CPU416-2 DP识别和纠正内存错误的频率

...2718事件1,共120个:事件ID 16#3583识别和纠正的内存错误的频率inknown(Z1:0000)Requested OB:CPU hardware fault OB(OB84)优先级:25 Event 1 of 120:  Event ID 16# 3583Frequency of recognized and corrected memory errorsrecognized in unknown (Z1: 0000)Requested OB: CPU hard...

  • 发布于 2022-10-11 19:18
  • 阅读 ( 70 )

用FM450-1精确测量频率

...e the counter in the programm.为了得到频率,我会在循环中断中读取countvalue并计算其中的频率。循环中断具有固定的调用时间(例如每100毫秒),因此更容易评估频率。 To get the frequency I would read out the countvalue in a cyclic interrupt and calcul...

  • 发布于 2022-10-11 21:49
  • 阅读 ( 73 )

FM 450-1配置

问题描述我使用的是FM 450-1,MLFB编号如下–6ES7-450-1AP01-0AE0 I am using FM 450-1 with MLFB No. as follows – 6ES7-450-1AP01-0AE0我想使用TIA Portal V13进行同样的编程。我找不到任何pdf解释如何在TIA Portal V13中使用FM450-1。 I want to program the same using TI...

  • 发布于 2022-10-11 23:35
  • 阅读 ( 66 )

机架0中的主CPU 414-5H(6ES7 414-5HM06-0AB0)故障,LED闪烁(INTF、EXTF、REDF等)。诊断缓冲区:

...upport-Request to contact Siemens direcly.他们可以从诊断缓冲器中读取编码信息。 They can read out the coding information from diagnostic-buffer.致问候, regards,推荐答案4你好,MOPSO4, Hi MOPSO4,感谢您的回复,创建支持请求,西门子发送了S7Dump文件  T...

  • 发布于 2022-10-12 00:16
  • 阅读 ( 59 )

更改类型模块

...您好,我可以在不更改硬件的情况下将物理模块从41-1CH02-0AE0更换为341-1CH01-0AE0吗 Hi, can i replace physical module from 41-1CH02-0AE0 to 341-1CH01-0AE0 without changes in hardware推荐答案2你好 Hi,我认为不是,因为模块是“向上”兼容的,但不是向下...

  • 发布于 2022-10-12 01:57
  • 阅读 ( 64 )