3/8/2022 1:12 PM | |
Joined: 12/18/2014 Last visit: 5/20/2024 Posts: 33065 Rating: (4084)
|
You have to use the block F/I converter. |
3/9/2022 4:18 PM | |
Joined: 12/18/2014 Last visit: 5/20/2024 Posts: 33065 Rating: (4084)
|
Your first screenshot shoes not the online test. So I can see not if values come in the LOGO! or not. |
3/9/2022 4:21 PM | |
Joined: 11/19/2021 Last visit: 5/16/2024 Posts: 29 Rating: (0) |
This should be better |
3/9/2022 4:26 PM | |
Joined: 11/19/2021 Last visit: 5/16/2024 Posts: 29 Rating: (0) |
Like this |
3/9/2022 4:35 PM | |
Joined: 11/19/2021 Last visit: 5/16/2024 Posts: 29 Rating: (0) |
Can you suggest a tool I can use to check communications please? |
3/9/2022 5:15 PM | |
Joined: 12/18/2014 Last visit: 5/20/2024 Posts: 33065 Rating: (4084)
|
No, I can't. |
3/10/2022 10:17 AM | |
Joined: 12/18/2014 Last visit: 5/20/2024 Posts: 33065 Rating: (4084)
|
You can change the port number because you have made a dynamic connection on the LOGO! side. |
3/10/2022 10:44 AM | |
Joined: 11/19/2021 Last visit: 5/16/2024 Posts: 29 Rating: (0) |
What parts do you need to see? I will take screenshots of whichever screen you need to see. |
3/10/2022 12:19 PM | |
Joined: 12/18/2014 Last visit: 5/20/2024 Posts: 33065 Rating: (4084)
|
The best is: Screenshots and the program (as a ZIP file). |
3/10/2022 12:36 PM | |
Joined: 11/19/2021 Last visit: 5/16/2024 Posts: 29 Rating: (0) |
Thanks. I have moved to a static link, but still cannot alter the port so have changed the port on the Modbus device to 503. The NAI integer connection works, but still getting zero on the VW. AttachmentModbus test NAI working.zip (395 Downloads) |
3/10/2022 12:56 PM | |
Joined: 12/18/2014 Last visit: 5/20/2024 Posts: 33065 Rating: (4084)
|
Try this and look if are values in VW0 and VW2. Maybe your simulator works with Little Endian. LOGO! works with Big Endian. AttachmentModbus test NAI working.zip (459 Downloads) |
4/11/2022 1:16 PM | |
Joined: 2/22/2008 Last visit: 5/10/2024 Posts: 2698 Rating: (206) |
The problem is a wrong Modbus connection. Try attached program, which is written in diagram mode, not in network mode. This may be easier for most applications, when only one Logo is connected to Modbus devices. I would never use green NAI's, but only local mapped variables. See menue tools -> ethernet connections -> Connection1 (Modbus Client). Inside is the VM mapping for this device. A float needs 2 register = 4 bytes, in this case the mapping is VM0. This means, VB0-VB3 or VW0 and VW2 are used. The next free variable then is VB4, VW4 or VM4 (VM for converters). Change the mapping to your desired HR (5xx) and ID (27 ?), then the right value will appear on the display of the message text. Regards, Scorp AttachmentModbustest.zip (609 Downloads) |
Last edited by: Scorp at: 04/11/2022 13:23:41 |
|
This contribution was helpful to1 thankful Users |
4/11/2022 8:25 PM | |
Joined: 12/18/2014 Last visit: 5/20/2024 Posts: 33065 Rating: (4084)
|
Take a look at attachment.
AttachmentLOGO! Bit, Byte, Word and DWord.pdf (442 Downloads) |
Follow us on