tashinz

MrPLC Member
  • Content count

    394
  • Joined

  • Last visited

Everything posted by tashinz

  1. SCU41 password protected

    A customer of ours returned a CJ1W-SCU41 and ofcourse he password protected the protocole. i don't need to upload the protocol i just need to make this SCU41 operational again with my new protocol. but it keeps asking for password. I can not replace the protocol. Is there any way to erase everything in SCU41 and program it again? Anyone? regards.
  2. USB Connection Issue

    Maybe my experience can add even more value to this discussion. I've just had a similar issue with CP1L-L and VMware workstation on Windows 10 operating system. When you try to connect to CP1L using USB cable (prior to that, USB device - Omron sysmac plc is connected to VM, in Device Manager you can see correctly installed Omron Sysmac PLC Device - inside virtual machine of course), it tries for several seconds, no blinking od PRPHL led on PLC, and message appears it cannot connect, check cables etc. When you repeat, retry, uninstall, install driver, remove USB, install again, unplug physical, plug, attach, plug cable into USB2.0 port, always the same: you cannot connect to CP1L. then I tried all the same but from Windows 7 VM, it worked. First it said it cannot connect but when you retry it's all good, online, upload, download etc. Then I got back to Windows 10 VM (all this is 64 bit), and checked USB Compatibility settings - it is USB3.0, but on Windows 7 is, of course, USB2.0. I've changed that on Windows 10 VM and it works, same way as in Windows 7: first it says it cannot connect, then retry and it works. Cable is attached to USB3.0 port, OK, tried it when cable is attached to USB2.0 on my laptop, it works, in both cases. Spent two days on this, alas. Hope this is of some help to anybody. Best regards  
  3. Modbus questions from PM

    Not that I was testing this, but I think you can use ETN21 module or even the built-in ethernet port (in CJ) for Modbus-TCP, only thing you should use is Modbus-TCP function block (there are several, modbus server, client e.g. MTCP_ETN_Server.cxf). I think you can find those on Omron France, they are written by this guy who made an excellent Multiway software. Not sure if CS1D supports function blocks though, older ones surely don't support it. regards
  4. Simulate Omron FINS PLC server

    Wouldn't know for sure, but I think there are two good Omron manuals, maybe there is a solution, one is called if i could remember, constructions of networks and other is construction of applications. I've found file names: W421_E1_02_CS1W_CJ1W_ETN21_Contrustion_of_Applications_Operation_Manual.pdf W420-E1-06_Cx1W-ETN21_Construction_of_Networks+Operation_Manual.pdf If needed I will try to find them on my network if you have no luck on the internet. regards
  5. Access CX-Simulator via Ethernet

    Is it possible to access CX-Simulator 1.6 from a remote computer via ethernet, from CX-Programmer 6.1? Any Ideas? Regards
  6. CP1H Communication HElp

    Yes, Milosh, we solved it by installing the latest version of CX-Server. So, when they deployed new Windows 10 PC, they first installed CX-One v3 I think, and then cx-supervisor 1.3 without checking CX-Server Runtime component (since cx-server is already installed with cx-one installation), as I advised. Then everything was as described above, these two FINS/TCP PLCs could not have been reached by CX-Supervisor. Then I've installed cx-server from installation folder of cx-one 4.4 (I think it is the latest cx-server 5.0), and problem was solved.   regards Zoran
  7. CP1H Communication HElp

    the same thing happened here also, customer has replaced old PC with Windows XP with the new one, with Windows 10 and just copied the runtime folder to the new PC (installed previously the old cx-supervisor 1.33 (1)). Everything works, except for just two, out of ten PLCs cx-supervisor is communicating with, we get the same message as stated above: cx-server manager error etc, and it cannot open these two PLCs. Here, we have ethernet. And in PLC config all plcs are configured with ethernet except these two which have ethernet (FINS/TCP) configured. We will try to change this and see what happens. Maybe this could have something with user rights also? Windows 10 is very restrictive with that, especially with system partition C, where cx-s runtime folder is located. regards
  8. Omron Eip

    Yes, exactly, probably it would be usefull if there is some manual like this: W421_E1_02_CS1W_CJ1W_ETN21_Construction_of_Applications.pdf for CIP, in this manual one can find sample program in C for creating a FINS message. Is there something similar for CIP?
  9. Omron Eip

    Have you checked this? https://www.myomron.com/index.php?article=1514&action=kb   regards  
  10. CX-Supervisor runtime host connection change

    Sure, you can use ethernet switch, connect laptop with scada, and PLC. You can also connect laptop to PLC directly with crossover or straight ethernet cable, since ETN21 recognizes it. The above problem we solved with shipping router, so this way we separate PLC network from Office network. This needs some simple configuring of router.   regards
  11. I have created SCADA application in CX-Supervisor 1.25 which connects to CJ1M-CPU11 with Ethernet unit ETN21 built in CPU unit. customer wanted to connect SCADA on laptop computer with PLC direct, without the ethernet switch. this works well. but now, they want an option to connect PLC and laptop computer to ethernet switch in the office. since PLC's ip address 172.25.0.200 is fixed, if their ethernet network is different this won't work. Now, there is a way to change PLC's ip address through SCADA runtime (right click, chose I/O table) and that changes are saved in the PLC. also there is a way to change host PLC settings from SCADA runtime (network configuration tool) but those changes can't be saved. with every new start of SCADA application host PLC settings are like those defined in development project. maybe someone know the solution, how can I change the host PLC communication settings from runtime project and save it within the runtime project? thanks in advance.
  12. What am I doing wrong?

    using '@' in the instruction executes instruction only once when input condistions true, until they are true again etc. So no need to use difu. I am not very familiar with TXD RXD instructions, but there is a preety comprehensive help (right click on instruction select Instruction Help) in cx-programmer, you shoud set up a port in settings, there is an example also. Tried to use built in tag P_ER after instruction and immediately set some bit e.g. W10.0 to remember P_ER since it is used by other instructions.
  13. What am I doing wrong?

    A392.05 Built-in RS-232C Port Send Ready Flag (No-protocol mode) ON when the built-in RS-232C port is able to send data in no-protocol mode. I think DIP switches here are related to RS422/485 conversion unit / option board (CP1W-CIF11/12). Probably you continously send data to rs232 port, that's why it is allways busy. try to send it once, on diffup condition, and do not send another one until you get port is ready flag A392.05.
  14. RTU Modbus CJ2M CPU34, SCU31-V1,

    Never used it, but I think this link can help you: https://www.myomron.com/index.php?action=kb&article=1243 As I check now on the run, there are some predefined function blocks for modbus  in cx-programmer, go to Help -> Omron FB Library reference, but it seems it's of no use, not sure. But on the above link you have samples, maybe it can help. regards
  15. Omron PMCR CX Protocol Help

    I would guess that whole response from your gauge is either hex or ascii (my bet is ascii) you you should frame your cx-protocol like that ($ for ascii & for HEX) or you should keep it only like variable (without $ or &) and put it something like W(DM100, 20), this 20 being 20 bytes, but i think it can be more just to be sure you are getting whole message. Then you analyze it in ladder and do required conversions in order to get usefull informations. regards
  16. download to NS through PLC again

    I think this problem was discussed before, but again, I don't know what the problem is. I have CJ1M-CPU13 with ETN21 unit (172.25.0.240 255.255.0.0 set in ETN21 eveything else is default) connected to my company's network (which is also 172.25.x.x of course). NS8 V2 system version 6.61 is connected via Serial A to RS232 port on the CPU unit on NT-LINK 1:N high speed. Now, i connect to PLC using CX-Programmer easily trough ehternet 172.25.0.240. When I want to download program to NS through PLC (set up parameters as Pass through PLC, PC-PLC-NS, Ethernet 172.25.0.240 and NT Link network address 1 unit 0 - going from up to down in the Comms method dialog). when press download it alerts downloading/uploading failed(0006). I tried with changing unit no of NS to 1, fins source and fins destination of ethernet connection with 1 to 1 node 240, 0 to 1 node 240 etc, no luck. then I went downstairs where the NS is and downloaded program with USB cable, NS communicates with PLC. any ides regarding this PC-PLC-NS?
  17. Pinouts for CS1W-CN118

    Sorry for entering discussion 8 years later, if I understood correctly, when CS1W-CN118 is connected to peripheral port of e.g. CJ1M-CPU11, there is +5V on pin 6 of RS232 side of CS1W-CN118? That also means that peripheral port provides 5V ? i cannot test this since I don't have any of theese equipment at the moment but  I need to respond to a request for offer, thank you very much.
  18. Hi PMCR,

    i am reading a thread where you've posted RunMonitorModeDetection.cxp program with solution of how to read internal address of CP1L. We need that to read and write 282 and 283 (Search compensation value of Pulse output 1). Can you tell me where to download this cxp file?

     

    thank you very much

    Zoran

  19. If you use wizard to call a subroutine (i.e. in script editor from Control menu select CALL) it will allow to call vbscript subroutine from cx-supervisors script, but it will not allow to call cx-supervisor subroutine from vbscript. So I guess it in not possible. regards
  20. Connect NS5 To a Load Cell Controller

    Probably is the good idea to obtain one CJ1W-SCU41 module, it has one RS232 and one RS485. I suppose this Load Cell Controller has RS485? then you use cx-protocol to make a communication between cj1 and load cell controller. I suppose it is possible to use send and recieve comands from ladder and use built in com port in CJ1 to read data from load cell controller (or it is already used for comm with NS5? then SCU41is a must).
  21. you could maybe use audit trail function. it can log into ms sql server which is free nowdays, and also to ms access. Anyway, you can log all alarms into audit trail database or just selected (Project -> Runtime settings -> Audit trail settings). this way you get nice database with table Alarms which you can access from some client app. I am not familiar with this ActiveX you've mentioned, but you should try. regards
  22. CS1G-H CPU42 with CS1W-PRM21 problem

    this is excellent, this just solve my problem which was similar to yours. thanx omron turkey!
  23. INVERTED BYTES of Text Points in CX-Supervisor

    I didn't deal with NJ controller yet, only with C-Series (CJ1, CJ2, CS1) plc, and with there is no this kind of problem. Looks like they change it in NJ...Anyway, there is no function in CX-Supervisor as far as I know but in this case I would make a subroutine which does this rotating characters. there are scripts command you can use for this, like Mid, Left and Right, but I think the most easiest way is to do this in controller. regards
  24. TPO set up parameters

    basically the output from PID (MV) should be of the same resolution as input in TPO i.e. if MV is 12bit the input in TPO should be 12 bit. to make it simple, the output from PID of 2000 should make TPO instruction hold its output 50% of control period (this time is set in parameters of TPO, C+1), and other 50% of the time it is 0. check out the help of the TPO instruction, there is a few parameters to be set. regards
  25. Charts

    if you use chart from toolbar then you should switch to data logger. I think I saw somewhere in manual that chart object is obsolete and using data logger is recommended. Now, that is a separate app and it cannot be placed to the page, so I am curious if someone have some ActiveX to deal with this. regards