02-11-2016 01:38 AM
Hello, first of all i'm sorry i have not been good at English.
I’m trying to communicate with Siemens S7-300 PLC on these days.
I’m using Labview 2012 SP1 on windows 7.
First step, I installed NI-PROFINET for cRIO 2.0.2 driver in my Labtop.
Second step, I gave GSDML file to my co-worker(PLC programmer) and he configured cRIO PN module with TiaPortal V13 SP1 update 5
He set the I address to 0…127, and the Q address to 0…127.
Third step, I modified your example source code and we communicated sucessfully with below configuration!
And then, we wanna try to communicate more bigger memory size.
So my co-worker(PLC programmer) set the I address to 128…381, and the Q address to 128…381.
And I changed configuration like below but we fail to communicate.
We try again 128…255(I address) and 128…255(Q address) and below configuration but we faild, neither.
&
So we need your help for communicating 254 size memory with any start address.
(for example, 2…256 or 10…264, etc….)
Input data offset : start address of PLC I address.
Input data length : write memory size
Write I/O memory offset : memory offset of request buffer in CS_PN-Memory(don’t care about PLC I address)
Output data offset : start address of PLC Q address.
Output data length : read memory size
Read I/O memory offset : memory offset of response buffer in CS_PN-Memory(don’t care about PLC Q address)
If you need more information for solving my problem, please reply.
Best Regards.
02-15-2016 04:51 PM
Duplicate Post http://forums.ni.com/t5/Industrial-Communications/Profinet-communication-with-S7-300/td-p/3251769
Please keep your question on one post
Thank you