Hello!
Slightly confused at the moment regarding the maximum number of bytes transferable via the AG_SEND (FC5, V4.2),AG_RECV (FC6 V4.7) blocks using a CP343-1 EX30. I have tested these blocks sending data to an ABB robot via a TCP connection. The robot only receives the first 240 bytes. I need to send 1024 bytes so this is a bit of an issue for me! I'm finding the Siemens documentation rather missleading...
For example, in the help files for AG_SEND it states :
Number of bytes to be sent from the data area with this job. The possible values range from 1 to length specified for the SEND parameter. ·Note the block type:
- For S7-300 The current versions of FC AG_SEND allow up to 8192 bytes (2048 bytes for UDP) to be transferred.
- For S7-400 With FC AG_SEND, the data area is restricted to a maximum of 240 bytes.
But in the manual for the CP-343 it states:
Max. data length for blocks AG_SEND (V4.0 and
higher) and AG_RECV (V4.0 and higher)
AG_SEND and AG_RECV allow the transfer of
data fields of between 1 and 240 bytes.
- 1 to 8192 bytes for ISO transport,
ISO-on-TCP, TCP;
- 1 to 2048 bytes for UDP
(This is really confusing beause the first line states 1-240 bytes and the next line states 1-8192 bytes for ISO,ISO-on-TCP and TCP...so what protocol are they refering to when they say 1-240 bytes, and why can I only send 240 bytes even though I using TCP??!!)
Anyone have any ideas..am I in serious trouble here? Any recommendations?
Cheers!
R.K.
Slightly confused at the moment regarding the maximum number of bytes transferable via the AG_SEND (FC5, V4.2),AG_RECV (FC6 V4.7) blocks using a CP343-1 EX30. I have tested these blocks sending data to an ABB robot via a TCP connection. The robot only receives the first 240 bytes. I need to send 1024 bytes so this is a bit of an issue for me! I'm finding the Siemens documentation rather missleading...
For example, in the help files for AG_SEND it states :
Number of bytes to be sent from the data area with this job. The possible values range from 1 to length specified for the SEND parameter. ·Note the block type:
- For S7-300 The current versions of FC AG_SEND allow up to 8192 bytes (2048 bytes for UDP) to be transferred.
- For S7-400 With FC AG_SEND, the data area is restricted to a maximum of 240 bytes.
But in the manual for the CP-343 it states:
Max. data length for blocks AG_SEND (V4.0 and
higher) and AG_RECV (V4.0 and higher)
AG_SEND and AG_RECV allow the transfer of
data fields of between 1 and 240 bytes.
- 1 to 8192 bytes for ISO transport,
ISO-on-TCP, TCP;
- 1 to 2048 bytes for UDP
(This is really confusing beause the first line states 1-240 bytes and the next line states 1-8192 bytes for ISO,ISO-on-TCP and TCP...so what protocol are they refering to when they say 1-240 bytes, and why can I only send 240 bytes even though I using TCP??!!)
Anyone have any ideas..am I in serious trouble here? Any recommendations?
Cheers!
R.K.