Announcement

Collapse
No announcement yet.

Simple Recieve

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts


  • Simple Recieve

    Is there a way to use port 2 to just receive a few bytes without having to use the fancy RX or WX commands which are intended to be used on a master/slave type network. I just need a command to read the receive buffer and write it to V memory.


  • #2
    I am using a DL0-5

    Comment



    • #3
      What type of communication are you receiving? For ASCII type information you'll need at least a DL06. It can be a Modbus slave if the sending device can use that protocol.
      Last edited by bcarlton; 04-14-2012, 04:10 PM.
      thePLCguy

      Bernie

      Comment



      • #4
        I was just using the 'print' command to display counts on a LED display. I want to be able to send a character such as "R" to the DL-05 to reset the count. I will probably end up getting a modbus screen anyway.

        Comment



        • #5
          Contact tech Dept..

          I just looked at an OLD program that I did a few years ago, and I was reading in a Scann from the Bar Code reader on an '05.. the read came in the Port Two, and went directly to V Mem of my Choice.. I had to look at the Mem all the time to make sure I did not miss anything..

          I had to contact Tech when I did this program, as the Port Config for the '05 was not published data..

          The Program Remenants I have do not have Documentation on them.. just RLL.

          I was also able to transplant this Program into a 450 CPU, when the I/O outgrew the '05


          Cap

          Comment



          • #6
            OK, thanks, then there is some hope.

            I did call tech support and when they hear ASCII and DL-05 they don't like it and say it is not possible.

            I did find some data that says the recieved characters go to the vmemory pointed to by the contents of V7650 but when I look there using data view and send some charaters I never see the characters I sent go into vmemory. There must be another step or two.

            Never say never

            Comment



            • #7
              Send me a PM with your E-Mail Adress.. I have a 3 Meg PDF file that Exceedes the 1Meg limit on this forum.. I'll send you the PDF's of the Sheets I recieved back in '98 about this..

              Cap

              Comment



              • #8
                I had those instructions also but since the 05 doesn't support the PRINT command I never looked at it for ASCII capability.

                The data section pointed to by V7650 start with one word for status, the next word indicates the number of characters. The next word is the start of the actual data packed two ASCII characters per word.

                As it notes, set up everything, including the pointer in V7650, before triggering that 'accept' command. I think if anything's out of permissible settings it rejects everything.
                thePLCguy

                Bernie

                Comment



                • #9
                  It works great now. What bcarlton said was written on page 42 of what Cap sent, and was my problem.

                  Thanks to the both of you!!!

                  Comment



                  • #10
                    YUP..

                    Never throw NOTHIN away..

                    Glad you got it workin..

                    Cap

                    Comment



                    • #11
                      Just letting bcarlton know the 05 does support the print command. It works well and is easy to use. It's under the instruction collection called messaging. I can now send and receive characters and data bytes.

                      Comment



                      • #12
                        I see what you mean. I was looking under the ASCII command group.
                        thePLCguy

                        Bernie

                        Comment

                        Working...
                        X