AB7013 Serial Queries / Collisions

Hello, I have an AB7013 (Serial to Profinet Gateway). I am communicating to 8 devices (4 devices x 1 query, 4 devices x 3 queries). I have a region specified for each response, however occasionally data from another response loads into the incorrect region. In other words, I think sometimes the device is making a query before the last device had a chance to respond. In other scenarios I suspect there are collisions because we get a timeout and all data in the region goes to zero. It is confusing to me how transmissions are selected, is there a way we can set it up so that it rotates through each in a cycle? The time settings don’t really imply that it isn’t trying to send messages on top of itself. Maybe there is a diagram that demonstrates an example and how the settings change the queries / response windows etc.

Take a look at section 14 in the manual:

This sections references Status and Control registers. Are you implying that the subnetwork comms should not be managed internally by the AB7013? I was hoping to use the communicator as an independent device that handles the low level comms exclusively and to only poll the data through the higher level.

What I was hoping is that there is a way we can configure the module to make one query, wait for a response or a default timeout period before moving to the next query. In this way we can avoid collisions or accidentally reading data into the wrong input memory.

If you want to send your configuration file we can take a look to see what adjustments are possible.

Yes, thanks. Attached you’ll find the config file.
This is the running version which experiences the intermittent loss. I was going to adjust the timeout
cp3-abc1-Rev2.cfg (16.0 KB)

I made some modifications to the file and have not downloaded it to the device yet. I thought maybe the issue was resulting from overlap of timeout and the next transmission query. I shortened timeout time and removed retries. One thing I’m not sure of is the delay between transmission and response. Is there a way to monitor in order to see the time required for the network device to respond? Here is the config file I’ve modified. cp3-abc1-Rev3.cfg (16.0 KB)

Hello. I have had an opportunity to troubleshoot some more. I have computed the max amount of time devices usually respond in order to improve response time of devices. I have also modified the config file so that the transmissions should be completely periodic, however, i see that it is often still piling messages on top of responses which i believe is the result of the transposition of responses and data corruption. Here is the latest config file
cp3-abc1-Rev5.cfg (16.0 KB)

Here is an example from the log where the transmission lines up on top of another (line 50):

35 38 0x02 2 .
36 0 0x87 135 ‡
37 1 0x32 50 2
38 0 0x30 48 0
39 1 0x33 51 3
40 0 0x30 48 0
41 1 0x03 3 .
42 0 0x38 56 8
43 1 0x35 53 5
44 8 0x02 2 .
45 0 0x87 135 ‡
46 1 0x32 50 2
47 0 0x30 48 0
48 1 0x33 51 3
49 0 0x30 48 0
50 1 0x30 48 0
51 0 0x02 2 .
52 0 0x88 136 ˆ
53 1 0x32 50 2
54 0 0x30 48 0
55 1 0x34 52 4
56 0 0x30 48 0
57 1 0x03 3 .
58 0 0x38 56 8
59 1 0x44 68 D
60 66 0x23 35 #
61 0 0x30 48 0
62 1 0x36 54 6
63 0 0x30 48 0
64 1 0x46 70 F
65 0 0x0D 13 .
66 2 0x3E 62 >
67 1 0x33 51 3
68 0 0x2E 46 .
69 1 0x32 50 2
70 0 0x34 52 4
71 1 0x30 48 0
72 0 0x45 69 E
73 1 0x2D 45 -
74 0 0x30 48 0
75 1 0x38 56 8

Hi,

Can you provide a log of the traffic?

Do you have any documentation on the serial device, as far as what the commands and responses should be?

What color is LED 5? Is it blinking?
image

Thank you,

Kyle

Topic closed due to inactivity.