Jump to content

Recommended Posts

Posted (edited)
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
Posted (edited)
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
Posted
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.
Posted
hi ecclest, you can define the variables with the address of the special registers and compare in you secuence.... i hope that helps you

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...