EM 277 as a slave in a 315-2DP Master

hagos

Member
Join Date
Oct 2004
Location
Africa
Posts
244
Dear Folks,

I have a 315-2DP master that have several EM 277 slaves attached to it, a typical I/Q address for two EM's is as follows: Slave 1:1344-1407(32 word out/32word in)for their I/Q addresses
slave 2:1536-1599(32 word out/32word in)for their I/Q addresses

Now I want to reflect the status of one bit in slave 1 to be read in slave 2 , I tried to write a code in the 315, but the CPU doesn't accept an address of (I 1536.0 or Q 1536.0) for instance.

Waiting to get your help as usual.

Regards
Hagos
 
Thw two adresses are probably outside the proces image of the CPU.

I recommend that you read all data from each slave with SFC14 DPRD_DAT, and write all data with SFC15 DPWR_DAT.
You must set aside some memory for use in you code. Preferably a DB.
 
Thanks Jesper for the reply,

This is what I texpected too, but I thought it is ok when the HW configuration allowed me to enter the address I/Q 1536.

Can the SFC15/15 let the slave to put the data in a DB at the master side? If so I appreciate if you can show me how.

Best regards
Hagos
 
I suggest that you transfer the i/o data from the two slaves to one or more DBs by means of SFC14 and SFC15.
Then in code, you manipulate the i/o in the DBs.

Like this:

Read all DP slave input data with SFC14.

Do something in code.
Like:
A "DP_IO".inp.word1536.bit00
= "DP_IO".outp.word1536.bit00

Write all DP slave output data with SFC15.

An alternative if there is not so much data from each slave is to simply place the i/o inside the proces image.
Then you can simply write:
A I36.0
= Q36.0
 

Similar Topics

Dear folks, I'm still in the phase of data assignment for the data exchange between a 315-2DP as a master & several EM 277 as slaves. I'm...
Replies
1
Views
1,807
Hi Folks, I have cpu315 -2dp as pofibus master , Em277 as slave and ABB robort as slave. after installed gsd file of Em277 and ABB to Simatic...
Replies
0
Views
4,171
Good day, May I ask, what do I need to perform MIGRATION of HMI program from Siemens MP277 10" Touch hmi to TP1200. I already have WinCC Flexible...
Replies
0
Views
109
Hi All, I currently have an damaged MP277-8" Touch panel (6AV6 643-OCB01-1AX1) which I am able to backup (.psb) via ProSave. We are in the...
Replies
1
Views
2,744
Back
Top Bottom