KB-27477: Telnet server communicating with E3.

Question:

Is it possible to connect and exchange data with a Telnet server via E3?

Solution:

Yes, it is. To do so, use ASCII driver and create two tags with the following settings:

  • WriteTag -> N1 = 5, N2 = 0, N3 = 0, N4 = 0
  • ReadTag -> N1 = 2, N2 = 1, N3 = 0, N4 = 0
Then, at Driver’s Extra Settings, configure fields TX and RX on List of Commands as TX:%s e RX:%s. After that, to perform the communication, you must write the following script:

Application.GetObject(“Drv_AscII.Write”).Writeex(“administrator” & chr(13))
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *