10/25/2016 7:55 AM | |
Posts: 8 Rating:
|
Hello! I've been recently setting Modbus TCP PN CPU between 315-2PN/DP (simulator as Modbus TCP client) and third-party simulation software (Modbus TCP server). After I downloaded my user program I have CONN_ESTABLISHED and BUSY bits set to TRUE, but there is no telegrams incoming on my CPU. So, I've got 2 questions: 1. Would Modbus TCP PN CPU work without any license purchased? 2.Would Modbus TCP PN CPU work on simulator, instead of real CPU? Thank you! ------------------------------------------------------------------------------------------ |
Last edited by: Min_Moderator at: 10/25/2016 8:52:12 AMNew subject after splitting |
|
10/26/2016 11:39 AM | |
Joined: 2/27/2014 Last visit: 8/6/2024 Posts: 689 Rating:
|
Hello,
Hello, Can you try with attached code? or you can compare with your code Use the S7300 client code in attached program. A090 is ok, because you don't have license so SF LED will flash. S7 300 Act as Client(192.1680.1) and Modbus Server(192.168.0.200) and port number 2000 You need to enable DB1.DBX12.1 to receive data from Server. DB1.DBB68 as Unit ID =1 Data Type is your function code Start address Length and Read or Write Bit (0 or 1) You will find detail in Client as variable table of sample application. Also you can use Modbus TCP wizard to create connection. https://support.industry.siemens.com/cs/in/en/view/60735352 AttachmentS7300_ModbusTCP_Server_Client.zip (1271 Downloads) |
With Best Regards, |
|
This contribution was helpful to
1 thankful Users |
Follow us on