Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 590
» Latest member: hussein57728
» Forum threads: 555
» Forum posts: 2,851

Full Statistics

Latest Threads
netFIELD Compact Gateway ...
Forum: Hardware
Last Post: DSongra
February-27th-2023, 08:38 AM
» Replies: 10
» Views: 3,496
Forum is becoming read-on...
Forum: News
Last Post: Armin@netPI
February-19th-2023, 05:04 PM
» Replies: 0
» Views: 1,411
NIOT-E-NPIX-RS485
Forum: Software
Last Post: Armin@netPI
January-21st-2023, 05:20 PM
» Replies: 6
» Views: 4,700
netPI device series is di...
Forum: News
Last Post: Armin@netPI
January-21st-2023, 08:34 AM
» Replies: 0
» Views: 888
Forum "netHAT" is being c...
Forum: News
Last Post: Armin@netPI
December-21st-2022, 01:17 PM
» Replies: 0
» Views: 940
netFIELD Compact Gateway ...
Forum: Software
Last Post: Armin@netPI
December-20th-2022, 10:34 AM
» Replies: 1
» Views: 3,516
netPI not found in networ...
Forum: Hardware
Last Post: Armin@netPI
December-13th-2022, 11:40 PM
» Replies: 1
» Views: 3,648
Proxy Settings
Forum: Software
Last Post: Armin@netPI
December-5th-2022, 06:21 PM
» Replies: 9
» Views: 7,331
Node Red configuration
Forum: Software
Last Post: Armin@netPI
November-30th-2022, 05:14 PM
» Replies: 3
» Views: 1,855
443 port issue
Forum: Software
Last Post: LucioFiam
November-21st-2022, 05:39 PM
» Replies: 5
» Views: 2,385

 
  tcp/ip udp to EIP converter
Posted by: milesie - December-4th-2019, 01:56 PM - Forum: Projects - Replies (1)

Hello Forum

My customer want's to read netPI from his Ethernet/IP master.
so netPI RTE with Ethernet/IP adapter.
on the netPI standard Ethernet interface he wants to have a TCP/IP UDP connection where he gets about 1K of data.
embedded in the ethernet frames are his interesting process data to transfer to the EIP.
Can he do that, how? With what applications would he load into Docker?
and what sort of performance can he expect?
It's a machine control PLC type application so he expects quicker than 50mS update time.

Thanks
Mike


  NIOT-E-NPI3-EN
Posted by: Envisia-BR - November-28th-2019, 05:42 PM - Forum: Software - Replies (8)

        Hello,
 
I am trying to upload a container on NodeRed NetPI without fieldbus, but I am unsuccessful. I would like to understand why? Container caught in Docker-hub as follows:
 
Best Regards..


  Zuführungssystem mit netPI RTE 3
Posted by: pstern - November-26th-2019, 09:51 AM - Forum: Projects - Replies (5)

Guten Tag
 
Für meine Diplomarbeit an der FHNW im Studiengang Systemtechnik, suche ich für ein neu entwickeltes Zuführungssystem eine Alternative zu der verwendetet Beckhoffsteuerung. Dabei ist vorallem der Platzbedarf ausschlaggebend. Zurzeit wird ein Schaltschrank verwendet, welcher mit der Weiterentwicklung verschwinden soll. Schnell habe ich mich für einen Raspberry PI Mikrocontroller entschieden. Dieser soll jedoch möglichst industrie- und ProfiNet-tauglich sein.
Nun bin ich auf Ihr Produkt netPI RTE 3 gestossen. 
Für mich wäre ideal, wenn ich mit ProfiNet arbeiten könnte. Weiter möchte ich die ganze Steuerung mit Codesys programmieren. Zusätzlich muss die Steuerung Schrittmotoren ansteuern und in der Lage sein, eine Bildverarbeitung durchzuführen (Teileerkennungskamera). Weitere I/Os sollten mit einem zusätzlichen I/O Modul abgedeckt werden.
Gibt es da eine Möglichkeit mit dem netPI RTE 3 zu arbeiten?
 
Vielen Dank für Ihre Antwort!

Patrick Stern


  Experimenting with 64bit Raspbian OS on netPI
Posted by: Armin@netPI - November-19th-2019, 12:28 PM - Forum: Projects - Replies (1)

Today I began experimenting with Raspbian OS on my netPI. Of interest was the 64Bit version specifically.

I programmed my micro SD card with the latest version Raspian OS, 2019-09-26: https://downloads.raspberrypi.org/raspbian_lite_latest first.

The only thing I did was then to insert the term

Code:
arm_64bit=1

in the config.txt file, pushed the card into the netPI (#REV2 with unseald SD card slot) SD card slot and booted netPI. A quick check on the console using

Code:
uname -a

showed "aarch64" ARM64 instruction set is active. WOW! That was easy.

After that I installed Docker and the Docker web UI portainer.io with

Code:
apt update
curl -sSL https://get.docker.com | sh
docker volume create portainer_data
docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

Accessing the web UI at <netPI IP address>:9000 let me deal with Docker quite easily like I am use to on original netPI Hilscher OS.

I started two debian containers from Docker Hub. One 32Bit and one 64bit version.

   

In both containers I installed the tool sysbench (version https://github.com/akopytov/sysbench/arc....17.tar.gz to be exact) and check the CPU speed with

Code:
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run

Here are the results:

32Bit
Code:
CPU speed:
   events per second:    74.27

General statistics:
   total time:                          10.0493s
   total number of events:              747

Latency (ms):
        min:                                   53.10
        avg:                                   53.77
        max:                                   75.04
        95th percentile:                       53.85
        sum:                                40162.56

Threads fairness:
   events (avg/stddev):           186.7500/0.43
   execution time (avg/stddev):   10.0406/0.01

64Bit
Code:
CPU speed:
   events per second:   937.13

General statistics:
   total time:                          10.0037s
   total number of events:              9381

Latency (ms):
        min:                                    4.22
        avg:                                    4.26
        max:                                    9.81
        95th percentile:                        4.25
        sum:                                39993.05

Threads fairness:
   events (avg/stddev):           2345.2500/0.83
   execution time (avg/stddev):   9.9983/0.00

The counted events in 64Bit mode are 12.7 times higher. In turn this means the sysbench code sequence is executing around 12 times faster. 2nd WOW!! That is fast.

Of course I cannot exclude that this performance boost is somehow related to the sysbench tool itself that no relation to real applications. And also please keep in mind that sysbench was just calculating prime number during the tests. In no way this test represents and overall performance test that would cover also a memory benchmark and a disk benchmark (SD card). I found another thread that sets 64Bit and 32bit examinations in relation. The author came to 15 to 30% performance boost:https://www.cnx-software.com/2016/03/01/64-bit-arm-aarch64-instructions-boost-performance-by-15-to-30-compared-to-32-bit-arm-aarch32-instructions/


  Profinet Startup Time
Posted by: Schranz - November-18th-2019, 09:03 AM - Forum: Software - Replies (3)

I use a netPI RTE 3 as profinet client. Up to now I did use one container running NodeRed for communication and calculation. With this setup the netPI profinet client was available below 50 seconds after power on.
Now I use two containers one with NodeRed doing the communication and one with Python doing the math. With this setup it takes 210 seconds until the the profinet client is available after power on.

Could I start the container with NodeRed doing the communication first?
Is there a way to have the profinet client ready with defaults independently of running containers?
Other ideas?

Any help is appreciated



Code:
Hilscher NIOT-E-NPI3-51-EN-RE
Firmware version V1.1.6.0


  netPI RTE 3 got Korean KCC certificate
Posted by: Armin@netPI - November-15th-2019, 07:18 AM - Forum: News - No Replies

It is now official: netPI RTE 3 passed verification against Korean Radio Waves Act.

Find appended the certification paper.



Attached Files
.pdf   방송통신기자재등의 적합인증서(NIOT-E-xPI-EN-RE).pdf (Size: 482.56 KB / Downloads: 6)

  netPI got UL Japan certificate
Posted by: Armin@netPI - November-13th-2019, 11:04 AM - Forum: News - No Replies

netPI is now certified to be compliant with the Enforcement Regulations of the Japan Radio Law.

Find appended the certificate.



Attached Files
.pdf   CERTIFICATE for TYPE CERTIFICATION.pdf (Size: 414.67 KB / Downloads: 13)

  CODESYS automation server video
Posted by: Armin@netPI - November-11th-2019, 01:36 PM - Forum: News - No Replies

We have prepared a video  showing how the CODESYS automation server is used in conjunction with netPI and an existing CODESYS project to control/manage it from remote over the Internet.

Click the link to watch the video: https://youtu.be/mwZL0vWsoYU

Please keep in mind that the video was made during Automation Server's BETA test phase where it's usage was for free.



[url=https://youtu.be/mwZL0vWsoYU][/url]


  Scanning for netPI IP address - IP scanner tool helps
Posted by: Armin@netPI - November-5th-2019, 06:48 PM - Forum: Hardware - No Replies

A fresh netPI is configured to receive its IP address through a DHCP server.

netPI's Web-GUI can be opened using its IP address then or using its Hostname instead for an easy identification. The netPI default Hostname is printed on the housing label.

Sometimes you may not have visual access to the netPI label and struggle which IP address your netPI has received through the DHCP server.

For adressing this topic the Windows tool "Avanced IP Scanner" found on the internet is good for: https://www.advanced-ip-scanner.com/. The site offers a free download.

Enter the range of IP addresses you wanna scan e.g. 192.168.0.1-192.168.0.254 and you will get a list of found network devices, their names and their IP addresses.

Finding a netPI on your network can't be easier.

Armin


  How to save node-red flows persistent?
Posted by: hsammer - November-5th-2019, 02:25 PM - Forum: Software - Replies (2)

Hello.

I’m using hilschernetpi/netpi-nodered:latest. So far everything is fine.
But now I wonder how to save my flows in a persistent way.
The official node-red documentation tells that beginning with version 1.0 
setting, user and flow directory resides within /data directory which should be mapped to a persistent volume.
By the way the documentation mentions that this directory should be owned by the user node-red (1000:1000).

I have no glue how to do this on the netPi (running Firmware Version 1.2.0.0).
 
The log of above image gives me the following output.

Welcome to Node-RED
===================
5 Nov 12:57:42 - [info] Node-RED version: v0.20.8
5 Nov 12:57:42 - [info] Node.js  version: v8.16.1
5 Nov 12:57:42 - [info] Linux 4.9.80-rt62 arm LE
5 Nov 12:57:43 - [info] Loading palette nodes
5 Nov 12:57:55 - [s7comm-Info] - Debug configuration for logLevelNodeS7:{"debug":0,"silent":true}
5 Nov 12:57:55 - [s7comm-Info] - Debug configuration for logLevelNodeRED:{"debug":2,"silent":true}
5 Nov 12:57:59 - [info] Dashboard version 2.16.3 started at /ui
5 Nov 12:58:00 - [info] Settings file  : /root/.node-red/settings.js
5 Nov 12:58:00 - [info] Context store  : 'default' [module=memory]
5 Nov 12:58:00 - [info] User directory : /root/.node-red
5 Nov 12:58:00 - [warn] Projects disabled : editorTheme.projects.enabled=false
5 Nov 12:58:00 - [info] Flows file     : /root/.node-red/flows_xxxxxxx.json
5 Nov 12:58:00 - [info] Creating new flow file
5 Nov 12:58:00 - [warn] 

 
So how to map /root/.node-red directory to any persistent volume?

Editing settings.js doesn't help either because this file is destroyed too at a container restart.


Regards
 
P.S.: I have searched the forum many times but didn’t find any answer. So I wonder again if nobody else has this problem. Maybe I missed something.