Search the Community
Showing results for tags 'send'.
Hello! Another one topic PLC/E-mail. Unfortunately, I'm not able to copy with the problems. I use the ladder from Example (of course). In CMD I write "telnet pop.gmail.com 25" and I can see the protocol type used by the server. After that i tape "pin pop.gmail.com" and see the IP address of the server. The first change that I make in the ladder is IP in "TCP/IP - Tcp connect" block. The new IP is the same as IP address of the server. The second change is in the "E-mail" block. "From:" e-mail is Support@unitronics.com and the receiving e-mail is "..........gmail.com". When I press "connect" in HMI the system is able to connect. However, when I press "Send E-mail" there are two mistakes: "The server cannot receive data (DATA mode error)" and "From address format incorrect " I have tried many settings but non of them was workable. Please, give me an advise where might be the mistake!
Hello! Another one topic about PLC/E-mail, unfortunately, I'm not able to copy with the problem... I use the ladder from Example (of course). I setted up PLC's IP, mask and gateway. Firstly, I wrote "telnet pop.gmail.com 25" in CMD to see the protocol type used by the e-mail server - ESMTP. After that I dial the text "ping pop.gmail.com" to see the IP address of the server. I changed a setting in "TCP/IP-Tcp Connect" block. The "Remote IP" inside the block is equal to IP address of the server. The last change is in "E-Mail" block. "From:" e-mail is "email@example.com" and "To:" e-mail is "..........@gmail.com". When i press "Connect" in HMI the connection is done. However when I press "Send E-mail" the program shows two different errors: "'From' address format incorrect"; "The server cannot receive data (DATA mode error)". Please, tell me where might be the mistakes to try to solve them!
Hello, I've got a problem with the SEND block of the PROTOCOL FB's, I need to calculate the checksum according to CRC-16 algorithm with initial value 0x0000, but the only available option is CRC-16 (Modbus) where the initial value is 0xFFFF. Is there a way to change the initial value, or add this checksum algorithm? Another problem is the order bytes in the calculated checksum, maybe you could add an option to swap bytes?
peteykirk posted a topic in Vision & Samba PLC + HMI Controllers & VisiLogic SoftwareDoes anyone have a simple working example of the TCP RAW Send or TCP/IP Send? Im basically trying to simulate an HTTP Request to a web server and send over some variables. Ex: 188.8.131.52/?id=5&Name=Petey