3 posts in this topic

Hello Everyone...

Is it possible to create below type of report in NB Series HMI (NB-Designer) ?

 

Template Below

CYCLE START TIME CYCLE STOP TIME

TIME TAKEN BY CYCLE

(MIN)

HIGHEST AI VALUE 

(BAR)

05:39:00 06:39:00 60 555.5
06:40:00 06:45:00 15

556

 

I have Cycle bit in PLC, using rising and falling edge of that we can detect cycle start time and stop time.

i have no idea of calculating time taken by cycle and how to determine highest scaled value of analog input during cycle...?

is there any macro to write to do so...?

Share this post


Link to post
Share on other sites

You can program the PLC to gather all of this information for you.  Then just display it on the HMI.

Share this post


Link to post
Share on other sites

Assuming you are using an Omron PLC you could set up counters driven from a clock pulse bit (CF100- CF104) to just count up to know elapsed time in seconds or minutes or whatever.

something like this ?

LD P_On
OUT TR0
AND P_1s
LD TR0
ANDNOT reset
CNT 1 plant_wash_tub_empty_fault_counter_sp
 

 

You can get the hour and minute from the plc's clock by using the move digit function in conjunction with the clock source word

for example:

LD P_On
MOVD(083) A352 #10 HOUR_DIGIT
MOVD(083) A351 #12 MINUITE_DIGIT

 

 

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