No connection to Modbus Slave

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
riso77
Posts:16
Joined: Mon Jan 15, 2018 10:57 am

No connection to Modbus Slave

Post by riso77 »

Hi all,

I am having difficulty to connect to a Modbus Slave running locally (on the same machine as Wincc OA).
This is what i did:

1. Modbus slave is running locally, port 502 is opened and listening (Slave ID/Unit address set to 1)
2. Modbus driver running
3. The PLC is configured (socket of the PLC 127.0.0.1:502, Unit address = 1, PLC number = 1
4. I created a boolean DPE "coil_status" with Reference M.1.1.1 and (polling 1st Coil register on PLC 1) with Poll time = 500 ms
5. Clicking the Apply button on the "Periphery - MODBUS / UNICOS" panel brings the message in the Logviewer "Unexpected state, ModPolGroup, addItem Cannot add poll address due to error in address M.1.1.1" and the State "Not connected" persists.
6. I have tried running the Modbus slave software also on a different machine (with changing the socket of the PLC in configuration) and sniffing the traffic with wireshark, but there is no communication from Wincc OA towards the machine where the Modbus Slave is running.

is there anything I am missing in the configuration?

thank you very much for clearing. https://www.winccoa.com/fileadmin/image ... _issue.png
Attachments
Modbus_Slave_issue.png
Modbus_Slave_issue_01_1.png

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: No connection to Modbus Slave

Post by Gertjan van Schijndel »

Perhaps it goes better if you also set the 'Type of transformation'.

riso77
Posts:16
Joined: Mon Jan 15, 2018 10:57 am

Re: No connection to Modbus Slave

Post by riso77 »

definitelly, Choosing "boolean" in the field Type of transformation made the trick

thank you

3 posts • Page 1 of 1