Sign in to follow this  
Followers 0
Logan1101

Specific Time to energize an output

12 posts in this topic

Wanting to know if you could set a Mitsubishi Fx PLC to energize an output and/or coil at a specific time?

Looking to automatically start a process when 5am hits. 

Edited by Logan1101

Share this post


Link to post
Share on other sites

And at what time to off? What serie of FX PLC? 

Share this post


Link to post
Share on other sites

Looking to set a latch at 5am every morning to start a process Fx3u.

Edited by Logan1101

Share this post


Link to post
Share on other sites

!! In this case an output/coil wil be activated just once (at 5am) after running and never be deactived until the PLC will be gone into Stop mode or unpowered...

Share this post


Link to post
Share on other sites
1 hour ago, Logan1101 said:

Wanting to know if you could set a Mitsubishi Fx PLC to energize an output and/or coil at a specific time?

Looking to automatically start a process when 5am hits. 

So you're looking at 5am for an output coil to turn on and and stay on for five seconds or so to give a Start Pulse to a process?

Share this post


Link to post
Share on other sites

in general, the internal clock of the plc can be used for this purpose. the internal clock can be queried in the program via special registers
(depending on the plc type) and can be used to switch an output.

However, it must be taken into account that the internal clock of the plc usually does not run completely accurately over a longer
period of time and that it shows a deviation after some time. Ideally, the plc should be able to synchronize its clock, for example using a NTP server (network time protocol)
available in the network (if plc has ethernet), although not all FX CPUs support this.
also the summer/winter time changeover is mostly still to be considered, since this won't change automatically.

I think the main problem is therefore not so much to switch an output at a given time, but rather to have the clock of the plc accurate.

 

 

Share this post


Link to post
Share on other sites
16 minutes ago, AndreasW said:

как правило, для этой цели можно использовать внутренние часы ПЛК. внутренние часы могут быть запрошены в программе через специальные регистры
(в зависимости от типа ПЛК) и могут использоваться для переключения выхода.

Однако следует учитывать, что внутренние часы ПЛК обычно не работают полностью точно в течение длительного
периода времени и через некоторое время показывают отклонение. В идеале ПЛК должен иметь возможность синхронизировать свои часы, например, используя NTP-сервер (сетевой протокол времени),
доступный в сети (если ПЛК имеет Ethernet), хотя не все ЦП FX поддерживают это.
Кроме того, переход на летнее / зимнее время по большей части еще предстоит рассмотреть, поскольку он не изменится автоматически.

Я думаю, что основная проблема заключается не столько в том, чтобы переключить выход в заданное время, сколько в том, чтобы часы ПЛК были точными.

 

 

Andeas W, this is about agrocultural automation. In this application the RTC accuracy is an evil) 

Share this post


Link to post
Share on other sites

Okey.
How is just to activate. For example:
 

LD= D8015 K5
AND= D8014 K0
SET M0

 

Share this post


Link to post
Share on other sites

you can compare the data register or use the tcmp function

M0 is an internal relay, not an output. Outputs are Y___ eg. Y1
If you SET M or Y it will stay on and doesn't get reset. Either you add a RST command to
reset the relay/output or you can use a self-holding of the output using an timer
e.g. T0 is a 100ms Timer, so T0 K10 means 1second

e.g
image1.thumb.jpg.4ce68b0dc9ed88fc80405ae

check which outputs and timers you can use so that they do not collide with the existing PLC program

 

 

 

Share this post


Link to post
Share on other sites

Use a digital time clock instead. The FX internal time is very poor without a way of correcting it regularly.

Share this post


Link to post
Share on other sites
On 9/28/2021 at 2:39 PM, Inntele said:

!! In this case an output/coil wil be activated just once (at 5am) after running and never be deactived until the PLC will be gone into Stop mode or unpowered...

Yea because there is definitely not a way to reset a latch. 

Share this post


Link to post
Share on other sites
3 hours ago, Logan1101 said:

Yea because there is definitely not a way to reset a latch. 

Hmm, it sounds a bit strange. The way is present always.
Could you, pls, to describe your task in detail and I (we) will try to help you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0