3/24/2020 5:26 PM | |
Posts: 14 Rating: (0) |
Hi. I try to control WP231 Digital Output with ModBus from S7-1214C( WP is far of S7) and i have question about configuration. In WP231 Datasheet,here ,it is writed in DR7 Assignement for digital output paragraph than we can configure D0 output with: 0 … 32767 of the status flags from byte 0 ... 3 (DR 30). But when i looking in DR30, i don't find any references for thoses statuts flags .Can you explain me what are t.hoses statuts flags. First daatsheet error i think is that ins't 32767, but 32. Another question: Where can i find ModBus Example to communicate from S7-1200 product to WP231 (or similar). Last question: ModBus Address values are in decimal or Hexadecimal? Best regards Eric |
Last edited by: BOBILLIER at: 03/24/2020 17:55:50Last edited by: BOBILLIER at: 03/24/2020 17:56:24 |
|
3/25/2020 4:06 AM | |
Joined: 3/28/2010 Last visit: 12/12/2024 Posts: 1097 Rating: (216)
|
decimal |
3/25/2020 9:38 AM | |
Joined: 1/4/2007 Last visit: 12/13/2024 Posts: 1163 Rating: (175)
|
Hello BOBILLIER, 1. My recommendation is to assign the digital outputs one-time with the Siwatool-software.
For example to execute the zeroing- or tare-command: a. Set „MB_MODE“ to „1“ (1 = write) b. Set „MB_DATA_ADDR“ to „40920“ (40920 = for commands) c. Set „MB_DATA_LEN“ to „2“ (2 = two words for a command) d. Set „MB_DATA_PTR[0]“ to „1001“ (= zeroing) or „1011“ (=taring) e. Set „REQ“ to TRUE for one-time
Best regards Siwarexi Attachmentattachments.zip (291 Downloads) |
3/25/2020 2:11 PM | |
Joined: 1/4/2007 Last visit: 12/13/2024 Posts: 1163 Rating: (175)
|
Hello BOBILLIER, Attached the TIA V15.1 with a S7-1200 PLC. To your question: Well, open the OB1, network 1, and mark the block „MB_CLIENT“.
Siwarexi AttachmentModbus_WP231_S7-1200_en_V15.1.zip (334 Downloads) |
3/26/2020 3:38 PM | |
Posts: 14 Rating: (0) |
Thanks Siwarexi It's more Clear for me. But one thing stay unclear about updating DR18 register processus. In the WP231 data sheet it is write than DR must be manipulate as block , and in this document here , it is write than you Read Completely DR(2000+DR value), modify Registre you are looking for, and record Completely DR (4000+DR value). But in your reply (6) , you just speak about Modify Register and directly record. Can-you confirm? Best regards Eric |
Follow us on