你好我叫凯汉
Hello My name is Kayhan
我是PLC新手,编程PLC有问题。我的PLC是CPU 313C,我想使用定时器2000小时。你能帮忙吗?
I am new on PLC and I have a problem to program PLC. My PLC is CPU 313C and I want to use timer for 2000h. Could you help please ?
谢谢
Thanks.
使用1小时的计时器。如果已经过去,则向计数器发送脉冲,计数器计数到2000。
Use a timer with 1 hour. If have elapsed, a pulse to a counter, which counts up to 2000.
事实上我的问题是这样的。
Actually. My problem is such as.
我的工作区有很多机器,我想使用PLC程序进行维护。我们必须在2000小时后更换机器的机油、过滤器等。现在我们使用24V直流工作的机械计数器来控制工作时间机器。
There are a lot of machines in my working area, and I want to use PLC program for maintenance.We must change oil, filter etc. of the machines after 2000 hours. now We using mechanical counter that works 24V DC to control of the working time machine.
如果我们的机器开始工作,机械计数器上有24V直流电。我将在PLC输入上使用此24V DC。
If our machines start working, there is 24V DC on mechanical counter. I will use this 24V DC on PLC input.
对于PLC,如果有定时器输入,则定时器正在启动,但没有输入并再次启动输入。它从头开始。
for PLC If there is input for timer, timer is starting, but no input and again start input. It is startin again from beginning.
你能帮我吗?
Could you help me please?
谢谢
Thanks.
亲爱的Kayhan:,
Dear Kayhan,
你应该使用保持定时器。查看如何在S7-300中创建保留计时器:
you should use a retentive timer. Check out how to create a retentive timer in S7-300:
如何编程一个定时器,使其在停止时保持时间值,并在存储值时开始计时?查看以下链接,了解可以使用的计时器:
Check out following link for the timers that can be used:
你如何测量时间?如果准确度不是那么重要,我建议您使用运行时仪表。这些时间最多可达32767小时。
I suggest you use runtime meters if accuracy isn't that important. Those can count up to 32767 hours.
诚挚问候,
Kind regards,
延斯
Jens
谢谢亲爱的Jens_app,
Thank you Dear Jens_app,
我下载文件P_FB115.zip 但是,我不知道如何使用它。
I download file P_FB115.zip but, I do not know that how to use it .
你能帮我吗?
Can you help me pleaese ?
亲爱的Kayhan:,
Dear Kayhan,
什么意思?无法打开文件?或者你想要一些关于如何使用FB的指导吗?
what do you mean? You cannot open the file? Or do you want some guidance on how to use this FB?
如果有一些关于如何使用该函数的指导,您应该首先看一下描述如何参数化FB的表格:
If it's some guidance on how to use the function, you should first take a look at the table which describes how to parametrize the FB:
Parameter Parameter | Type Type | 描述 Description |
时间_否 Tmr_no | 计时器 TIMER | 使用的计时器的T(#)编号 T(#) number of the timer used |
T基准: Tbase: | 国际的 INT | 0 =.01秒时基 0 =.01 second time base |
1 =.1秒时基
1 =.1 second time base
2=1秒时基
2 =1 second time base
3=10秒时基
3 =10 second time base
忽略其他数字,并设置最后一个有效时基
Other numbers are ignored and the last valid time base is set
预设
Preset
国际的
INT
要计数的时间长度0-999
Length of the time to be counted 0-999
启动(_S)
T_start
布尔
BOOL
正沿启动计时器,负沿停止计时器
Positive edge starts the timer, negative edge stops the timer
T_重置
T_Reset
布尔
BOOL
计时器重置为0
Timer is reset to 0
数字
Number
s5时间
S5TIME
计算从0到预设的时间
Counts the time from 0 to Preset
EN
EN
布尔
BOOL
指示计时器是否均匀计数
Indicates whether the timer is counting evenly or not
数据中心
DN
布尔
BOOL
指示何时达到预设
Indicates when the Preset has been reached
因此,您可以调用此函数块并将其连接到实例DB,然后根据程序要求对其进行参数化。
So you call this function block and connect it to an instance DB, then parametrize it according to your program requirements.
诚挚问候,
Kind regards,
延斯
Jens
亲爱的Jens_app
Dear Jens_app
很抱歉,我无法打开文件。我添加了文件。你能帮助我吗?
I am so sorry, I can not open file. I added file. Can you help me ?
首先,我打开程序,如照片1
Firstly I opened the program such as photo 1
然后单击文件>检索,
then I click File>Retrieve,
然后我选择了你发布的文件,如照片2
then I selected the file that you have posted such as photo 2
然后我选择了s7proj来保存照片3
then I selected the s7proj to save photo 3
然后照片4混合了我点击ok
then photo 4 is comming I clicked ok
但最终照片如照片5。
but end photo is such as photo 5.
由于设置语言为英语,程序未打开
Program is not opening because of seting languge is english
谢谢
Thanks.
亲爱的Kayhan:,
Dear Kayhan,
查看以下线程以解决您的语言问题:
Check out following thread to resolve your language issue:
由于语言原因,无法打开步骤7项目接下来,尝试将项目提取到已知路径(例如“C:\project\”),然后在顶部栏中打开simatic manager->,转到文件->打开->按浏览…->转到提取项目的路径->选择项目并按确定。
Next try extracting the project to a known path (for example "C:\Project\") then open simatic manager -> in the top bar, go to File -> Open -> Press Browse... -> go to the path were you extracted the project -> select the project and press OK.
让我知道结果如何。。。
Let me know how it worked out...
Gr、Jens
Gr, Jens
你好亲爱的Jens_app
Hello Dear Jens_app
我试过你说的,但也有同样的错误,比如照片。
I have tried that you say , but there is same error such as photo.
我必须指定德国西马克经理吗?
Must I set simatic manager Germany ?
我很抱歉。
I am so sorry.
亲爱的Kayhan:,
Dear Kayhan,
我不认为这是必要的,我的是以英语为背景的,而且效果很好。我只听说过这个问题,但我自己没有遇到过。我会尝试以下步骤:
I don't think thatisnecessary, mine is set in english and it works fine. I have only heard of this problem, but I haven't encountered it myself. I'd try following step:
2008年4月19日加入 Joined 4/19/2008 上次访问:2014年10月14日 Last visit: 10/14/2014 职位:1511 Posts: 1511 额定值: Rating: |
夏威夷群岛
HI
关闭步骤7并打开项目文件夹,转到“全局”文件夹,删除语言文件(而不是ShiftDel),然后再次打开步骤7打开项目
Close the Step 7 & open your project folder in that go to the "Global" folder & just delete the Language file (not Shift Del) & again open the Step 7 your project get open
艾米。
Ammy.
每个人都是新的。。。。。。。。。。。。。。
New for every one..............
“没有什么责任比报答感谢更紧迫了。”
“No duty is more urgent than that of returning thanks.”
如果问题解决了。。。。。。!
If Problem Solved......!
我不能私下帮你-请在论坛上发表
I can't help you privately - please post in the Forums
试试这一步,告诉我进展如何,如果这不能解决你的问题,我建议你创建一张支持票。
Try this step and let me know how it went, if that doesn't solve your problem I advise you to create a support ticket.
Kr、Jens
Kr, Jens
...。 there is normaly no way to get this out of LOGO!.标志!有FB(周计时器),您可以在指定的时间和日期使用它来打开/关闭。 LOGO! has FB's (weekly timer) you can use to switch on/off at specified time and day.为什么您的应用程序需要h和m? Why you need h and m...
...家好,今天好! Hi all, good day!嗯,我又陷入了一个简单的计时器保持率的基本问题。 wel i'm again stuck to a simple basic problem of timer retentivity.有2个计时器-1)。打开延迟计时器。[可设置保留] there are 2 timers - 1). on delay timer. [can be...
...y. 我需要像你这样的例子。但我希望这是一个用两个每周计时器. 附件中是我的图表的正确部分。因为我经常更改软件(改进)块B244后的未更正时间。我需要“孔小时脉冲”.因此 我必须在下载新软件之前或(当我忘记时)在B249...
问题描述我不熟悉使用LOGO。我正在尝试配置计时器/继电器,以允许每24小时使用2小时,但不一定每天使用2小时。一旦触发,该设备将允许2小时不间断使用,然后22小时“锁定”。然后,在触发事件之后,循环将再次开始有人建...
...前使用的昂贵而寿命短的单元,我很惊讶标识8没有24小时计时器 Hello again, I am trying to write a programme to ring the period bells in a school to replace the expensive and short life unit currently in use, I am surprised that the logo 8 does not have a 24 hour timer我必须...
...触发的创建屏幕1-10,有人知道怎么做吗?我花了好几个小时都没有成功:-( Everythings works perfect and very inuitive but i need changing created screens 1-10 on HMI triggered by flag M1-M10 from Siemens logo, anybody know how to do it? I spended many hour without sucess ...
...到极大的欢迎 Any support would be greatly received推荐答案2每周计时器。 A weekly timer.对于所有3个凸轮,打开所需的日期并打开脉冲输出。 For all 3 cams turn on the desired days and put on pulse Output.推荐答案3工作招待:)谢谢 Works a treat :) thank y...
...你好 Hello,我能用LOGO吗!8制作一个200 小时保持开启延迟计时器 can I with LOGO! 8 make a 200 Hours retentive ON Delay timer? 谢谢 Thanks推荐答案2一个ON延迟的最大值为99小时:59米。 The maximum of one ON delay ist 99h:59m.但您可以级联3个ON延迟计时器...
...小的 - smaller推荐答案3下面是一个小例子,说明如何计算计时器的总时间,并将其与48小时(更大)的值进行比较。 Here is a small example of how you can calculate the total time of timers and compare it to the value of 48 hours (larger).每个定时器的值通...
...value if it equals to certain value). 例如,我将在程序中有四个计时器(我将设置的每个计时器,例如5小时、6小时、9小时和4小时。我需要求和并比较设置的总持续时间,以确保总持续时间不超过48小时 Example, i will be having four timers in ...
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!