02-26-2013 02:12 PM
Jesse,
In cRIO PB DP Slave -getting started manual in page 13 -14 /23, when or where the memory address is used .What is different between the memory address and the index of header strurcture in page 15 /23 ?
02-26-2013 02:52 PM
Hi Rig,
That memory refers to FPGA memory. You are reading and writing responses to a place in memory. If you are unfamiliar with labview FPGA memory you can read about it the labview help. It is not a concept specific to profibus, it is a feature of labview fpga.
The head is for your reference. If you need to parse apart responses that is the meaning of the bytes.
02-27-2013 06:02 PM
02-28-2013 12:37 AM
Jesse,
Could you answer my questions attached ?
02-28-2013 11:35 AM
Hi Rig,
I am going to reference the example for these questions. It is important to realize that the profibus module accessing the memory defined in addition to labview. This happens whenever you call the ReadWrite.vi
1) I have marked where the FPGA memory is written to with a 1. What you write and the offsets needed are determined by your application. What is the PLC expecting back?
2) I have marked the where the read occurs. Once again, it is a two step process. The profibus module write to FPGA memory, then labview reads the actual values from that memory.
3) The PLC will just see the Write input and Read output data (see 3). You are telling the profibus module where to start reading with these offsets.
4) Whatever is returned by the PLC. The two shouldn't be correlated
5) It should be sent according to the Profibus standard, you will need to configure the data layour on the PLC side.
I advise getting some simple data without offsets working first, then work up from there.