02-11-2016 03:28 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)
Somebody please help me.
Best Regards.
02-15-2016 04:46 PM
AriRaja,
First of all. Are you using your own VIs or Profinet LabVIEW Project? I'm not able to find VIs you are showing in your post.
Ask your co-worker which Profinet slave In-Out modules were programmed into the master. It is possible he will need to add 254 Byte In/Out Module into master configuration