Ag_send / ag_receive

Brono

Member
Join Date
Jan 2008
Location
Deinze
Posts
2
A while ago I configured a ag-send / receive connection without any problem. Today I had to make a new connection in the same project but I have a strange problem. I can send the data from one PLC to the other, but on every update of the send cyclus the received data is in another order. The data is copied but it doesn't end up at the same place. In annex you can find some screenshots. Can somebody help me with my problem
 
Is it possible that your receive block any pointer length for the rcv is too small? check the len on a positive transition to see what length is being sent to you....
 
Thim,
As you can see on the send side (see "annex .pdf") the first 3 values are integers. The fourth value is defined as an integer but it is a
"collection of bools". I indeed only use the first two bits of the fourth value.
I first defined it as two bools and tried to send it like that, but I had the same problem.
Why do you ask if I send bits instead of integers?

Sylent,
The send pointer is the same size as the receive pointer, the db-lengths are identically.
Both pointer lenghts are 12 byte, "len" on the send side is defined as 12.
I also add two extra INT (that aren't used in the program) because I first thought that the pointer length was too small.


Thanks for replying so soon.
 

Similar Topics

Hello All, Currently I am migrating S7 300 to S7 1500 & I am unable to use DP send & receive data from Master PLC. Which instruction is...
Replies
4
Views
1,626
All, I am up a creek and not only did I lost my paddle, but the creek is on fire. What I am attempting to do is to connect Wonderware System...
Replies
2
Views
2,312
Hello every one ... i want to know if the communication functions " AG SEND " and "AG RECEIVE" works with TCP only ? or with other communication...
Replies
5
Views
2,622
Hey guys, I hae an RSLinx that will not connect. So what I have is 5 machines, communicating in series from a DH485 to a coupler to ethernet to a...
Replies
2
Views
1,389
Send/Receive Data(ethernet comm..) between CPU 315-2 DP & S7-1200 OVER CP 343-1 Lean I have 2 programs. In 1.(first program ) my hardware...
Replies
0
Views
2,684
Back
Top Bottom