baka
my divice is Unipi Neuron S103
I follow the tutorial OPENPLC ON NEURON ,but ihave some poblems :I cannot find or map the I/O to openplc
this is my logs when i run openplc:

OpenPLC Runtime starting...
Neuron: Searching for I/O...
Interactive Server: Listening on port 43628
Neuron: Done!

Neuron Digital Inputs

Neuron Digital Outputs

Neuron Analog Inputs

Neuron Analog Outputs
Skipping configuration of Slave Devices (mbconfig.cfg file not found)
Warning: Persistent Storage file not found
Issued start_modbus() command to start on port: 502
Server: Listening on port 502
Server: waiting for new client...
Issued start_dnp3() command to start on port: 20000
DNP3 ID manager: Starting thread (0)
DNP3 ID DNP3_Server: Listening on: 0.0.0.0:20000
Issued start_enip() command to start on port: 44818
Server: Listening on port 44818
Server: waiting for new client...
Issued stop_pstorage() command


6@%1E3$_ZYZM3]E1~SWYMLR.png and the I/O is always false like this

hely me please :>
Reply 0 0
baka
maybe i should choose the raspbery in hardware?
Reply 0 0
thiagoralves
You should not use the raspberry pi driver as that’s not your hardware. I haven’t played with Neuron PLCs in a while, but the driver is generic enough to work on any of them. Did you install their OS (Unipian)? This is one of the key elements of the setup, as their OS comes with the sysfs mappings for the PLC IOs and OpenPLC needs that to access the IOs. If you install OpenPLC on top of Raspbian or any other os it won’t work
Reply 1 0
baka
when i install openplc i will always show this ( i had installed for planty times) is this normal?
Failed to stop neuronhost.service: Unit neuronhost.service not loaded.
Failed to disable unit: Unit file neuronhost.service does not exist.
Failed to stop neurontcp.service: Unit neurontcp.service not loaded.
Failed to disable unit: Unit file neurontcp.service does not exist.

OpenPLC Forum <noresponse@discussion.community> 于2021年11月24日周三 下午9:18写道:
Reply 0 0
baka
now i tried the OS of unipi , but i can not even install openplc.
this is the error
how can i fix it?

cp: cannot stat './iec2c': No such file or directory
Error compiling MatIEC
OpenPLC was NOT installed!
Reply 0 0
thiagoralves
You’re just showing the final error messages. Something happened before during the installation process for matiec compilation to fail. Copy paste here the full install log
Reply 0 0
Reply