8/18/2023 11:33 AM | |
Joined: 5/30/2022 Last visit: 4/26/2024 Posts: 520 Rating: (85) |
Hi Mikluk, I recommend that you review the following information: Where and when do you need peripheral addressing? In adition:
|
If this information really helps, you could use the Rate function. |
|
8/18/2023 11:50 AM | |
Joined: 7/11/2022 Last visit: 8/22/2023 Posts: 12 Rating: (0) |
Hi qwazee, sorry, my fault. Block is 400 bytes.The adresses as I wrote are correct - the last byte I can write is 4199. |
8/18/2023 12:12 PM | |
Joined: 7/11/2022 Last visit: 8/22/2023 Posts: 12 Rating: (0) |
Correct addresses are here. I am not sure what you mean with memory size. |
8/21/2023 6:33 AM | |
Joined: 4/22/2021 Last visit: 4/24/2024 Posts: 43 Rating: (0) |
please check the DB. because your are not enogh for stl program |
8/21/2023 7:32 AM | |
Joined: 7/11/2022 Last visit: 8/22/2023 Posts: 12 Rating: (0) |
Futile? OK. So, writing again. Hope, will be more clear. I have created an logic to write values into the DB with 400 bytes for each device divided to 2 parts / faults and alarms. That means the first byte for the first device is on the address 200. Next is on the 600 and so on 11thstarts on the address 4200. I am calculating address in the STL but the problem is that when I want to write data for 11thblock ( that means on the address 4200 ) PLC is giving error “Area length error when writing”. The last byte on which I can access is at address 4199. Attachmentlogic.txt (292 Downloads) |
Last edited by: Jen_Moderator at: 08/21/2023 08:06:00Logic added as .txt file. |
|
Follow us on