Khani_kk

Xinjie/Mitsubishi PLC TRD/TWR

4 posts in this topic

Posted (edited)

Hello,
I am new user of PLC System, I am using Xinjie PLC it's much alike Mitsubishi PLC.  i am doing a project of OEE, where i can save my machine ON and OFF time, machine Run and stop many times a day. So, i what i want is this each time when machine stop or in run mode, it's save time in HMI in two block (Stop time and Run time) , like at first machine start at 08:30 and stop 08:47 , and again start 09:05 and again stop 09:25 , so each time can save time on HMI like a two block RUN and STOP (and it's keep on going), so i can get the utilization of machine and it's output. as i am new user i just got from manual I think we use TRD and TWR function, but i have no idea of it. your help would may help and make easier for me. Thanks in advance.

Edited by Khani_kk

Share this post


Link to post
Share on other sites

The first thing that you will decide is exactly what you want and where?
Example: Shift = 8 hours = 480 minutes = 28800 seconds 
Let's assume a one second unit of measure.
ON Time for Shift = 20000 seconds (Register Location?)
OFF Time for Shift = 8800 seconds (Register Location?)
Once the basic information is stored per shift then calculation can be made for the shift.
Uptime = 69.44%

 

If you are looking just to log the events with time and date, then using the real-time clock would be beneficial. This can be done at specific intervals like every second or minute or just when the event occurs.

Example Output Every Minute
03/13/19 09:30:00 - Machine ON - Parameters A, B, C - Widgets Made
03/13/19 09:31:00 - Machine ON - Parameters A, B, C - Widgets Made
03/13/19 09:32:00 - Machine ON - Parameters A, B, C - Widgets Made
03/13/19 09:33:00 - Machine ON - Parameters A, B, C - Widgets Made
ETC.

Example Output for Event of Machine ON
03/13/19 09:30:00 - Machine ON - Parameters A, B, C - Widgets Made
03/13/19 09:45:10 - Machine OFF - Parameters A, B, C - Widgets Made
03/13/19 09:47:33 - Machine ON - Parameters A, B, C - Widgets Made
ETC.

You must begin with the end in mind.
This post may help you out.
https://accautomation.ca/now-you-can-have-robust-data-logging-for-free-part-1/

Regards,
Garry

 

 

Share this post


Link to post
Share on other sites

Hi Garry, Thanks for help, can't we use only HMI to log the data, i mean if i want to save only ON and OFF tiime of machine. like as you mentioned is second steps as following 

Example Output for Event of Machine.
03/13/19 09:30:00 - Machine ON - Parameters A, B, C - Widgets Made
03/13/19 09:45:10 - Machine OFF - Parameters A, B, C - Widgets Made
03/13/19 09:47:33 - Machine ON - Parameters A, B, C - Widgets Made
ETC.
 

So i just can use machine in two parts 
I Mean TWO block like this on HMI 

Example Output for Event of Machine "ON"
03/13/19 09:30:00 - Machine ON - Parameters A, B, C - Widgets Made
03/13/19 09:45:10 - Machine ON - Parameters A, B, C - Widgets Made
03/13/19 09:47:33 - Machine ON - Parameters A, B, C - Widgets Made

Example Output for Event of Machine OFF
03/13/19 09:40:00 - Machine OFF - Parameters A, B, C - Widgets Made
03/13/19 09:46:00 - Machine OFF - Parameters A, B, C - Widgets Made
03/13/19 09:51:30 - Machine OFF - Parameters A, B, C - Widgets Made
ETC.
 

Actually i'm new user, i am trying and thinking if i can do it by only using of PLC and HMI.
 

you kind response will be awaiting here. 

 

Share this post


Link to post
Share on other sites

Typically you would organize the data in the PLC and the HMI would display the data. 
Each time the machine starts, then capture the real-time data and store in a register. You can also do the same thing for when the machine stops. You would then need to index your register to store the next value(s).
You will need to know how big of an area you are going to need in the PLC. It appears that you are only going to store events and not do any calculation on the data.

Regards,
Garry

 

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