Codesys Master and Slave Devices

jvc253

Member
Join Date
Aug 2017
Location
Kaunas
Posts
1
I'm using CodeSys for data read from PLC's(Beckhoff and Siemens). I can read Beckhoff straight from Codesys via Modbus TCP Master --> Modbus TCP slave device and everything works OK. In the same project I try to get data from Siemens --> Using RPi Python code and sending data via pyModbus lib to Codesys --> ModbusTCP_Slave_Device. I tried to receive data using 502 port for both connections, but that didn't seemed to work. Then I changed in Python code to send data to Codesys in 504 port(there is open connection via this port) but that also don't work. Then I added another Ethernet device to Codesys and tried to communicate using WiFi - also nothing.

Made an experiment - putted Master_Device(with all slaves) under Slave_Device. Now I was able to get data from Siemens, and Codesys showed everything, but all data from Master_Device was uncertain(bad values or NaN).

Any ideas how to solve this problem?
 

Similar Topics

Hello. I cannot change the SendClock settings for a PROFINET IO device. I need to slow down the CODESYS PROFINET IO controller. What am I doing...
Replies
0
Views
190
Does anyone happen to have this library from EDEC? 3S_CANOpenMaster.lib We have issues in it and I would like to confirm our file is fine. I...
Replies
0
Views
1,008
Hello, I am using a Hitachi Micro EHV+ for a small project, and I wanted to have a Web visu, done with Codesys V3.5 SP13 Patch 2. I test the...
Replies
6
Views
263
Hello, I have a requirement to manage the text alignment dynamically. So, for example: 1. English Texts should be displayed from Left in...
Replies
0
Views
86
Hello, I am new to Codesys, and am trying to learn about it for a project we're developing. I've got a couple questions, but first a little...
Replies
1
Views
133
Back
Top Bottom