Search found 38 matches

by hikaru2001
06 Sep 2022, 11:12
Forum: Software
Topic: NTP service for Siemens S7-1500
Replies: 4
Views: 6975

Re: NTP service for Siemens S7-1500

Hi,

1. Install NTP server
"sudo apt-get install ntp"
2. Configure NTP server
"sudo nano /etc/ntp.conf"
Important part need to be modified in the file.
"
pool 0.debian.pool.ntp.org iburst #Standard time server from Internet
pool 1.debian.pool.ntp.org iburst
pool 2.debian.pool.ntp.org iburst
pool ...
by hikaru2001
22 Aug 2022, 10:43
Forum: Software
Topic: NTP service for Siemens S7-1500
Replies: 4
Views: 6975

NTP service for Siemens S7-1500

Hello,

I have successfully set RevPi core3 as NTP server and my PC can get the time from RevPi. However my S7-1500 can't synchronize the time with RevPi. What's wrong with my configuration?
by hikaru2001
09 Aug 2022, 05:44
Forum: Software
Topic: NTP service between RevPi Cores
Replies: 4
Views: 5659

Re: NTP service between RevPi Cores

Hi Nicolai,

Below is the code of ntp.conf in my RevPi A (NTP server)
_________________________________________________________________________________________________________________
GNU nano 2.7.4 File: /etc/ntp.conf Modified

#pool 2.debian.pool.ntp.org iburst
#pool 3.debian.pool.ntp.org iburst ...
by hikaru2001
08 Aug 2022, 15:09
Forum: Software
Topic: NTP service between RevPi Cores
Replies: 4
Views: 5659

Re: NTP service between RevPi Cores

Hi Nicolai,

In RevPi B I install ntpdate and ntp.
In the startup program I make the following code:

#! /bin/sh
Sleep 40s
Killall ntpd
ntpdate -u 202.199.131.1
ntpd -c /etc/ntp.conf

202.199.131.1 is my time server of factory(RevPi A). RevPi B can get time from it however it can’t ...
by hikaru2001
08 Aug 2022, 10:09
Forum: Software
Topic: NTP service between RevPi Cores
Replies: 4
Views: 5659

NTP service between RevPi Cores

Hello friends,

I use RevPi Core A as NTP client to get the standard time from Internet while RevPi Core A s also set as NTP server to provide the time for my factory. (This is step is successful)
In my workshop 1 I want to use RevPi Core B as local time server and it synchronizes time with RevPi ...
by hikaru2001
09 Apr 2021, 04:33
Forum: RevPi Nodes for Node-RED
Topic: Read the input status of virtual ModbusRTU in Node Red
Replies: 3
Views: 15112

Re: Read the input status of virtual ModbusRTU in Node Red

Hi Johannes,

Thank you!
Your method works, but the return type is string in Node-red. Additionally I use function node(msg.payload = Number(msg.payload); return msg;) to convert the string value into number value, then the value can be calculated later.
by hikaru2001
06 Apr 2021, 10:42
Forum: RevPi Nodes for Node-RED
Topic: Read the input status of virtual ModbusRTU in Node Red
Replies: 3
Views: 15112

Read the input status of virtual ModbusRTU in Node Red

Hello friend,

I want to read out the input words of virtual ModbusRTU Master module in Node Red. However I have no good solution. Do you have some idea? Thank you!
by hikaru2001
27 Nov 2020, 02:57
Forum: Hardware
Topic: Reestablish network connection after the ETH cable replugged in
Replies: 10
Views: 23235

Re: Reestablish network connection after the ETH cable replugged in

Hi Dirk,

Sorry for my late reply! On some day of the second last week, the reestablish network connection problem didn't exist while I hadn't done anything to RevPi Core3. I want to simulate the error again for a long time, but not realized.
Maybe the issue can be closed. Thank you!
by hikaru2001
12 Nov 2020, 05:34
Forum: RevPi Nodes for Node-RED
Topic: Nodered: Inject node issue - interval settings missing when interval selected
Replies: 6
Views: 16068

Re: Nodered: Inject node issue - interval settings missing when interval selected

Hi Dirk,

I have read that link. Then I try removing the node--"node-red-contrib-revpi-nodes" and the problem is gone.
by hikaru2001
12 Nov 2020, 05:30
Forum: Hardware
Topic: Reestablish network connection after the ETH cable replugged in
Replies: 10
Views: 23235

Re: Reestablish network connection after the ETH cable replugged in

Hi Dirk,

Sure the command is entered on RevPi!
After the error is reproduced, I call ethtool and the result is "Link deteted: yes", "Auto-negotiation: on".