PLC S71200 time counter with TCP/IP communication TIA14 between PLC and 1 computer
In this software its possible send 2 bytes and receive 8 bytes in ASCII
In device configuration/General/PROFINET Interface [X1]/Ethernet address you can can config the PLC IP Address
In Program block/TCP_COMMS[FB1]/Configuration/Connection parameter config the second machine IP
If you change the bytes quantity to send and/or receive alter the DATA[DB6] Array size
Compile -> Hardware(compile all) Compile -> Software (Software All) Download to device Hardware configuration Download to device Software(all)
TIP => Always you change some IP configuration, make a Download "Hardware configuration" and "Software configuration"
Use Hercules SETUP utility by HW-group.com to test communication
When DATA.Receive[0]->%DB6.DBB0 = 1 counter enable
When DATA.Receive[0]->%DB6.DBB0 = 0 counter disable
When DATA.Receive[0]->%DB6.DBB0 = R reset counter
InverterAssy = 0 Counter is start
InverterAssy = 1 Counter stop