-
Content count
701 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by PMCR
-
That is a tough one to answer. The AC input card should be isolated from the AC power supply. Is the power feeding the stacker 120 or 240 VAC? You refer to polarity, but only 120 would have polarity with reference to ground. If the machine was powered up when the wires were pulled out, it is possible that one touched the Ground screw on the power supply. If this happened, there may be more damage than you can see, including the backplane. The ground is routed through the backplane to all the IO slots.
-
The CPM2 series PLCs have a slave protocol built in called Host Link. A PC can send commands using this serial protocol to the PLC to read and write data. There is a lot of information on this forum regarding Host Link, and many Omron manuals have all the details for this protocol.
-
Strantor I am glad that you find the ActiveX tool useful. I would suggest re-ordering the adapters so that your USB dongle is the highest priority adapter in the list. PMCR
-
Strantor Thank you for letting me know about this. It is not something that I have seen before. Because that tool is written in VB6, it does not do the best job figuring out which Ethernet adapter to use if there are multiple open. What operating system is this on? Which adapter is set as the Primary adapter in Windows? You can tell which one is the primary by which one is at the top of the list in Control Panel / Network and Sharing Center / Change Adapter Settings / Advanced / Advanced Settings. If you don't see the menu bar to select Advanced, and you are running Win 7, click the Alt key once to bring up the menu.
-
Yes. CIF11 or CIF12 are typical, because most Modbus/RTU devices are RS485. Modbus/RTU is really media independent, and can run on RS232, RS422 or RS485. Modbus is just a protocol, where RS(Recommended Standard) 232, 422, or 485 is just an electrical wiring standard.
-
When using a 64 bit PC (Win 7 or 8),none of the PCI / ISA cards are supported. The Sysmac Gateway drivers are for 32 bit OS only.
-
File Name: CS CJ CP NSJ password set File Submitter: PMCR File Submitted: 1 Nov 2009 File Category: PLC Sample Code This is a Function Block to set a password in a PLC. It can be used to automatically set a password, so you don't have to do it from CX Programmer. Click here to download this file
-
Yes, you can do all of these things at the same time. The CJM2-CPU3x series supports EtherNet/IP and FINS simultaneously.
-
Agreed. Using individual bits has documentation advantages. You can use an enumerated data type to help shed light. I typically just use rung comments. Enumerations seem like extra work to me. I may try enumerated sequencers on my next NJ project, which will be mid August.
-
Communicating with AB MicroLogix 1100 through Ethernet/IP
PMCR replied to 250390's topic in CX-Supervisor
I don't think this will be possible. Rockwell uses the PCCC protocol (AB Specific) wrapped up in EtherNet/IP to talk to MicroLogix PLCs. CX Supervisor would not support this AB specific protocol wrapped up in EIP. -
I have a method that I have settled into after 20+ years of programming. I use the same method regardless of what type of Omron PLC (CP1L, CJ2M, CS1, NJ, etc) I am using. I define a register (or Tag in the case of the NJ) as a 'sequencer'. On startup, I move a value of &100 into the sequencer. That indicates that I am in a power up state, but nothing has happened yet. From there, I use comparison (=) instructions to check the current state, and MOV instructions to command the next state. I always start out incrementing my sequencer values by 20, so I can easily add steps in between. This makes debug very simple. If your machine gets 'stuck', you can look at the sequencer and see where it is stuck. It also makes jumping back to previous steps for 'retry' operations very simple. If I have subprocesses (robotic interface, etc), I spawn a subsequencer (different register) and use comparisons to determine when the subsequencer is finished.
-
To remove fluctuations in input values, there are two things you can do.1. Turn on mean value averaging in the setup of the analog input module through the module setup in the IO Table.2. Use the AVG PLC instruction.
-
Replacing External PID Controllers with Internal PID on CP1L
PMCR replied to BITS N BYTES's topic in Omron
The PIDAT function in the CP1L is a very good algorithm.It is heat or cool only, so if you need heat / cool, you need to use 2 loops.Just like many Omron functions, there are a series of memory locations that you allocate for PIDAT.Some are for the parameters, some are for background memory for the internal calculations.The setup is fairly simple, and the auto tuning typically works very well.Biggest thing to know is that you need to clear the background memory (c+10 to c+40, or something close to that) every time you start the loop, or it is starting with stale history data.You should not be afraid of using the PIDAT in CP1L, and we will help you with the details when you are ready. -
CX One 4.30 is the latest, but as Michael Walsh indicated, any CX One 4.xx version can be upgraded to the latest CX One 4 version (with proper software registration). It is not until there is a new major version (such as CX One 5.xx) that an 'upgrade' charge would apply.
-
After updating the firmware in the NB, did you recompile the project and then download using the serial cable?
-
Please try the attached procedure to recover the use of the USB port. NB Disabled USB Port.pdf The pinout for the serial cable is
-
And to help round out the answer to your question, the way that the IO maps into the DeviceNet Assemblies, which is what the DRM21 sees, is entirely defined by the IO manufacturer. The Beckhoff manual should show you how the data is mapped into the Assembly, and from there it is a direct byte by byte mapping into the PLC.
-
It sounds like you are doing it correctly. I don't know specifically what Kernel and Rootfs version brought in the Web interface. You may try to upgrade Kernel and Rootfs from NBManager. I am using Kernel version 1764 and Rootfs version 2022 and the Web interface works.
-
How to read the data using CP1W-CIF11 add-on card in CJ2M-CPU33
PMCR replied to Sahebanna's topic in Omron
No, this cannot be done. CJ2M only support FINS 2803 for Serial Gateway, which is CompoWay/F. 2804 is not supported by the CJ, other than on a CJ1W-SCUxx module. -
How to read the data using CP1W-CIF11 add-on card in CJ2M-CPU33
PMCR replied to Sahebanna's topic in Omron
The CJ1, CJ2, and CS1 support only 1 of the 4 protocols defined by Serial Gateway, specifically Compoway/F. The CP1L, CP1H, and CS or CJ SCU modules support all 4: Modbus/RTU, Modbus ASCII, Compoway/F, and Hostlink. In the CJ2, you could use RS232 mode to send Modbus commands, but you need to calculate the CRC16 checksum on your own, as well as handle the timeout. There are no instructions in the CJ PLCs that will calculate the CRC16 for you. The much simpler approach is the use of an SCU module, and the code provided in this forum. -
How to read the data using CP1W-CIF11 add-on card in CJ2M-CPU33
PMCR replied to Sahebanna's topic in Omron
The built in slot on a CJ2M does not support Modbus/RTU.To support Modbus as a Master or Slave requires an SCU module attached to the PLC.The Modbus Slave function is built in. There is code for Modbus Master here... http://forums.mrplc.com/index.php?app=downloads&showfile=867 -
The details on how the FINS Protocol works can be found at the link below. It is the Sysmac CS/CJ Series communication Commands manual, and it also applies to the CP1H / CP1L. http://forums.mrplc.com/index.php?app=downloads&showfile=620 I have added an overview in the attached txt file. FINS Tutorial.txt There is also a utility that I wrote that can help you understand the FINS protocol by letting you build your own FINS commands, and the software shows you the entire data packet. http://forums.mrplc.com/index.php?app=downloads&showfile=948
-
Even if you were to do USB, the protocol is still FINS. As there is not a control for .Net for Omron PLCs on USB, serial or Ethernet is much easier. Are you comfortable doing either serial or Ethernet comms from .Net? FINS seems daunting at first, but once you understand the 10 byte header and basic command structure, you can do almost anything. This forum could help answer questions about serial or Ethernet comms, but we want to make certain you still do the bulk of the work.