Sign in to follow this  
Followers 0
ecclesk

Fx2n Time Clock

4 posts in this topic

Can anyone give me any advice on using the time clock function of the FX2n. At present i have a 2 channel digital time clock which activates an input on the PLC to start a sequence in the program. What i would like to do is take out the digital time clock and utilise the PLC and an E200 hmi to input times to start sequences, I have GX developer & E-designer and have basic programming knowledge but i have looked through the programming manual and cant get to grips with the time clock function. Any help or advice would be greatly appreciated. Thanks Edited by ecclesk

Share this post


Link to post
Share on other sites
Use the TRD function (time read) to move the time values into data registers that you need e.g. ---[TRD D10] This will move the time and date values into D10 thru D16 D8018 Year 00-99 D10+0 Year D8017 Month 01-12 D10+1 Month D8016 Date 01-31 D10+2 Date D8015 Hours 00-23 D10+3 Hours D8014 Minutes 00-59 D10+4 Minutes D8013 Seconds 00-59 D10+5 Seconds D8019 Day 0-6 (Sun-Sat) D10+6 Day Setting the time use time write TWR Chapter 5.14 - real time clock control, in the FX Programming manual II gives further guidance Edited by navillusi

Share this post


Link to post
Share on other sites
thanks for the advice, is there any chance of a ladder example. i dont have any expirience of using data registers, i need to activate an M coil at times set via the HMI. I have the programming manual but as mentioned in the first post i'm having trouble getting this to work. Thanks agian for the help.

Share this post


Link to post
Share on other sites
hi ecclest, you can define the variables with the address of the special registers and compare in you secuence.... i hope that helps 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