Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Profinet communication with S7-300

Hello. First of all, i'm sorry I have not been good at English.

 

Im trying to communicate with Siemens S7-300 PLC on these days.

 

Im 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 0127, and the Q address to 0127.

Third step, I modified your example source code and we communicated sucessfully with below configuration!

11111.jpg

 

And then, we wanna try to communicate more bigger memory size.

So my co-worker(PLC programmer) set the I address to 128381, and the Q address to 128381.

And I changed configuration like below but we fail to communicate.

22222.jpg

 

 

We try again 128255(I address) and 128255(Q address) and below configuration but we faild, neither.

33333.jpg     &    44444.jpg

 

So we need your help for communicating 254 size memory with any start address.

(for example, 2256 or 10264, etc.)

 

  1. Please check my configuration.
  2. I wanna to know about exact meaning of each parameters. I thought like below but maybe Im wrong.

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(dont 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(dont care about PLC Q address)

 

Somebody please help me.

 

Best Regards.

0 Kudos
Message 1 of 2
(4,057 Views)

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

0 Kudos
Message 2 of 2
(4,027 Views)