MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About frank.raymond

  • Rank
    Hot Wire

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Location Alabama
  • Country United States

Recent Profile Visitors

2288 profile views
  1. Hi Frank:

                        Cx  Protocol, If I have a Received string message  using CX Protocol in this format


    & is the start code

    CR , carriage Returen (No Line Feed)

    T is to indicate for First Part of message---> T123456

    P is to indicate for Second Part of message  ---.>P123456

    there are 6 bytes of data per Parts

    XX is the CheckSum

    How do I breakup the string in CX Protocol to Read 2 parts of message and convert to binary or just leave as string and say send to D1000 and D1050?







  2. SCU21

    Yair, This is an intersting approach. I will try this. Is there a way to determine if data is in the buffer before the end character is received? thanx, frank
  3. SCU21

    Thanks to both for the info. I am using CJ1M's for these app's. I just finished looking at the file that Bit 'n Bytes sent. I will be connecting to my development box and start learning a bit (no pun intended) about PMCR's.
  4. SCU21

    You sound overly skeptical! Afraid/unsure of how to use PMCR's? Don't be, we are here to help. More so unsure. Since you're offering support, I'll take advantage of your hospitality. I know that the data I am looking for comes in two seperate records. The sequence is as follows from the PLC perspective: 1) Xmits 123456<CR/LF> 2) Rcvs 1st record of 7 alpha/numeric characters with a <CR/LF> 3) Xmits a response of XXXXXX,P or XXXXXXX,F 3) Rcvs 2nd record of 255 + charcters. The data that I want is at the beginning of the record, begings with a capital T, has a length of 13 bytes consisting of both alpha/numeric characters, and ends with a <CR/LF>. The remaining record exceeds 255 bytes and is also alpha/numeric characters. Approximately 60 seconds later the process begins again. Protocol of 9600,N,8,1. Need any more info please let me know. I'm ready to learn... Thanks, frank
  5. SCU21

    I believe I can have a start code added however I would prefer to keep it no protocol.I don't disagree about the powers of PMCR.
  6. SCU21

    I will have data coming to a port on a SCU21 that is more than 255 bytes which I have no control over. The data I need is in the first 10 bytes or so and the terminating characters are <CRLF> hence I have the port ending character set the same. My question is after I receive the data that I need the data will continue to come and eventually give me what I believe will be an overrun or overflow. Assuming the over something does occurs how can I clear this useless data from the buffer to prepare for the next cycle of data that will again be in the first 10 bytes or so. Can I disable the buffer after I receive the useless data? Can I reset only the port to clear the buffer? Do I have to reset the module (I am trying to avoid this since I will have a barcode scanner connected to the other port that may be in use while reseting the module thus lost data). Any thoughts? I'm using No Protocol. Thanks in advance
  7. ETN Function Blocks

    Thank you Jay. After a bit of polishing from my side, the plc and vb app are communicating. The VB app is an excellent tool. There are not enough emoticons that can convey my appreciation but here goes, to the 'da man... frank
  8. ETN Function Blocks

    I see the errors of my way. Like you and LostControl said, ignore the internal logic of the FB. All I had to do was click of the value outside the FB to edit. I am now opening the FB however I am getting a Busy & NG. I can see the SD & RD lights flashing about every 3 seconds which is per the 'error' timer (recalling from memory). I will figure this out. Thanks to all for the patience...
  9. ETN Function Blocks

    Thanks for the response. I reckon I didn't make myself clear.... "When looking at the internal elements I see the initial values set at 0 and in the ladder that makes the FB I see DestIPAddress in a compare block (>254) and then in a MOVD block as the source word. However in the ladder logic I see the values at (outside the FB). Where did this come from???" I believe these values are set internally to the FB however when I look at the internal logic I see that they are set to zero for the DestIPAddresses. What I am trying to understand is how the ladder reflects an IP of when the internal logic of the FB is set to zero. If I understand these small insignificant pieces of obscure data than I will understand the FB.
  10. Same Person

    Not trying to pull wool over anyones eyes. I have two accounts as frank.raymond and papa francisco. One was used for work, i.e frank.raymond and one for home. Would prefer to merge both into papa francisco however I do not recall my password for papa. When I try to retrieve password I am told that papa francisco does not have an account or something to that affect or my misunderstanding. Any help will be appreciated. papa francisco aka frank.raymond
  11. ETN Function Blocks

    In regards to the file Modbus_TCP_FB.cxp in the download section, Does the ETN module need to be configured in the IO section? Where can I find more info on the FB's for opening, sending, receiving, closing? I downloaded a manual from the Omron website that has the same info as reference library. As an example I am struggling with the DestIPAddress1, address2, etc. When looking at the internal elements I see the initial values set at 0 and in the ladder that makes the FB I see DestIPAddress in a compare block (>254) and then in a MOVD block as the source word. However in the ladder logic I see the values at (outside the FB). Where did this come from??? Mr Nibroc, can you lend to this please?
  12. AWT and ARL

    I have a 1 for the length. I also tried using 0 as I was under the impression this would send the entire ST9:0 word. I currently has a T in ST9:0. I will attempt to send a program listing.
  13. AWT and ARL

    I am attempting to send a "T" to a barcode scanner. For educational purposes I was thinking that I could constantly toggle the AWT instruction
  14. AWT and ARL

    I am trying to use just a two line program for the AWT. I have a self zeroing timer that is triggering the AWT instruction. I am using R6:0 for control and ST9:0 for the string word with 0 as the length. I never see the done bit turn on. I checked my ch0 settings for user. I have a breakout box connected and I never see the RS232 light on the processor blink. Help Please!
  15. AWT and ARL

    I am in dire need of some sample code for using the AWT and ARL instructions on ch0 on a SLC504. I have tried and tried and have not been successful However I have been successful using AWA however not the AWT. Just simple code where I can echo back via pins 2 & 3. From this I will expand the rest of my code... Thanks in advance. BTW... I have searched the forum and was not successful in finding very simple code. Even if someone can direct me to a manual that would be helpful... Desperate as you can tell...