@@electricalautomation I Want to know if it is a better option use TSEND and TRECV for work with only one port direction or use TSEND_C and TRECV_C but implementing a logic to send and receive messages with one port. And what is the better way to implementing this logic in such case? Thanks for reading me.
@electricalautomation Жыл бұрын
@@danielperezcastano777 Not sure what is your communication 'Target', if it is also Siemens PLC, the 'S7' connection and TCON+T_SEND+T_RCV is the better option. using this way, T_SEND only cares about the port from the target (Remote port), whereas the T_RCV only cares about the 'local port'.
@danielperezcastano777 Жыл бұрын
@@electricalautomation It is a external device that only uses one port and one IP adress to send and receive data
@alexchiosso221 Жыл бұрын
Great video and excellent explanation. Thanks. :-)
@electricalautomation Жыл бұрын
Thanks very much! Welcome!
@wheretimehasnovalue93437 ай бұрын
Wow, such clarity. Thank you Sir,
@electricalautomation7 ай бұрын
Thanks!
@Rivuzza Жыл бұрын
Hello how do I create a csv file on a pc connected on the same network as the plc that updates itself every time .... example engine 1 start at 08:00 am and it is written to the file "engine 1 running + date and time" then shuts down at 08:30am and the plc updates the file adding a new line with written "engine 1 stopped + date and time". Thank you I hope you can explain this process to me
@pushkarhandi8547 Жыл бұрын
is tcpip communication good for communicating ABB robot and siemens 1200 PLC.
@celofan334 ай бұрын
Thanks for the helpful video
@electricalautomation4 ай бұрын
Always welcome
@nato7674 Жыл бұрын
Good job 👍 Thanks!
@electricalautomation Жыл бұрын
Many thanks!
@tonnguyen1531 Жыл бұрын
Is it same way If we do it on Step 7, controller is s7-400?
@electricalautomation Жыл бұрын
Unfortunately, S7-400/S7-300 will be not the same way, but similar. those old PLCs has been phased out a couple of years, using TIA Portal and S7-1200/S7-1500 are highly recommended.
@maki155 Жыл бұрын
How can I send string commands with this function block, is there a way?😄
@electricalautomation Жыл бұрын
I believe this link will be helpful. A String has a header with two bytes, then the following are Char data after the header. support.industry.siemens.com/cs/document/42002283/how-do-you-compensate-for-the-string-mismatch-caused-by-the-rcv_ptp-and-send_ptp-blocks-?dti=0&lc=en-US
@johnbryan152310 ай бұрын
Great video! For a future, can you TSEND to SMS via a online service (Twilio)?
@electricalautomation10 ай бұрын
Appreciate your donation. Regarding the SMS application, please check this support.industry.siemens.com/cs/document/58638283/signaling-and-switching-via-sms-with-s7-1200-and-cp-1242-7-gprs-v2?dti=0&lc=en-US. TSEND can not do it, you need a modem hardware CP1424-7 with a SIM card and the related function blocks for the SMS function. Or the cloud connection solutions.
@johnbryan152310 ай бұрын
@@electricalautomation Your most welcome! I am tryingto figure a way to connect to Twilio Cloud and send a SMS. Remote station and using webserver for dashboard and need to devise a way to send alarms.
@electricalautomation10 ай бұрын
@@johnbryan1523 It is rare to use PLC directly send SMS because it need SIM card and connect to the GSM or GPRS network. Instead, using HMI, SCADA, Router, or Cloud alternately to do the SMS.
@bhagyodayasinghjadhav Жыл бұрын
Very nice, Please share same video for modbus tcp ip AB studio 5000
@electricalautomation Жыл бұрын
My friend, you could this video for Compactlogix Modbus TCP, kzbin.info/www/bejne/gaqxl5KLi7Kena8