AB-WBE (Customer) asked a question.

*** Nextion Display and CLICK PLUS ***

I need to communicate a CLICK PLUS with a Nextion Model NX8048P050-001-Y. I just need to pass a single character to the PLC once a push button is pressed on the display. I have configured the PORT2 of the CLICK PLUS as follows (to match the display):

 

  • Baud Rate: 9600
  • Parity: None
  • Stop Bit: 1
  • Communication Data Bit: 8
  •  

DISPLAY SIDE

The way I am (trying) passing to pass the single ASCII character to the PLC is by triggering a print command each time the button is pressed, as follows:

print va0.text

imageWhere va0, has been configured as follows:

sta: String

txt: 3

imageIndeed while using the Debug Mode of the Nextion S/W I do see that the print command is "printing" a 3 character.

 

PLC SIDE

Again I configured PORT2 to match the setting of the display.

imageI do have a single Receive rung triggered by the PLC 100 ms timer. I am reading (or trying to read) the message coming from the display, which is supposed to be the ASCII character 3.

imageAnd this is how the program looks:

imageCONNECTIVITY BETWEEN THE DISPLAY AND THE PLC

I am powering he display (right now) via a USB charger, and making the communication connection per the following diagram:

image 

The only see that I notice is the RX led on the RS-232 Poert on the PLC on, other than that, nothing happens!

Any ideas?

I will appreciate it!

I have attached the PLC program

 


  • AB-WBE (Customer)

    My main man Superman Z28! Yes indeed that was the issue. I cut the cable that I purchased from AutomationDirect (D2-DSCBL) and inverted the TX and the DX before I got to the RS-2342/TTL converter, and....... It works!!! So, we need to build a custom cable. Once more, thank you very much!

    Regards,

    Alfredo

     

    Selected as Best
  • AB-WBE (Customer)

    My friend Z28z34man! Thank you very much. Let check the PLC side to confirm your suggestion. I really appreciate your prompt response. Once more thank you!

    • AB-WBE (Customer)

      Dear Z Man:

      Now that I saw your personal Icon, I understand the Z nickname. Good for you!

      Anyway.......... Thank you very much for your help on a Friday afternoon. I hope I am not the one between you and your Friday happy-hour beer! I already ordered the converter. It should be here tomorrow. Once more my friend............THANK YOU VERY MUCH!

      Regards,

      Alfredo Blumenthal
      Business Development

      7855 NW 29th Street, Space 166 | Miami FL 33122 | (305) 756-4401 |
      www.wb-3d.com | #wb3d
      Expand Post
      • z28z34man (Customer)

        I have used this user name ever since I was 16. still have the Z28 i bought in highschool for a wapping $450 but the Z34 Monte Carlo is long gone.

         

        but anyway I am glad to help.

  • AB-WBE (Customer)

    Folks:

     

    I need help with this. I connected the CLICK PLUS Port 2 to the Nextion Display, using a RS-232 to TLL Converter as shown below:

    imageNothing is happening! I need any of you (for a fee) to help me out. Anyone out there?

    Thank you!

     

     

     

    Expand Post
    • 42Bio Cassette Process - Display-PLC Connection
  • z28z34man (Customer)

    VCC of the rs232 TTL converter needs to be hooked to 5V as well.

  • AB-WBE (Customer)

    Thank you! Let's try that! I will let you know in a few minutes! Once more, thank you very much!

  • AB-WBE (Customer)

    Dear Mr. Z28:

    Nope! :-(.

    Are you willing to tackle this? We will be glad to compensate you (or anybody else) to get this done. I got the feeling I am not using the correct configuration on the Nextion side.

    ANYONE OUT THERE??

    Thank you!

     

10 of 26