308guru Posted August 3, 2006 Report Posted August 3, 2006 I've used the "setting the real time clock" code in 9.2.1 of the Programming Manual 2. It's a hassle. Is there any way to set the RTC via computer while connected? Thanks.
waynes Posted August 4, 2006 Report Posted August 4, 2006 How about using the "Set time" option under the "Online" menu? Is this option available in your GX Developer?
kmd Posted August 4, 2006 Report Posted August 4, 2006 Hello Also you can use TWR function. For examples D10 TWR. MOVE 6 TO D10 YEAR. MOVE 8 TO D11 Month MOVE 4 TO D12 DAY MOVE 18 TO D13 HOUR MOVE 25 TO D14 MINUTE MOVE 00 TI D15 SECOND You have 2006 4 August 18:25:00
panic mode Posted August 5, 2006 Report Posted August 5, 2006 why do you think it's a hassle? how would you make it simpler?
308guru Posted August 6, 2006 Author Report Posted August 6, 2006 I'll have to check when I'm back at work.
Crossbow Posted August 9, 2006 Report Posted August 9, 2006 I've never had to do all that you mentioned. The clock is stored in D8013-D8019. But in order to modify it there, you need to stop the clock by turning on an M bit (M8015), then write new data, then start it back up by turning off M8015. There are commands to deal with the real time clock (TRD to read clock and TWR to write it) which work without the excess code. TRD is section 5.14.5 of the JY992D88101-D programming manual, and TWR is section 5.14.6. The code in the example 9.2.1 stops the clock, writes new data, then rounds off the minutes and starts the clock again.
FNMdeJong Posted August 9, 2006 Report Posted August 9, 2006 The set time functionality under online menu in GX Developer is also available in the FX1S type. In this way you can set the clock inside this PLC. And it is like Crossbow said, it is not so difficult.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now