3/26/2015 9:58 AM | |
Joined: 5/29/2013 Last visit: 10/22/2024 Posts: 29 Rating:
|
Hi, I need to write 1 single bit into digital coil 01016. I get error 8382 constantly. Device supports function 05. Data table from device covers 0XXXX, 1XXXX,3XXXX,4XXXX registers. I can read from all of them, but can not write to 01001-01016 (also tried 1001-1016) Please tell if code is correct..
---------------------------------------------------------------------------------------------------- |
Last edited by: Min_Moderator at: 3/26/2015 5:10:21 PMNew subject after splitting |
|
3/26/2015 9:11 PM | |
Posts: 3093 Rating:
|
Hello Frzw, Regards, |
3/27/2015 8:47 AM | |
Joined: 5/29/2013 Last visit: 10/22/2024 Posts: 29 Rating:
|
Absolutely sure. I can read and see it. |
3/27/2015 8:53 AM | |
Joined: 5/29/2013 Last visit: 10/22/2024 Posts: 29 Rating:
|
I also have tried old way to do it. IF I write 16#0000 I have 8382 If I write 16#FF00, I will get 8384 |
3/27/2015 9:59 AM | |
Posts: 5 Rating:
|
8382 - Data length error Please check data length. http://www.allmar.send.pl/upload/files/s71200/S7-1200_System_Manual_enUS.pdf
|
3/27/2015 10:18 AM | |
Joined: 5/29/2013 Last visit: 10/22/2024 Posts: 29 Rating:
|
Reading from 1001-1016 is fine. These regiseters exist for sure. And 01 and 05 are supported. |
3/27/2015 10:58 AM | |
Joined: 5/29/2013 Last visit: 10/22/2024 Posts: 29 Rating:
|
When I switch to 15H (mode 2), then I get 8381 - function code is not supported. Device supports 05 and 01 only. |
3/27/2015 11:04 AM | |
Posts: 5 Rating:
|
Try mode 1 with 15H or try with a array. DATA_ADDR 01001, DATA_LEN 16, DATA_PTR "Data".Array_x. |
Follow us on