315-2DP as a Master, EM 277 as a Slave

hagos

Member
Join Date
Oct 2004
Location
Africa
Posts
244
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 choosing 8 byte out/8 byte in, one of my slaves is having the I/Q range of 256-263, I wrote the SFC 14 as follows:

CALL SFC 14
LADDR :=W#16#100 //Staring address 256
RET_VAL :=MW12
RECORD :=P#DB8.DBX0.0 BYTE 8

My question is:Would this work although that LADDR is looking for an address > 128 in the I/Q ?

N.B
===
I'm using >128 for the data exchange because I want to dedicate the 0-127 bytes for my physical inputs/outputs

Best regrads
Hagos
 
My question is:Would this work although that LADDR is looking for an address > 128 in the I/Q ?
That is the whole point of SFC14/SFC15. To be able to read/write i/o data consistently when it is outside the proces image of the CPU.
If the i/o is inside the proces image, then you can forget about SFC14/SFC15.
 

Similar Topics

Hello Can any body help me for communicating Deltav and PLC(Cpu 315-2DP)without cp342. How am I doing this configuration in PLC. Please help me.:hmmm:
Replies
0
Views
1,061
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...
Replies
3
Views
2,245
Hi, i wants to write PLC program , to control and communicate CPU 315-2dp with master drive over profibus communication, i have all the hardware...
Replies
1
Views
4,132
Hi all. [edit] - Sorry about the long intro for a simple question but i know many people have had troubles getting modbus to work in this...
Replies
1
Views
7,092
Hi, At the moment, I am trying to configure the PROFIBUS network with: i) Allen Bradley MVI56-PDPMV1 Prosoft card along with Allen Bradley...
Replies
0
Views
3,320
Back
Top Bottom