2/13/2023 9:47 AM | |
Joined: 10/3/2022 Last visit: 5/23/2024 Posts: 2 Rating:
|
Hi Daniel, I'm using the 6ES7341-1AH02-0EA0 in the office but it will be the 6ES7341-1AH01-0EA0 on site. I have inserted the modbus master dongle into the back of the card myself so I know that it is there and in correctly. I've attached my program for ease of viewing. It has been created in Step7 V5.6. I'm aware that usually the modbus blocks are directly in OB1 but for when it gets implemented on site this won't be the case so it is inside FC50. I'm using modbus Functions 1 and 3 in the code, as I was trying to get the data reading correctly. Adding the send block using Function code 15, stopped the code being able to read Analogues.
Meghann AttachmentModbusmaster_Test.zip (184 Downloads) |
Follow us on