require s7plc
epicsEnvSet("TOP","$(E3_CMD_TOP)/..")
s7plcConfigure cpu1,192.168.0.1,2000,240,240,1,2000,500
dbLoadRecords ("$(TOP)/db/records.db")
iocInit
Unfortunetely we have the error:
`s7plcConnect cpu1: background connect to 192.168.0.1:2000 failed: Connection refused.`
The firewall on VM and host side are disabled.
PLC Program configuration:
-Full Access.
-Enabled PUT/GET connections.
-Data blocks ale with full access , not optimized
-TCON in stand by with status BUSY
TCON configuration:
-Active Est. ON
-Unspecified partner with IP address (E3 address)
-TCP connection type by port 2000.
When we are starting E3 server we are getting information as below
10/28/21 08:44:00.763 s7plcConnect cpu1: background connect to 192.168.0.1:2000 failed: Connection refused
We can’t get why E3-s7plc does not work on our machine. Does anybody had similar issue or successfully connected using e3-s7plc with Siemens S7-1513-1?
Thanks in advance,
Mateusz Nabywaniec
S2Innovation, Cracow, Poland