gclshortt

MrPLC Member
  • Content count

    203
  • Joined

  • Last visited

Community Reputation

24 Excellent

About gclshortt

  • Rank
    Sparky

Profile Information

  • Gender
  • Country Canada

Recent Profile Visitors

2569 profile views
  1. TOTAL FLOW OR TOTALIZER

    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