Siemens to CLX on Profibus

cdavis

Member
Join Date
Jan 2009
Location
Athens, AL
Posts
14
Has anyone ever setup communication between a Siemens S7300 to a ControlLogix PLC using a Prosoft MVI-PDPS slave module? The Siemens is the master and the Prosoft card is the slave.

I can see the Prosoft card on the profibus network, but when I try and read using SFC14 (DPRD_DAT), it gives me the following error:

"The length of the specified destination area is not identical to the user data length configured with STEP 7"

I have set up the prosoft card for 50 words of I/O. I have set up the module in Step7 with 50 words of i/O.
 
Double check to make sure that you are dealing with words and not bytes. Most AB cards will default to 2 or 4 byte words, but Siemems being octal uses 1 byte words.
Also check for any overhead information that the Profibus slave card adds on top of your user I/O words.
 
Data is being transferred between the ControlLogix and the Siemens. I can read the data if I access PI's individually. The DPRD_DAT instruction is the problem now. I continue to get the error that I described above. The slave is configured for 50 words (16-bit) and the DB that I am reading into contains 50 words.
 
Working finally

Ok, I got back to working on this problem and got it figured out. When you drop a slave into the Siemens hardware config, pay close attention to the configuration of the modules. If the module says "consistent over unit" as opposed to "consistent over length", you will only be to read/write 4 bytes at a time (even using SFC14/15). I got a FC from Siemens called PI_Move and PQ_Move that you can use instead.

plc_forum.jpg
 

Attachments

  • My_libra.zip
    138.4 KB · Views: 10

Similar Topics

We are currently running a PLC-5 system consisting of 12 PLCs with a lot of I/O per PLC and inter PLC comms and need to upgrade. What would you...
Replies
12
Views
6,037
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
1
Views
34
Hi, I have PLC S7-1200 and switch XC-208 and Iam trying to implement this SNMP library: SIOS I am not sure, what I am doing wrong, but there is...
Replies
3
Views
90
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
15
Views
459
Hi all, I have some difficulties with programming a NAT config in my Scalance SC636-2C When programming the NAT-table i'm not able to reach my...
Replies
4
Views
146
Back
Top Bottom