Hi tragically,
i want to set clock in FX-1S 20MT Mitsubishi plc.when i read the clock
D8013 to D8019 Data register.It show exact date and time but when i set the clock TWR D8013 to D8019 data register.in manual mention the set the clock data register with head register .
---M34 -------------------------
---| |----------------------TWR D20
Below this it is a page of manual FX-series
[FONT="]5.14.6 TWR (FNC 167)[/FONT]
[FONT="]Contents:[/FONT]
[FONT="]The 7 data devices specified with the head[/FONT]
[FONT="]address S are used to set a new current value of[/FONT]
[FONT="]the real time clock.[/FONT]
[FONT="]The seven devices[/FONT]
[FONT="]Points to note:[/FONT]
[FONT="]This instruction removes the need to use M8015 during real time clock setting. When setting[/FONT]
[FONT="]the time it is a good idea to set the source data to a time a number of minutes ahead and then[/FONT]
[FONT="]drive the instruction when the real time reaches this value.[/FONT]
[FONT="]Mnemonic Function[/FONT]
[FONT="]Operands[/FONT]
[FONT="]Program steps[/FONT]
[FONT="]S[/FONT]
[FONT="]TWR[/FONT]
[FONT="]FNC 167[/FONT]
[FONT="](Time[/FONT]
[FONT="]Write)[/FONT]
[FONT="]Sets the real time[/FONT]
[FONT="]clock to the value[/FONT]
[FONT="]stored in a group[/FONT]
[FONT="]of registers[/FONT]
[FONT="]T, C, D[/FONT]
[FONT="]Note: 7 consecutive devices are used.[/FONT]
[FONT="]TWR, TWRP:[/FONT]
[FONT="]5 steps[/FONT]
[FONT="]Device Meaning Values Device Meaning[/FONT]
[FONT="]S[/FONT][FONT="]+0 [/FONT][FONT="]Year 00-99 [/FONT]_ [FONT="]D8018 Year[/FONT]
[FONT="]S[/FONT][FONT="]+1 [/FONT][FONT="]Month 01-12 [/FONT]_ [FONT="]D8017 Month[/FONT]
[FONT="]S[/FONT][FONT="]+2 [/FONT][FONT="]Date 01-31 [/FONT]_ [FONT="]D8016 Date[/FONT]
[FONT="]S[/FONT][FONT="]+3 [/FONT][FONT="]Hours 00-23 [/FONT]_ [FONT="]D8015 Hours[/FONT]
[FONT="]S[/FONT][FONT="]+4 [/FONT][FONT="]Minutes 00-59 [/FONT]_ [FONT="]D8014 Minutes[/FONT]
[FONT="]S[/FONT][FONT="]+5 [/FONT][FONT="]Seconds 00-59 [/FONT]_ [FONT="]D8013 Seconds[/FONT]
[FONT="]S[/FONT][FONT="]+6 [/FONT][FONT="]Day 0-6 (Sun-Sat) [/FONT]_ [FONT="]D8019 Day[/FONT]
[FONT="]How i write the instruction of clock set
[/FONT]