I'm sorry for not having responded earlier. Your comment was very helpful to me.
I've learned a lot since I wrote this comment, but I didn't have control over the configuration part in $machine.dat
Thank you!
Posts by Ander Lasa Zafra
-
-
1. Guys, there is absolutely no difference between mapping PLC's input to kuka's input either PLC's output to kuka's input. If configuration is set correctly and right, both cases have to show the same result.
2. Unfortunately, no one has explained, what "are you familiar with big/small endian?" is. No problem, I will google it after this post
3. As I have already mentioned, block of DATA (i/o) exchange have to be added and used in tia portal configuration. I didn't find any clear solution of my problem in the net,but fortunately I've decided to test it and it's finally given a result!!!
4. So, I guess that it would be respectful to all robo-programmers comrades to make a little resume of how it really configures.
Resume:
1. Load GSDML file of kuka, corresponding to your profinet version, into Tia Portal.
2. Make a configuration in the hardware, where siemens plc - master, kuka plc - slave.
3. Set start addresses of i/o in kuka's properties.
4. Create FC block. Add 2 networks withe following blocks- 1st - DPWR_dat, 2nd - DPRD_dat. Fill the inputs and outputs of these blocks. LADDER - kuka's module of inputs/outputs, which you've added inside you gsdml kuka device (device & network). RECORD - your DB for write data and DB for read data. RET_VAL - any variable of integer (#retval - example).
5.Call FC in the OB1.
6. Don't forget to set right IP addresses.
7. Might I've missed something obvious, but the most important steps inside Tia portal - are mentioned.
8. In Work Visual add PROFINET, make necessary setting (corresponding to previously set parameters in Tia Portal)
9. Mapping of outputs and inputs.You are able to map as master's inputs to slave's outputs as master's inputs to slave's outputs respectively.
Example:- $IN[1] to ProfiNet input [10.0]
- $IN[2] to ProfiNet input 10.1]
- $OUT[1] to Profinet output [8.0]
- $OUT[2] to Profinet output [8.1]
10. Test dependence of kuka's I/O on master's I/O. If mapping has shown you what you've expected, everything is done!
Don't forget to deploy your projects
Good morning everyone,
This thread is old, but I'll give it a try with my first message.
It's the first time I'm working with KUKA (KR C5) and Tia Portal (S7 1200).
I've managed to establish communication. However, there are many signals that I don't know how to manage in the TIA Portal project. (attached a photo of signals....
In point 4, you mention that you have to create an FC with 2 blocks.... but it may be necessary to add some more... Can someone send me a template for TIA Portal V16-18?
Thank you very much for everything!