MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

101 Excellent


About photovoltaic

Profile Information

  • Gender Male
  • Location Some Igloo
  • Country Canada
  • Interests Dirtbiking, Microcontrollers, Snowboarding, Locksport

Recent Profile Visitors

2887 profile views
  1. What is "Unwired terminal current capacity"?

    Some people might find it convenient to daisy-chain several devices, and the NX terminals offer a convenient way to do it, but you'll likely melt a terminal or two if you're not careful.
  2. What is "Unwired terminal current capacity"?

    I believe that's how much current you can take from the neighboring terminal which is in common with the terminal getting current provided to it. This current is usually for powering "unwired terminals". Its essentially a measure of the current capacity if you were to run current in one terminal and out of the one beside it.
  3. NX1P2 connection with G9SP via Ethernet

    I dug into this a little, I don't think what you are trying to do is possible. There are system bits you could use to detect a connection loss and then execute a clear instruction on the input data when it is lost. 1 line of code for a simple fix. In the example picture I assumed the G9SP is, yours may differ.
  4. Problem with comparison

    Instead of comparing after the subtraction you need to compare before and then perform the subtraction based on which value is higher. Example: If A < B then compare B-A If B < A then compare A-B You'll be seeing variable roll-over otherwise like pturmel said
  5. Calling a sub

    There are a few different ways you could do this. I personally would have a global subroutine running at an interval and in this subroutine I would examine _HMI_CurrentPageIndex and if I detected a new page (Index != lastIndex) I would have an action associated with that page index value (case statement). The action would be the recipe you want to work with. You could set this up to perform an action once per page change with a sort of "run once" latching variable.  
  6. Laptop instead of panel

    1) This cable is not for communication between a PT and a PLC, it is for communication between a PC and a PLC. It will work for the test mode in CX-Designer. The behavior you are seeing is typical of a no communication situation.   2) NS HMIs are obsolete, the NB HMIs are affordable and widely available.
  7. No system variables exist for communication that isn't cyclic and managed by the system itself. FINS, Modbus, MQTT, and Socket Services all fall in this category.
  8. Are you referring to using a CJ1W-EIP21 card or using the CJ areas for FINS?
  9. Laptop instead of panel

  10. Laptop instead of panel

    As a quick test, connect the serial cable you have, ensure the DIP switch for the Serial port is ON (cycle power if you just switched it), and in CX-Programmer choose PLC -> Auto Online -> Direct Online. Select your Serial port and choose Connect.
  11. Laptop instead of panel

    I just had the Test function working on my end. If you cant connect to the PLC through your serial cable then you likely have the wrong cable. Omron has a unique pinout on their DB9 connectors. Are you using a standard serial cable? To get the TEST working in CX-Designer I set the PLC DIP switch to Auto, and then in CX-Designer I set the comm port and used Toolbus. It worked fine.
  12. Laptop instead of panel

    Can you connect to the PLC with CX programmer via serial? This will verify the cable. I have an old project somewhere with a similar setup, I'll try and find it and share the settings.
  13. smc2 ESI and IODD files

    In theory yes. However what I would do instead is pull the current program off the PLC, compare it with your backup, and then make modifications. There may be some important changes to the PLC that aren't on your backup.
  14. Laptop instead of panel

    For running a test HMI from CX-Designer and connecting to your PLC you can't use USB. The Test function replicates the driver the HMI uses which limits you to either Serial or Ethernet drivers in most cases. Adding an RS232 module will work with the Test function in this case.
  15. smc2 ESI and IODD files

    ESI files transfer with the project, EDS and IODD files do not. The IODD files aren't relevant in this case since you are using the IFM master. Your PLC just sees a block of data coming back, it doesn't care what the bits and bytes are. You would need to add them with the IFM software I assume.