TIA MODBUS TCP/IP, rs485, ProfiSafe probleme S7-1500, Et200sp

Godogoc

Level-2
Beiträge
11
Reaktionspunkte
0
Zuviel Werbung?
-> Hier kostenlos registrieren
Hello everyone,

I have been developing a system with S7-1500 cpu. I have gotten through many problems, and yet the 3 big concepts, I couldn`t solve.

MODBUS TCP problem
I wanted to get data from a bender iso685 model product using modbus tcp.
I tried with modbus poll, and I could get data from the device, but not with my plc.
1721217564164.png

the plc program looks like this:
1721217617332.png1721217670533.png
it gives either status 7004. 7005 or status 8383.
the DB_MODBUSTCP_CONNECT database that I used: (my hardware interface id is 72)
1721217794030.png

I have also changed the hardware ID accordingly to the bender iso685 in the MB_CLIENT_DB_READ resource database.

I use a Array[1..20] of Word type array for the data to write in. Couldn`t see anything other then 16#0000 on it.


I just want to read the data form the iso685 device. anyone have any advice on this? I would really appriciate it.



rs485 problem:
my blocks for rs485 looks like this:
1721217892956.png1721217953998.png

1721217972487.png1721217983455.png


I am getting status 7001 and errors 8188 8281. Again help would be really appreciated. In tia portal they say it is about the port mostly. but the port I use looks like it functions. Couldnt find out what the problem is with it. I don"t see lights on it but many people said it is normal in TIA.
also here is the modbus rtu settings in bender device: 1721218410372.png

the last problem: the Profisafe problem

my problem with the Safety programming, is that I am getting errors on my F-IO`s and becouse of this I cannot get the cpu to run.

It might be becouse I havent connected anything to the F-IO`s, but I really don`t know. the TIA forum had many many different answers, and I am trying most of them, some of them are not even doable for me. I have de-activated the F-cpu in the S7 1500, to be able to try out other programs.
1721218288427.png

when I activate F-capabilities of the cpu; and download the program to it, it doesn`t go in run mode anymore. there are lots of errors that it gives, I am out of pictures to post here, but I will eventually give more data about this issue.


Thank you for being here and reading my post, I would really appreciate any help and will be as fast as I can to reply and try out solutions in order to finish my projects technical initialization part.
 
Well I forgot to post my devices serial numbers ex. so here are some of them;
TIA version V19
CPU: 6ES7 516-3FP03-0AB0
CPU Firmware: V 3.0.3
 
Zuviel Werbung?
-> Hier kostenlos registrieren
Hi,
have you assigned the Profisafe address to the cards? Right mouse button

Do the online and offline cards match? Are they the same article numbers and versions?
 

Anhänge

  • Safety.jpg
    Safety.jpg
    70,8 KB · Aufrufe: 7
I tried, it says online and offline are not the same versions. I will check again tomorrow, and also add a screenshot.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
1721286504481.png

they are matching, only the firware are a bit different, but its the only version on my tia, for example it is v2.0.2 for some modules, but tia only has v2.0, still cant do it.
my modules and versıons are correct ı guess.

and also the profisafe address assign looks like this; 1721290994767.png
it says the f-parameters are different, and slot locations are different for each module.
 
Have those modules been used in another project before? Does the led flashing match the slots of the devices?

You could download the support packages for V19:

and integrate them into your tia portal.

If not you could check for the different MFLBs if there are downloads available in the SiePortal:
 
They have been used in another project before.

I am re-using them, I just read somethings about re-using just now, is there a way to use them now? I am kind of lost in lots of errors...
 
When you say reusing ... do you use the same Baseunits?
Main Reason for my question is, if you have the white memory plugs from the F-Cards, that usually remain in the Baseunit ...

Just to get a picture:

In most cases when the assigning of F-Adresses fails there are 2 main reasons:
1. No Voltage Supply of the cards
2. Problem with the memory plug

When you right-click on the card, then you should also get an more detailed diag of the specific safety-card.
 
Modbus TCP Problem:
You are Using MB_Mode "103" = Function Code 3, and Register Adress "48193".
But in ModbusPoll you are Reading Register Adress "8192" with Function Code 3.
So in my temporary opinion you are reading simply Registers that are not allowed by the Bender Device.
 
I will check all of them one by one tomorrow, and keep it updated. Thank you kind people for help.


about the modbus tcp, I
the device I am using has this modbus settings: https://www.benderinc.com/fileadmin/content/Products/m/e/iso685_D00022_A_XXEN.pdf

and I was able to read them using modbus poll, have tried 40001 42000 and some randoms also, still no chance :(
To have the equal of modbus poll you have to use 8192, no 4 in the beginning.
Biggest MB-Register according to your manual is 29699, but you are reading register 40001 ...
 
8913 , 1 , 40001, 48193 any of them didnt work, same error,

for the f-modules part of my problems; I have checked the base units, one of them doesnt have the white part, I am doing some configuration now, will update this issue.

edit: also tried 42000, 42001, tried to do something with hex-decimal didn`t work...
 
Zuletzt bearbeitet:
Have those modules been used in another project before? Does the led flashing match the slots of the devices?

You could download the support packages for V19:

and integrate them into your tia portal.

If not you could check for the different MFLBs if there are downloads available in the SiePortal:
I downloaded them, but I need to update my software to TIA V19.1 I think, and I need permission to do that, so... might take some days for me to try..
 
Zuviel Werbung?
-> Hier kostenlos registrieren
1721398201905.png

Hello again, so this is the situation now... I don`t know why, but I cannot take data from modules...

1721398330387.png

says this for each module, any suggestions? I looked and the firmware versions are the same, tried removing and re-inserting, still doesn`t function.


I will try to reupload the firmware versions.
 
Anhang anzeigen 79959

Hello again, so this is the situation now... I don`t know why, but I cannot take data from modules...

Anhang anzeigen 79960

says this for each module, any suggestions? I looked and the firmware versions are the same, tried removing and re-inserting, still doesn`t function.


I will try to reupload the firmware versions.
reuploaded the firmware version of et200sp, still no luck
 
Zurück
Oben