MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by gclshortt


    http://plctalk.net/qanda/showthread.php?t=35674 The above thread is for Siemens but you can apply the formula. Hope this helps you out. Regards, Garry
  2. All in one: PC, PLC and HMI

    The Horner PLC is an All In One controller. PLC, HMI, Logging. It has several different options for communications. http://accautomation.ca/series/horner-xl4-series/ Here is an article on the differences between a PLC and Computer control.  https://www.controleng.com/single-article/six-key-differences-between-plcs-and-computers/aead1d8b9cba5755f8f24dbc9a031e52.html Regards, Garry
  3. C-mode hostlink library for NJ/NX1P or CP1L

    I do not think that you will find a C-mode hostlink library for the NJ/NX. Here is the manual that gives a good overview of both protocols and reasons for each one. https://www.myomron.com/downloads/1.Manuals/PLCs/CPUs/W342-E1-14%20CS_CJ_CP+HostLink%20FINS%20ReferenceManual.pdf " C-mode commands are specialized Host Link communications commands. They are issued by a host computer and sent to a CPU Unit. The devices that can be connected for serial communications are the CPU Unit, a Serial Communications Unit, and a Serial Communications Board." "  FINS commands are message service communications commands. They do not depend on a particular transmission path. They can be used for communications on various networks (Controller Link, Ethernet, etc.) and for serial communications (Host Link). They can be issued from a CPU Unit, Special I/O Unit, or host computer, and they can also be sent to any of these. The specific commands that can be sent depend on the destination. " I'm not sure of your application, but what about using AdvancedHMI for communication.  The Omron drivers are already in this free product. https://sourceforge.net/projects/advancedhmi/ Just a thought. Regards, Garry
  4. Communication

    http://www.plctalk.net/qanda/showthread.php?t=80482 http://www.plctalk.net/qanda/showthread.php?t=39185 http://www.plctalk.net/qanda/showthread.php?t=52609 http://www.plctalk.net/qanda/showthread.php?t=96125 The above links may help you out. Regards, Garry
  5. A online IP Subnet Calculator can come in handy: https://www.calculator.net/ip-subnet-calculator.html   Regards, Garry
  6. Q03 Modbus to Nanodac

    https://www.eurotherm.com/index.php?route=product/download/get&download_id=137 7 MODBUS TCP SLAVE COMMS  7.2.1 Function Codes  - MODBUS function codes 3, 4, 6, 8 and 16, defined in Figure 160, are supported and are fully described in Section 7.3, below. Function codes 5, and 2 are not supported. What is the actual information you are writing to the controller? If it is more than 16 bits long then use the function code 16. Regards, Garry
  7. High speed counters ML1100

    http://www.plctalk.net/qanda/showthread.php?t=26805 There is only one HSC on the ML 1100. ML 1500 has two. The above thread points this out. Regards, Garry
  8. Q03 Modbus to Nanodac

    Are you using Function code 16 -  Write multiple output registers? Sometimes if a parameter uses 32 bits you must use write using function code 16. Is this the same type of data that you are reading? Regards, Garry
  9. CQM1H-CPU51 Arduino Modbus RTU

    http://www.edata.omron.com.au/eData/PLCs/CQM/W228-E1-08.pdf As Michael has said, you need the PLC in monitor mode. This is done in the CQM1 in the setup area.  1-1-2 CQM1 PC Setup Settings  - In the above manual will show that the number #0201 in DM6000 will ensure that the PLC will always be in monitor mode. Regards, Garry
  10. CQM1H-CPU51 Arduino Modbus RTU

    This link will take you to sample programs and explanations of the Modbus RTU protocol by Omron. https://www.myomron.com/index.php?action=kb&article=1243 It sounds like you are using a sample program for a Modbus RTU Master, so all of the communications will be initiated by the PLC.  This means that you need to have the arduino set up to be a Modbus RTU Slave. I would start to try to communicate to the arduino using the PC modbus master software to see if you can get communications. Here are a couple of links explaining Modbus: https://www.rtaautomation.com/technologies/modbus-rtu/ http://www.simplymodbus.ca/FAQ.htm Omron Modbus Map for Slaves http://www.tri-plc.com/appnotes/modbus-map.pdf The other way to get the information is to use the serial host link communication method. This will utilize the RS232 port on the PLC. http://etowyzagagexod.tk/547903db83.html https://forum.arduino.cc/index.php?topic=147526.0 Regards, Garry  
  11. Hi Wal, Port502 looks to be the setup for Modbus TCP.  This would be the protocol that I would use since this is a Modicon product. (Schneider Electric) Here are some links that help to describe the modbus protocol: https://www.rtaautomation.com/technologies/modbus-tcpip/ http://www.simplymodbus.ca/TCP.htm Ethernet IP (EIP) would be my next choice. Regards, Garry
  12. IFix 5.5 Issues

    http://www.plctalk.net/qanda/showthread.php?t=86891 The above thread may help you out.| Sounds more like a networking problem and not an IFix 5.5 problem. Regards, Garry
  13. I have not used your setup before but... CommHead - Communication Heading Currently it looks like you are showing the Security tab. Move to the IPConf (IP Configuration) tab to set the configuration. The following links may help you out. http://www.plctalk.net/qanda/showthread.php?t=92751 http://www.plctalk.net/qanda/showthread.php?t=82781   Regards, Garry
  14. Concept conversion

    http://www.plctalk.net/qanda/showthread.php?t=54624 http://www.plctalk.net/qanda/showthread.php?t=96202 The above threads may help you out. Regards, Garry
  15. The NX1P2 PLC manuals indicate that the serial port must use FINS commands. The program frame would be similar to the C Mode but the actual commands will be different. See the following manual. https://www.myomron.com/downloads/1.Manuals/PLCs/CPUs/W342-E1-14%20CS_CJ_CP+HostLink%20FINS%20ReferenceManual.pdf Regards. Garry
  16. Here is a link to a thread on a recent post showing how to communicate serially to an Omron PLC using VB.Net. This uses the Omron Host Link serial protocols. (C-Mode Commands) It will read 10 DM registers and display them on the form.   http://accautomation.ca/implementing-the-omron-host-link-protocol-vb-net/ Here is the source program that can be downloaded. Other links: VB6 Program: http://accautomation.ca/how-to-implement-the-omron-plc-host-link-protocol/ VBA Program: http://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/ Regards, Garry www.accautomation.ca
  17. Hi Linus, The Omron NX1P2 PLC can use the same method to communicate through the serial interface. http://www.ia.omron.com/products/family/3650/specification.html The serial ports will support the following protocols: Supported protocol Host link, Modbus-RTU master, and no-protocol Regards, Garry
  18. Mathematical equation in memory

    The result of the multiplication is placed in W95 and W96. The value of 8500 will be in the second word (W96) which is the most significant word. Regards, Garry
  19. Mathematical equation in memory

    Use a  BCD MULTIPLY: *B(424)  instruction. You will always multiply by 8500. Take the second word of the result as the output. 10000 x 8500 = 8500 0000 http://accautomation.ca/omron-cp1h-math-instructions/ regards, Garry
  20. CJ2M stuck in "Stop/Program Mode" (Solved)

    Same error and solution was the same. The problem was fixed by just unplugging the power and let it sit for a longer time. Regards, Garry
  21. et200sp modbus rtu Communication and Network structure

    https://support.industry.siemens.com/tf/WW/en/posts/modbus-connection-between-et-200sp-and-third-party-devices/130771?page=0&pageSize=10 https://support.industry.siemens.com/tf/WW/en/posts/et200sp-cpu-modbus-rtu/155698?page=0&pageSize=10 Your connection media will be Serial RS485. The above links should help you out. Regards, Garry
  22. Interacting TTL Encoder

    NX-EC0132 http://www.ia.omron.com/products/family/3190/specification.html RS422 (TTL) RS422 (TTL) circuits provide a constant 5 V signal level that is not dependent on the supply voltage. Two supply voltage ranges can be selected: From 4.75 to 5.5 VDC (can be used to replace open collector output drivers) or from 8 to 30 VDC. Using differential signals the output fully complies to the RS422 standard. https://www.posital.com/en/products/communication-interface/incremental/incremental-encoders.php   The above information may help you out. Regards, Garry
  23. Custom Keypads

    http://www.edata.omron.com.au/eData/NA/V427-E1-01.pdf The above links may help you out. Regards, Garry
  24. eMB-60R Not Detected

    EtherNet/IPT M Connection Guide Omron Adept Technologies,Inc. https://industrial.omron.us/en/media/P649-E1-01_NJ-series_EtherNetIP_ePLC_Connection_Guide_tcm849-112016.pdf The above guide may help you out. Regards, Garry
  25. Omron sysmac cj2m cpu 31 Error Code

    Responded on the following thread: http://www.plctalk.net/qanda/showthread.php?t=115757 Regards, Garry