indepthmarine

MrPLC Member
  • Content count

    67
  • Joined

  • Last visited

Everything posted by indepthmarine

  1. CF card write

    It required the " \" before the file name, just like it says in the book. I added 5C41 for "\A" prior to the date for the filename, and it works fine now. Thanks again for the tips.
  2. CF card write

    I am trying to write to the Omron compact flash card in the CJ1 CPU13 with no luck. I suspect I am making a common error. I have read the previous posts here, downloaded Sleepy Wombat's example, changed it around to avoid my already used DM areas, and no luck I recently tried CARD_410 function block. I had #0082 for area ID, but when I changed it to P_DM that seemed to make a magical change that it recognized. Perhaps there are others I am not addressing correctly. file name is set to #444154410000 (DATA) directory name is #5245434F52445300 (RECORDS) &400 AREA NUMBER &200 NUMBER &0 OVERWRITE (THERE IS NO CURRENT FILE CALLED DATA THOUGH) on FB_BUSY I have inserted parameter W11.00 which is in parallel with W6.05 (upward diff.) as the execute condition. I put in a test rung with NO contact w6.05 to output w11.05 with holding contact w11.05. There is a NC contact FB_OK to break the hold, but it does not disengage w11.05. (not surprising since I do not see any files on the CF card.) Is there anything else obvious I am overlooking? Thanks yet again.
  3. CF card write

    Yes, I have the same config, as far as I can tell. My timers operate in BINARY, could this be a problem? Also, FB_BUSY is listed...is that already defined, and I call it up by name, or do I have to define it as a parameter, like W11.01 or something similar? "when bit A goes ON, the 100 words from D1000 to D1099 are copied to W400 to W499." -from pdf In the example, I do not see where W400 to W499 is specified. I understand the D1000 to D1099, but see nothing that refers to W area.
  4. Does anybody know of a decent quality scale (or balance) that is available with an analog output? Prefer 4-20mA, voltage is OK too. 0 to 2000 grams or 0 to 4000 grams accuracy to .1 of a gram IP68 rating if possible, live (sedated) fish will be weighed so it will get wet. I am currently using one with a serial output, (OHAUS SCOUT PRO) which is OK, but it is not anywhere near water resistant enough to last. Thanks
  5. Electrical installation question

    Not sure about US national electrical code, but Canadian Electrical Code (which closely mirrors US National Electrical Code) states that you can not mix voltages like this in the same conduit. You should even have a barrier in the enclosure(which is not really possible if the PLC is 120VAC power and the IO module is 24VDC) Best bet is to separate the 120VAC and the 24VDC in different conduits, and label each accordingly. The ControlNet is low voltage I assume, so can legally go into the 24VDC conduit. More work now, but you will be confident that nobody in the future will easily mix voltages on you and blow modules.
  6. NS12 V8.10 update

    I tried posting the software here, but do not have access. Go to yahoo.com and sign up for a free email, they accept 10Mb files for free. They don't delete your old emails anymore, so it is a handy online hard drive. Once you are signed up, let me know what your yahoo email is and I will email you the files. I will also try to email the files to an administrator here so they can post. Jose, Wilson, whoever else at Omron Canada, they are all great. Their service is really great, I know I have used them a lot.
  7. NS12 V8.10 update

    Call Wilson at Omron Canada. He emailed the files to me. He is well familiar with it, and has saved me countless hours of wheel spinning. Or post your email address and I can send you the files. Good luck!
  8. NS Web interface

    I have NS12-TS01B-V2-HB Yes, High Bright version NS system version 8.1 trying to connect with NS Web, I have downloaded web interface manual from MR PLC, thank you. Using Internet Explorer V7 IP address 168.192.0.1 I view the following: Internet Explorer cannot display the webpage Most likely causes: You are not connected to the Internet. The website is encountering problems. There might be a typing error in the address. NS language is set to English Ethernet is enabled. FTP/WEB is enabled. Network 1 Node 1 is selected. any suggestions? Thanks again
  9. NS Web interface

    Omron Canada came through as usual. Thanks everyone for suggestions. Turns out it was a (my) simple mistake...subnet mask was 255.255.0.0 on NS and 255.255.255.0 on laptop. 5 minutes on Omron phone support had it working fine. The High Bright screen is compatible.
  10. ModBus mismatch?

    I am trying to read 2 registers from a ModBus sensor. I have a CJ1M CPU13 with SCU41-V1, using port 1 I am using Protocol Macro and believe my settings are correct. I am trying to read registers from a single sensor (LUMI4 dissolved Oxygen and temperature probe). I have connected to it using DAQFactory QuickMod Modbus Scanner software via rs232 to 485 converter, but no luck with PLC to sensor. Originally I tried to read 9 registers, but then they told me it could only send 4 registers at a time, so I am now doing 2 separate PMCR commands, timed 10 seconds apart, each asking for 2 words. I only need dissolved Oxygen, and temperature, so I dont really care about any other registers. It seems that the sensor is "modified Modbus", not pure ModBus, but then again, ModBus is new to me. sent from PLC 01 03 00 02 00 02 95 CB heard no response 01 03 00 00 00 02 C4 0B heard no response. On a continuous trace through CX Protocol, I see the Tx and the same Rx come back (echo) but nothing from the sensor itself. MySD1 and RD1 LED's on the SCU41-V1 do blink when the transmission goes. It is a 2 wire system. I have the switch in the 2 wire position, and have tried with and without termination resistance switch. Also tried 01 03 00 00 00 02 C4 0B 01 03 00 01 00 02 95 CB 01 03 00 02 00 02 65 CB 01 03 00 03 00 02 34 0B 01 03 00 04 00 02 85 CA 01 03 00 31 00 02 95 C4 01 03 00 0C 00 02 04 08 no response to any queries from PLC. sent/received from DAQFactory software: (Get O2 in ppm) TX: \001\003\000\049\000\002\149\196 Rx: \001\003\004\114\192\064\212\208\232 (DECIMAL monitor mode) TX: \x01\x03\x001\x00\x02\x95\xC4 Rx: \x01\x03\x04_sA\x15\xE8c TX: \x01\x03\x001\x00\x02\x95\xC4 Rx: \x01\x03\x04exA\x15\x95 (HEX monitor mode, although some non Hex characters do appear, and that just confuses me) (get Temp in degree C) TX: \x01\x03\x00)\x00\x02\x15\xC3 Rx: \x01\x03\x04;rAs&\xB9 TX: \x01\x03\x00)\x00\x02\x15\xC3 Rx: \x01\x03\x04\xC1EArfo TX: \x01\x03\x00)\x00\x02\x15\xC3 Rx: \x01\x03\x04\xC1EArfo TX: \x01\x03\x00)\x00\x02\x15\xC3 Rx: \x01\x03\x04z\x02Ar\xF2\x9E (15.172 on display) TX: \001\003\000\041\000\002\021\195 Rx: \001\003\004\194\213\065\113\038\007 TX: \001\003\000\041\000\002\021\195 Rx: \001\003\004\082\232\065\113\154\203 TX: \001\003\000\041\000\002\021\195 Rx: \001\003\004\082\232\065\113\154\203 (15.083 on display) my settings are below. Port1: Port settings User settings Port1: Serial communications mode Protocol macro Port1: Data length 8 bits Port1: Stop bits 1 bit Port1: Parity Even Port1: Baud rate Default(9600bps) Port1: Send delay Default (0 ms) Port1: Send delay (user-specified) 0 Port1: CTS control No Port1: 1:N/1:1 protocol setting 1:1 protocol Port1: Host Link compatible device mode Default(Mode A) Port1: Host Link unit number 0 Port1: No-Protocol Start code 0 Port1: No-Protocol End code 0 Port1: No-Protocol Start code inclusion setting None Port1: No-Protocol End code inclusion setting None Port1: No-Protocol Number of receive data bytes 0 Port1: 1:N NT Links maximum unit number 2 Port1: Serial Gateway Response timeout monitoring time 0 Port1: Serial Gateway send start timeout monitoring time 0 Port1: Protocol macro Transmission method Half-duplex Port1: Clearing/holding the contents of the reception buffer in fullduplex mode Clear Port1: Link word specification data exchange timing On-request I/O refreshing Port1: Maximum number of bytes in protocol macro send/receive data 200 Port1: Coils Area Default(CIO) Port1: Input Registers Area Default(CIO) Port1: Holding Registers Area Default(DM) Port1: MODBUS-RTU Slave Address 1 The 1:1 protocol is the latest attempt. It was also unsuccesful in 1:N protocol parity, baud rate, etc, does match the sensor. Sensor address is told to me to be 0, 1, or 255 I have usually tried to use 1 ON the DB9 connector I am using pin 1 data negative pin 2 data positive register numbers are given as: 40050 (with a note that you may have to subtract 40001) and 40042, so Decimal 49 and 41 I have tried calling for register numbers #0031 and #002D I have also tried #0049 and #0041, thinking that maybe their minimal literature was incorrect. My next step is sending this sensor back and getting an analog output model from another supplier instead. I do have 2 other RS232 sensors working fine through an SCU21-V1, and I believe I have the setup correct. Is there an alternate CRC method that might be the error? "01 03 00 01 00 02 95 CB" from the PLC does not work TX: "\x01\x03\x001\x00\x02\x95\xC4" works from DAQFactory QuickMod ModBus Scanner works. I dont know what to make of the \x in the string. Is my 95 CB error checking incorrect? Why do they have 95 C4 instead? Thanks again for any tips.
  11. NS Web interface

    Good Point. I thought that must be it...then tried a crossover cable, still no connection. I have tried straight cable direct, and through a (home) router. I have tried the crossover cable direct. I will try another laptop in the morning...
  12. ModBus mismatch?

    It is responding now! But my FIX(450) command yields only 0000 in the new D (or W) areas that I try to convert the floating point response. Maybe it will make sense in the morning. 000025-Tx:01 03 00 2A 00 02 E5 C3 000026-Rx:01 03 04 41 AD 00 00 7F EE 000033-Tx:01 03 00 32 00 02 65 C4 000034-Rx:01 03 04 41 0A FF FF CF BD
  13. ModBus mismatch?

    Great, now I am thinking about food instead of Modbus... No, really, thanks for the tips. Port control is set to Modem, and CRC16 is checked as well. Will try ModScan and Portmon next. Thanks for the help.
  14. NS Web interface

    Whoops. I meant 192.168.0.1 I even went back and tried it again to make sure I did not make the same mistake when trying to connect. Still no luck. I entered the screen system menu, and changed the IP address to 192.168.0.2 and tried that. Same response. Perhaps it is a high bright firmware issue? I believe I used different firmware than the normal NS12 when updating to V8.10, that I got from the local Omron Rep. I will call him Monday morning to see if this firmware has the NS Web capability. Thanks Tim
  15. PC Link Connection

    Did you buy the MOXA units from B&B electronics? If so, phone their tech support; They are good. The only other thing I can say is go over each pin to pin connection...if it worked with the cable, the MOXA link should be transparent. Perhaps a null modem cable mistakenly made it as the link between 1 PLC and 1 MOXA unit. Good Luck
  16. first cycle

    I am using approximately 10 words for each of 5 serial devices, using RXDU, no protocol mode. I am putting the result into the D area, which retains memory from last shutdown. I am looking for a better way to enter #0 into all the fields on the first scan. So far, I have thought of using W area instead of D area, then it is automatic, but for some reason I want to use the D area...I will think about this a bit more. Perhaps there is no good reason to use the D area. Secondly, I might use MOV #0 D100, along with MOV #0 D101 and so on, up to D150, but this seems like a lot of unnecessary typing. Or am I just being lazy at this point? What do other people do?
  17. first cycle

    That is exactly what I was looking for. Thanks BobB. (in the meantime, I typed in the 50 lines. I thought I was spending more time trying to get out of work than simply doing the work)
  18. NS12 V8.10 update

    RESOLVED!!! It appears as though WinRAR or WinZip 12.0 was the cause of the problem. I am certain the SanDisk CF card would have worked...it behaved exactly like the pricier Omron card, but now I have the Omron card for future use My computer was mis-associating the system files with other programs installed on my multi purpose laptop. Besides the unzipping errors, it said that the OS9000bt.dat and OSkboot.dat files were "Surfer" files, similar to excel, but used for 3D mapping. I do not know if it changed the files at all, but they did not work in the NS screen. BEWARE>>>try to keep a PLC interface machine as just a PLC interface machine, not as an every day, every use computer. Please learn from my mistake. FYI I downloaded the files again on a different laptop, unzipped the main folders with the standard Windows XP unzip default program, placed Bank1, Bank2, OS9 folders and OS9Kboot file along with OS9000bt file onto the CF card and it worked just like it said it would. The NS12-TS01B-V2-HB does in fact use a different version of the recover/update program. It does not require a BANK3 folder. I will try to post it here from the unaffected (or is that uninfected) laptop. Thank you to everyone who had suggestions.
  19. NS12 V8.10 update

    Thanks PDL, Local Omron guy just told me there are some .gz files that my computer (and me) is mistakenly association with WinZip. Will try once more leaving them as is, but I am pretty certain I have done several attempts already. Omron is also testing on an HB version screen as well. Hopefully will be resolved soon.
  20. NS12 V8.10 update

    No luck with the CD that was sent. Screen still reacts the same way... The CD was likely the same as you have posted here...by Igor Pavlov With CF card installed and all dip switches off, run light solid orange for several seconds, then solid green for several seconds, to blinking green with audible alarm. With no CF card, seems to start normally, but stops at "loading system fonts" and goes into audible alarm with blinking green light. The CD is supposedly self extracting. Some files that are several folders deep appear to still be zipped when viewed on the computer. Is this normal, or does each file in each folder have to be unzipped individually? I have tried both ways, with the same results listed above. I have not heard back about compatibility of V8.1 with the HB version, but have asked the question to them. regards Tim
  21. NS12 V8.10 update

    Thanks for looking into it guys! Yes, the root directory looks exactly like your example. On the first download attempt, it seems I still had zipped files hidden in the folders. This resulted in the alarm condition. I now have fully unzipped folders, but cannot get past the alarm condition. Should I remove the battery for 10 minutes, press and hold "reset" for 30 seconds, or any thing of the sort before another attempt? Or would this be a bad idea? The Omron rep is mailing me a CF card loaded with a working set of folders...but I am pretty sure I have the same thing here already. At this point I think I can only hope my earlier upgrade attempt did not damage anything.
  22. NS12 V8.10 update

    The Omron brand 128MB CF card showed up today, but with the same results as Sandisk. (and it cost $255 after shipping express) The generic 2GB cards are $40 in local shops. The NS12 will not take the new system version. The recover/update program downloaded from http://forums.mrplc.com/index.php?autocom=downloads&showfile=829 did not work for me. I unzipped it into the root directory of G: (Toshiba made Omron CF card) in Winzip first, then tried WinRar after unsuccesful attempts at updating firmware in the NS12. When turning on the NS12, it freezes at "loading system fonts" and goes into alarm. More information is listed above this posting...Even the original V7.0 or 7.1 is now gone. Next step is ship the NS12 back to Omron and put the project on hold, or take a day off, and a return ferry trip to the mainland to visit Omron. Either way is expensive. Are there any other ideas? Thanks
  23. CX-Designer improvement requests

    I mistakenlyposted this request in "Auto Update discussion" I would like to see the ability to update/recover NS version via USB cable or Ethernet cable instead of Omron CF card. Am currently having issues with SanDisk CF card, (or possibly NS hardware, but most likely the card)
  24. NS12 V8.10 update

    [ See CX-Designer start menu manual folder, I think you need to look in the setup manual troubleshooting section, it helps you identify your error with screen display and LED status colors. Try to format the CF card in a digital camera if available.
  25. NS12 V8.10 update

    The CF card is formatted in a CJ1M CPU13 to the FAT standard. it is 128Mb, so I confirmed it is an appropriate size. I used WINZIP (paid version) to unzip the system 8.10 posted on this forum. unplugging all data cables from the NS12, inserting the CF card, and turning power on, (with all dip switches off) the run light goes orange for a few seconds, then green for a few seconds, then the alarm sounds repeatedly until I turn power off. Touching corners does nothing, even pressing hard. Tried all combinations of corners, with a few seconds in between attempts. Removing the CF card and powering on, the orange run light goes on, run light turns green screen goes blue, prints "Welcome to NS Series!" Version 3.14 Hardware Devices: OK Now loading System Programs... Now loading Fonts... at which point it hangs up, and goes into alarm (intermittent beep, with green run light blinking) Now looking for suggestions on here while waiting for local Omron rep on phone. Thanks for any tips.