pietervdb
Member
Hello,
We have a client where we must replace an old Omron PLC with new Siemens S7 PLC.
The Omron PLC is connected through a RS232 connection with a custom made ERP packet.
The Omron runs as a slave connection and the ERP packet is continuous polling the port on the PLC. The ERP keeps asking the status of the machine and the PLC gives the status. In case of an event it sends data back to the PLC where the PLC takes over and perform some actions. Basically sending over strings form the PLC to the ERP and vice versa.
Now we want to use a TCP/IP connection for sending the data (strings) to the ERP software.
We have a Siemens CPU with a PN port onboard and now I’m looking for some FB/FC’s where I can listen to the TCP/IP port and put some data on the port.
The ERP software is adjusted that it sends his data directly to the IP address from the Siemens CPU.
Does anyone has done this before? Or does someone has some examples?
Thanx
We have a client where we must replace an old Omron PLC with new Siemens S7 PLC.
The Omron PLC is connected through a RS232 connection with a custom made ERP packet.
The Omron runs as a slave connection and the ERP packet is continuous polling the port on the PLC. The ERP keeps asking the status of the machine and the PLC gives the status. In case of an event it sends data back to the PLC where the PLC takes over and perform some actions. Basically sending over strings form the PLC to the ERP and vice versa.
Now we want to use a TCP/IP connection for sending the data (strings) to the ERP software.
We have a Siemens CPU with a PN port onboard and now I’m looking for some FB/FC’s where I can listen to the TCP/IP port and put some data on the port.
The ERP software is adjusted that it sends his data directly to the IP address from the Siemens CPU.
Does anyone has done this before? Or does someone has some examples?
Thanx