frank.raymond

MrPLC Member
  • Content count

    109
  • Joined

  • Last visited

Everything posted by frank.raymond

  1. CPU BUS UNIT ERROR

    I have been having intermittened CPU faults. Up until now the maintenance team has been resetting and going about their business. Apparently the problem is happening more frequently. This morning I hooked up to the PLC that holds the "pass/fail database" for product routing purposes. This is a CJ1M-CPU13 controller with two I/O modules and a CLK21 module. During this time the CPU did fault and I recorded the following message from the error log: 0x0200 CPU BUS UNIT ERROR 0. I checked the error code in the W393-E1-07 Sysmac CJ manual. I am now monitoring the following address: A402.07 and A417. As I understnad A402.07 tell me I have a fault and A417 will tell me the CLK module's unit address. I know I can cycle power to the processor and recover from the error however I need to track this puppy down and resolve the prolem. I'm sure I will be learning a lot about CLK during this repair. Now for my questions: Can data from the other nodes be generating this error? If so, how can I determine which node is creating the problem? I went into CX Integrator and tranferred the error logs. WIll this be a tool to determine where my problem lies? Any thoughts will be appreciated. Thank you in advance.
  2. 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
  3. 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
  4. 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.
  5. 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
  6. 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.
  7. 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 192.168.1.100 (outside the FB). Where did this come from??? Mr Nibroc, can you lend to this please?
  8. 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
  9. 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...
  10. 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 192.168.1.100 (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 192.168.1.100 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.
  11. 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
  12. 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...
  13. 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.
  14. 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
  15. 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!
  16. Word Swapping

    I am using a CJ controller. I have a DM reg that I need to swap the contents of the first eight bits to the second eight bits. For an examples: DM100 = 0000000010010010 would bceome 1001001000000000. DM100 = 1001100100101111 would bceome 0010111110011001. The results does not have to be in the same DM address. Thanks in advance for any help
  17. Word Swapping

    Thanks for the reply. I hate to ask but could you please show me the ladder logic.
  18. CPM2A Questions

    Problem resolved. Realized value was not going to change. I should have had the minuend and result as being the same DM addresses! I also did away with the DIFU and used the @SUB instead. Thanks
  19. CPM2A Questions

    I have attached a file with an inp to a DIFU and then to a SUB block. I put a value in the DM location for starters. I monitor the DIFU using the monitoring tool and I see the toggling however for some reason the DM value remains what I put in it. Help me, help me, help me... DIFU_SUB.cxp
  20. CPM2A Questions

    Monitor. I added a CLC instruction in front but still the value remains the same.
  21. Communicating to Two CJ's Using VB

    I have downloaded and modified the VB code FINS UDP for Ethernet. Modified as necessary and works fine. I want to expand to talking to two PLC's. Would I add another Winsock Control or just modify the .remote host address of the existing Winsock Control? Please note we are dealing with a novice here. Thanks for any help and/or direction.
  22. CPU BUS UNIT ERROR

    I have 17 nodes. What I didi see this afternoon was the production line had stopped without a fault light. I went ahead cycle the PLC that had the fault earlier in the morning and the line started back up. I started doing some 'troubleshooting 101' (ie reseat modules, tighten connections, etc) What I found so far is terminating switch on the module in question was switched to on (this PLC is not at either end of the network. and the PLC next to it which is at the end of the network at it's terminating switch off. I doubt if this will cause my problem however it is a start! I have decided on the next occurrence to change the CLK21 module
  23. Communicating to Two CJ's Using VB

    Problem has been resolved. I was using the same port number for both wInsock controls.
  24. DM Values

    I have two different mov blocks. In one I am moving #19 into D10 and the other #20 into D11. When I look at these locations in memory using Decimal I see a val of 25 and 32 respectively. I expected to see 31 and 32. What am I missing?
  25. DM Values

    Please ignore this post. I am in the process of wiping the egg from my face. The number before 20(hex) is not 19(hex) but 1F(hex).