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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 413
» Latest member: alko@focus-ia.de
» Forum threads: 408
» Forum posts: 2,080

Full Statistics

Latest Threads
Is there a new version of...
Forum: Hardware
Last Post: Armin@netPI
October-27th-2020, 07:25 PM
» Replies: 3
» Views: 52
System software V1.2.1.0 ...
Forum: News
Last Post: Armin@netPI
October-25th-2020, 12:11 PM
» Replies: 0
» Views: 71
OpenPLC V3 - Dockercontai...
Forum: Projects
Last Post: Filipp77
October-24th-2020, 08:58 PM
» Replies: 1
» Views: 284
MQTT test
Forum: Software
Last Post: Armin@netPI
October-20th-2020, 08:20 AM
» Replies: 12
» Views: 542
Internet on the fieldbus-...
Forum: Software
Last Post: COswald
October-19th-2020, 01:40 PM
» Replies: 2
» Views: 57
USB to RS485 convetrer
Forum: Software
Last Post: MGharat
October-19th-2020, 01:37 PM
» Replies: 2
» Views: 57
netPI with 32GByte High E...
Forum: News
Last Post: Armin@netPI
October-19th-2020, 08:06 AM
» Replies: 3
» Views: 306
NIOT-E-NPIX-4DI4DO with n...
Forum: Software
Last Post: WalterSchaefer
October-17th-2020, 07:59 PM
» Replies: 2
» Views: 120
Power loss and removing p...
Forum: Hardware
Last Post: Armin@netPI
October-16th-2020, 06:32 AM
» Replies: 3
» Views: 367
Get host MAC via REST API...
Forum: Software
Last Post: Armin@netPI
October-15th-2020, 04:04 PM
» Replies: 3
» Views: 124

 
  Is there a new version of netPI in planning?
Posted by: alko@focus-ia.de - October-27th-2020, 04:13 PM - Forum: Hardware - Replies (3)

Hi there!

We are using the netPI for a Dockerized application stack to retrieve and store data of a customer's production process.
Now we want to visualize the data with an Angular SPA that's running in Docker.
With this we are reaching the bounds of the netPI's hardware resources.

As the new Raspberry Pi 4 is out, I am wondering if there's a new version in planning that's based on the RasPi 4.

Do you have this on your agenda in the near future?


  System software V1.2.1.0 out now!
Posted by: Armin@netPI - October-25th-2020, 12:11 PM - Forum: News - No Replies

We have uploaded today a new system software in the version V1.2.1.0 as recovery packages for your netPIs.

Here is the changelog

  •     Kernel patch applied "disable USB interrupt" https://lore.kernel.org/lkml/988737dbbc4...wunner.de/
        We have never seen a netPI got stuck because of this issue, but we applied the patch nevertheless
  •     New dialog "Proxy" in control panel under tab "Network" to configure a HTTP,HTTPS,FTP proxy
  •     Removed Wifi channel 14 support for region Japan which was not allowed
  •     Set WPA2 standard as security method in "Wifi Access Point" mode. WPA1 supported no more
  •     Corrected problem that the service "Wifi Access Point DHCP server" may not work after an unintended (power loss) shutdown and reboot
  •     Corrected problem that "Wifi Access Point DHCP server" does not work if there is no eth0 Ethernet connection is active (cable inserted) during boot times
As usual you find the software ready for your download in the "DownloadS2 section under https://www.netiot.com/netpi/industrial-raspberry-pi-3/.

Info about how to update your device you find there as well in the FAQ in the "For Developers" section.

ATTENTION! Applying a recovery package sets back a device to factory default and deletes all the containers installed and the settings configured. So make sure you saved all your data before executing the recovery.


  USB to RS485 convetrer
Posted by: MGharat - October-19th-2020, 09:27 AM - Forum: Software - Replies (2)

Hello,

do USB to RS485 converter work with netPI core directly? we are testing it but face issue. we connected modbus energy meter through our USB to RS485 conveter to USB port of netPI. attached is Modbus flow n settings herewith.
In this we are not able to connect to Modbus meter , no data is received, no error in debug, also the Modbus Read node is always Green even though we remove USB conveter from netPI, I think it is not detected .
one more point we can not search for other serial ports as marked in image.


Is any other setting related to usb driver required? 

Thanks & BR
Madhumati



Attached Files Thumbnail(s)
   

.txt   nodered flow Modbus RTU.txt (Size: 1.16 KB / Downloads: 0)

  Internet on the fieldbus-side
Posted by: COswald - October-19th-2020, 08:52 AM - Forum: Software - Replies (2)

Good Morning Hattersheim,

my problem is, that I have a Industriel PC behind the NIOT-E-TPI51-EN-RE and this is not able to access the Internet.
This would be great for normal situation, but we have to be able to do so.


What is special here? We don't use the fieldbus side in ProfiNet-Mode, but in LAN-Mode via the LAN-Enabler Docker-Container.
I have also installed the TOSIBOX-Soft-Lock, which is working fine. Without any special routes in the Gateway.
Is where something special with this?

Here are some screenshots of the LAN and route settings in the gateway:

   

   

I'm looking forward reply.

Kind regards,

Carsten Oswald


  NIOT-E-NPIX-4DI4DO with netpi-netx container
Posted by: WalterSchaefer - October-16th-2020, 02:17 PM - Forum: Software - Replies (2)

Hello Armin.
I use NIOT-E-NPI3-51-EN-RE with NIOT-E-NPIX-4DI4DO module inserted.
I work with profinet, thats why  ntpi-netx-programming-examples container is installed.
Now I need access to 4DI4DO.
1. Where can I find GPIO numbers, to which this module is connected?

2. How can I get access to GPIOs from ntpi-netx-programming-examples container? (preferably from C++ code). Do I need to install wiring-pi?


Thank you.
Best regards,
Walter.


  Get host MAC via REST API inside container
Posted by: bschandra - October-14th-2020, 01:30 PM - Forum: Software - Replies (3)

Hi all,

we need the MAC address of the host system inside a container on the Hilscher netPI.
For me it seemed to be a suitable solution to get the LAN settings, and also the MAC, from the Hilscher REST API.

As described in this thread, we first logged in with the admin user to get the authentication cookie.

Code:
curl -L -k -X POST 'https://<HOST-IP>/login' -H 'Content-Type: application/json' -d '{"username":"admin","password":"<PASSWORD>"}'


With the authentication cookie we are able to get various information from the API. The following requests all worked.
Code:
curl -L -k -X GET 'htps://<HOST-IP>/?page=infocenter' -H 'Cookie: <COOKIE>'

Code:
curl -L -k -X GET 'htps://<HOST-IP>/get/devicestatus/getCPUStatus' -H 'Cookie: <COOKIE>'

Code:
curl -L -k -X POST 'https://<HOST-IP>/system' --header 'Cookie: <COOKIE>; Content-Type: application/x-www-form-urlencoded' -d "argument=reboot"


But the request to get the LAN settings always responds the following:
Code:
{"status":"Failed","message":"Permission denied"}


Here's the request as we tried:
Code:
curl -L -k -X GET 'htps://<HOST-IP>/get/networksettings/lansettings' -H 'Cookie: <COOKIE>'

The admin user has all read & write rights in the application, also for the REST API.


Can anyone imagine what we are doing wrong here?

Is this a good way to get the MAC-address of the host system or is there a better solution?

Many thanks in advance.

Best regards
Benjamin


  USB camera
Posted by: tad - October-9th-2020, 02:48 PM - Forum: Software - Replies (4)

Dear Armin,

Is there any condition to use a USB camera under standard netPI software environment (Yocto Linux + Docker)?
For example, can I use a UVC compatible camera (from Node-RED)?

(I would like to know what kind of USB camera I should purchase.)

Thank you very much for your information.
Best regards,


  netPI profinet device name
Posted by: WalterSchaefer - October-7th-2020, 09:29 AM - Forum: Software - Replies (2)

Hello.
I try to connect NHST-T100-EN/PNM V3 with NIOT-E-NPI3-51-EN-RE over profinet.

On the NIOT I've installed netpi-netx-programming-examples container.
There a /home/pi/PNS_simpleConfig was started (with sudo). At the first start all necessary drivers were installed. Now the application works well (as I understand). Every second it shows a string: "netX watchdog is alive: nnnn"

NHST device was not able to communicate with it.
I plugged NIOT Profinet port to PC and made a scan with "Ethernet device setup" tool. As expected, IP was 0.0.0.0. And device name was empty.
When I set up device name to "netx51repns" manually by this tool, all errors gone. Now everything looks good.
But now I wonder why device name was not setup. I use your pre-built exmaple "PNS_Simpleconfig". I did not compile it by myself, just run binary.

At the othe hand, I did some debug an found, that device name is set up correctly in SetConfigParams function:

memcpy( ptSetConfig->abNameOfStation, "netx51repns", sizeof( "netx51repns" ) );

I've set a breakpoint to this line and device reached it.
Do you have ideas how to make example working without manual device name setup?
Thank you.


  compatibility btw RPi 3B and netPI regarding to microSD card
Posted by: tad - September-30th-2020, 06:09 AM - Forum: Software - Replies (4)

Dear Armin,

I would like to confirm whether my recognition is correct or not, please.

There is a micro SD card which is running on a raspberry pi 3B.
This software environment can be also launched on netPI when this micro SD card is inserted into netPI.
Is that correct?

As far as I investigated, the above is correct.
- I prepare a 32GB micro SD card with FAT32 format.
- Raspbian and Docker are installed on the SD card on RPi 3B+.
- I take out the SD card from RPi 3B+ and insert it to netPI.
- Raspbian and Docker are correctly running on netPI.

Thank you very much for your information.
Best regards,


  Accessing a modbus device connected to RTE port from Node-RED
Posted by: tad - September-29th-2020, 09:36 AM - Forum: Software - Replies (10)

Dear Armin,

I need you help, please.

I'd like to separate network segments for IT and fieldbus.
For this, using netPI RTE 3, I created a container of 'hilschernetpi/netpi-netx-ethernet-lan'.
A modbus device is now connected to the fieldbus segment (RTE port).

Then, I want to output data to the modbus device using 'Modbus-Write' node with Node-RED.

But, I think 'Modbus-Write' node recognizes that TCP is the standard IT port.
Because Modbus communication doesn't start at all.

As a test, I confirmed that Modbus communication can be done properly when the modbus device is connected to the standard IT port.

Therefore, my question is:
Is it possible to make 'Modbus-Write' node recognize RTE port?

Thank you very much for your support.
Best regards,



Attached Files Thumbnail(s)