FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
05-11-2023 10:53 AM
Hello everyone,
I'm trying to read data from the S7-1500 CPU.
The connection to the PLC ist successfull as you can see in the first picture.
When I creat a Tag to read some data the error message: "Index was outside the bounds of the array."
I also tried other Count values, but with no success.
Another problem by creating a tag is, that there is no selection for the tag "S7 Write Variable" as you can see in the last picture.
Solved! Go to Solution.
05-16-2023 03:34 PM
Hello,
Thanks for your enquiry. Hope this email finds you well 😊
Regards to data read
As you're trying to read a DWORD (DBD) value, Request to give it a try by choosing "DINT" as datatype and let us know the feedback.
Regards to write-back
Kindly enable the writeback under settings as shown in the attchment. This should enable the write tag option in the dropdown to configure write tags
Thanks
Product Support
05-31-2023 01:56 PM
Hello @DvB_Support,
thank you for your help.
Regards to write-back: Thank you, now the write-back option is available.
Regards to data read: Yes I´m tying to read a DBD. Unfotunately with the datatype "DInt" is still an error message (see attachment).
05-31-2023 04:59 PM
06-06-2023 12:50 PM
Hello @DvB_Support
I think your answer with the datatype DInt was correct. Right now I get the error message because I have no connection to the CPU. But this is an intern problem. As soon as possible I´ll give you a feedback on whether it works.
06-07-2023 03:58 PM