Hello,
Does anyone use s7plc EPICS support with SIEMENS S7-1200 CPU? I am using CP 1243-1 to establish communication through TCP connection using TSEND_C and TRCV_C instructions.
When I run the IOC I got the following messages:
## Register all support components
dbLoadDatabase "dbd/s7-1200.dbd"
s7_1200_registerRecordDeviceDriver pdbbase
#var s7plcDebug 0
s7plcConfigure("s7-1200","192.168.0.2",2000,240,240,1,5000,50)
## Load record instances
dbLoadRecords("db/dio.db")
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.8
## EPICS Base built Dec 4 2019
############################################################################
01/03/20 11:24:56.417 s7plcConnect s7-1200: connected to 192.168.0.2:2000
01/03/20 11:25:01.423 s7plcWaitForInput s7-1200: timeout after 5 seconds.
01/03/20 11:25:01.423 s7plcReceiveThread s7-1200: waiting for input failed: Connection timed out
01/03/20 11:25:01.423 s7plcCloseConnection s7-1200
It is shown that IOC is connected but I am not sure if the PLC code configuration in the TIA Portal is correct or not.
Any ideas?
Thanks.
Ibrahim