# Time Synchronization for the robot doesn't work

**URL:** <https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978>\
**Category:** Robot Controller\
**Tags:** time-synchronization\
**Created:** [February 8, 2021, 1:17am UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978 "2021-02-08T01:17:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leon\_dev](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@Leon\_dev](https://tech-community.robotics.abb.com/u/Leon_dev)\
**Post date:** [February 8, 2021, 1:17am UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978/1 "2021-02-08T01:17:21Z")

</div>

Dear friend,  
I set the “Time Server” IP (it’s a computer) for the robot and the robot’s time is differ much (more than 1 year) to the Time server.After setting for a long time, the robot’s time doesn’t synchronize.  
How to make it works?Is it possible to make it works by PC SDK code?  
Thanks a lot.

---

<div class="post-metadata">

**Author:** ![xerim](https://avatars.discourse-cdn.com/v4/letter/x/2bfe46/32.png) [@xerim](https://tech-community.robotics.abb.com/u/xerim)\
**Post date:** [February 8, 2021, 1:40pm UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978/2 "2021-02-08T13:40:00Z")

</div>

What version of RW? CMOS battery in controller could be dead, I would try to replace and see if that fixes the issue.

---

<div class="post-metadata">

**Author:** ![Leon\_dev](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@Leon\_dev](https://tech-community.robotics.abb.com/u/Leon_dev)\
**Post date:** [February 9, 2021, 1:03am UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978/3 "2021-02-09T01:03:30Z")

</div>

> [@xerim](#):
>
> What version of RW? CMOS battery in controller could be dead, I would try to replace and see if that fixes the issue.

RW version is 6.08.CMOS battery is ok.I have set the time server IP to the robot controller, but I don’t know how to triger the synchronize action, or it will synchronize automatically at some time?But I wait for a long time, it still not synchronize.  
:cry:

---

<div class="post-metadata">

**Author:** ![xerim](https://avatars.discourse-cdn.com/v4/letter/x/2bfe46/32.png) [@xerim](https://tech-community.robotics.abb.com/u/xerim)\
**Post date:** [February 9, 2021, 1:19pm UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978/4 "2021-02-09T13:19:03Z")

</div>

I think the LAN port needs a different subnet than the WAN, see below

 ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/9/94fca487ded3d6ec41deeeb1a2dbcbb659ab09af.png)

Do you have it configured this way?

---

<div class="post-metadata">

**Author:** ![Leon\_dev](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@Leon\_dev](https://tech-community.robotics.abb.com/u/Leon_dev)\
**Post date:** [February 18, 2021, 11:01am UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978/5 "2021-02-18T11:01:25Z")

</div>

Dear xerim,  
I connect the controller with WAN port.Is there any different setting?

> [@Thanks.xerim](#):
>
> I think the LAN port needs a different subnet than the WAN, see below
> 
> ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/9/94fca487ded3d6ec41deeeb1a2dbcbb659ab09af.png)
> 
> Do you have it configured this way?

---

<div class="post-metadata">

**Author:** ![xerim](https://avatars.discourse-cdn.com/v4/letter/x/2bfe46/32.png) [@xerim](https://tech-community.robotics.abb.com/u/xerim)\
**Post date:** [February 18, 2021, 1:25pm UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978/6 "2021-02-18T13:25:51Z")

</div>

What happens when you try this?

 ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/0/073484ab8a3806044e24dd235988bd3700f379ad.png)  
How long until the controller loses the correct date and time?

---

<div class="post-metadata">

**Author:** ![Leon\_dev](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@Leon\_dev](https://tech-community.robotics.abb.com/u/Leon_dev)\
**Post date:** [February 20, 2021, 2:30am UTC](https://tech-community.robotics.abb.com/t/time-synchronization-for-the-robot-doesnt-work/9978/7 "2021-02-20T02:30:37Z")

</div>

> [@xerim](#):
>
> What happens when you try this?
> 
> ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/0/073484ab8a3806044e24dd235988bd3700f379ad.png)  
> How long until the controller loses the correct date and time?

I didn’t try setting on TP.I set the NTP server IP and time zone by webservice api.I have checked the setting is correct.And the robot time is about 1min20sec difference to the NTP server.But the robot didn’t time sychronize.  
=。=!
