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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 391
» Latest member: m-yoshikawa
» Forum threads: 368
» Forum posts: 1,846

Full Statistics

Latest Threads
Fieldbus Ports not workin...
Forum: Software
Last Post: Armin@netPI
June-29th-2020, 09:43 PM
» Replies: 13
» Views: 72
DHCP server not working
Forum: Software
Last Post: m-yoshikawa
June-26th-2020, 05:39 AM
» Replies: 19
» Views: 100
Application developed wit...
Forum: Software
Last Post: Armin@netPI
June-24th-2020, 08:37 AM
» Replies: 4
» Views: 36
netpi-desktop-hdmi with s...
Forum: Software
Last Post: tad
June-19th-2020, 12:50 PM
» Replies: 13
» Views: 54
Node-Red "http in"-Node n...
Forum: Software
Last Post: DWxPro
June-19th-2020, 01:12 AM
» Replies: 8
» Views: 47
Admin web UI login for No...
Forum: Software
Last Post: Armin@netPI
June-18th-2020, 08:39 PM
» Replies: 1
» Views: 9
Siemens PLC -Uploading an...
Forum: Software
Last Post: MGharat
June-17th-2020, 12:34 PM
» Replies: 14
» Views: 81
NetHAT SPI configuration
Forum: Software
Last Post: Armin@netPI
June-10th-2020, 02:05 PM
» Replies: 1
» Views: 22
How can i set a EtherCAT ...
Forum: Software
Last Post: Armin@netPI
June-9th-2020, 12:38 PM
» Replies: 6
» Views: 38
VPN tunnel to netPI and l...
Forum: Software
Last Post: Armin@netPI
June-5th-2020, 05:40 PM
» Replies: 0
» Views: 49

 
  Docker cannot find image
Posted by: COswald - May-12th-2020, 02:54 PM - Forum: Software - Replies (16)

Hello together,

seams to me like I got my head stuck in the cupboard.

I triy to set up the NetPi image in Portainer to get my own Node.JS running on that system But everytime pulling the image "hilschernetpi/netpi-raspbian" from the Docker Hub:
https://hub.docker.com/r/hilschernetpi/netpi-raspbian

I got the same message:  Failure - No such image: hilschernetpi/netpi-raspbian:latest

I have checked the RTC in the control-panel, and the networt of eth0 runs on DHCP. As last chance I took all the bones to home to be sure no company firewall blocks me. But nothings works, still getting the same error all the time.

What's my failure?

Kind regards,

Carsten Oswald


  How can i set a EtherCAT node in netHAT 52-RTE?
Posted by: JGLee - May-12th-2020, 08:34 AM - Forum: Software - Replies (6)

I want a communication with OMRON PLC NX102 series and netHAT using EtherCAT.


when i was check netHAT using TwinCAT3 Software, I can sure that EtherCAT communication is possible in netHAT. It is work perfectly.


but, EtherCAT communication with OMRON NX102 was failed because of limited setting by the EtherCAT node.


So, I want to know that how can i set a EtherCAT node???
I can not see any node setting in netHAT source code.


Please help.
Thanks.


  Node-RED log location
Posted by: SteveO - May-11th-2020, 07:43 PM - Forum: Software - Replies (1)

On a netPI when a Node-RED node is installed through manage palette and the installation fails, where can the error log be viewed?


  Analogue Signals
Posted by: Hoeber - May-11th-2020, 09:38 AM - Forum: Hardware - Replies (5)

Hello,

I am planning to use the netPI RTE 3 to collect and process data from a production environment.
There are also some analog sensors that I would like to read the signals generated by. Is there a possibility to acquire data from those analog signals with the netPi or is there another way like an extension, for example?

Kind regards,

Hoeber


  Error when using a node 'OpcUaServer'
Posted by: tad - May-11th-2020, 03:38 AM - Forum: Software - Replies (6)

Dear Armin,

This may be a simple question(?)

- Once I removed all containers.
- I just added hilschernetpi/netpi-nodered.

- I used a node 'OpcUa-Server' and then I got an error as attached.

"Error: get-installed-path: module not found "node-opcua-server" in path /usr/lib/node_modules/node-red-contrib-opcua/node-opcua-server"

Note: I found node-opcua-server in /usr/lib/node_modules/node-red-contrib-opcua/node_modules/node-opcua-server.

I created a meaningful data flow, but this error did not still go away.
If you can guess the possible problems, I would appreciate your advice.
Thank you very much for your support.
Best regards,



Attached Files Thumbnail(s)
   

  netX linux driver
Posted by: Irina Grinberg - May-6th-2020, 04:02 PM - Forum: Software - Replies (4)

Hi Armin,
I am interested in interacting with the netX from within the RPi on a kernel level.
I understand the connectivity from RPi to netX is via SPI channel. Which channel is it?

Do you have a linux kernel module for the netX? Or do you interact with it from the RPi only on a user space level?


Thanks,
Irina.


  using node.js on NIOT-E-TP151-EN-RE
Posted by: COswald - May-6th-2020, 11:17 AM - Forum: Software - Replies (9)

Hello together,

in the first steps I tried to do the job with the Node-RED to build a OPC/UA-Gateway.
But due to slow development of the OPC/UA-Nodes we decided to go one step down and program the software in node.js.

Is the software already deployed on the box?

And are where some examples for development and debugging available.

I the past I have developed in C++ with using a in-circuit-emulator for testing. But these things are opsolete today.

Can you give me a hint, how to use node.js on the box and debug the code?

Kind regards,

Carsten Oswald


  Problems with the communication of the RS485 interface
Posted by: PeterL. - April-28th-2020, 07:53 AM - Forum: Hardware - Replies (9)

Hello,
I use NIOT-E-NPI3-51-EN-RE with RS485 Interface NIOT-E-NPIX-RS485 Rev#2
The basic software on the netPI is balena with debian container and python3.

For enabling the RS485 interface GPIO17 is set to '1'.

I used the following python script for checking the communication:

Code:
import logging
from pymodbus.client.sync import ModbusSerialClient as ModbusClient #initialize a serial RTU client instance

client= ModbusClient(method = "RTU", port = "/dev/ttyS0", stopbits = 1, bytesize = 8, parity = 'N', baudrate = 9600, timeout=0.1)
connection = client.connect()

FORMAT = ('%(asctime)-15s %(threadName)-15s'
' %(levelname)-8s %(module)-15s:%(lineno)-8s %(message)s')
logging.basicConfig(format=FORMAT)
log = logging.getLogger()
log.setLevel(logging.DEBUG)

def processResponse(result):
   log.debug(result)

rr = client.read_holding_registers(0, 1, unit=0x01)
assert(not rr.isError())     # test that we are not an error
log.debug(rr)

client.close()


Now I have the problem that the communication with the device (in this case a temperature sensor) is not stable. Only every 3rd-5th read out is successful.
See attachment.

.txt   check_client_S0.txt (Size: 14.2 KB / Downloads: 5)


To check the correct operation of the installation, I checked the communication with the device using a normal USB-Modbus-Adapter on the same netPI.
In this case every read out is successful.

.txt   check_client_usb0.txt (Size: 11.67 KB / Downloads: 2)

May be someone has an idea, why the communication with the internal RS485 interface is not stable?

I checked the orginal node-red image for the nedPI. In this case 'rtu-buffered' must be used to get stable values. Otherwise the same problem occurs.

Thanks.
Peter


  netPI for 4G/LTE
Posted by: tad - April-23rd-2020, 05:45 AM - Forum: Hardware - Replies (2)

Dear Armin,

I read a news "netPI-WAN brings 4G/LTE support" (https://forum.hilscher.com/Thread-netPI-...TE-support).

In this thread, the module for 4G/LTE will be release at 2019/Q2 as follows.
>the release for this module is scheduled for end of 2nd quarter 2019.

I would appreciate it if you would inform me current status on the module.

Thank you very much for your information.
Best regards,


  NPIX expansion module NIOT-E-NPIX-4DI4DO 3D drawing
Posted by: Armin@netPI - April-20th-2020, 05:49 AM - Forum: Hardware - No Replies

For a customer project we generated a 3D model of the NIOT-E-NPIX-4DI4DO module. I would like to share it with you.

It contains just the relevant parts you see when you mount it. Along with the 3D picture of the netPI main unit from here https://www.netiot.com/netpi/industrial-raspberry-pi-3/ you get a combo you may need for your control cabinet engineering.

Find appended the result STEP file formatted.



Attached Files
.zip   NIOT-E-NPIX-4DI4DO.zip (Size: 960.81 KB / Downloads: 3)