MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by BITS N BYTES

  1. Capture snapshot of I/O data for simulation

    Yes I agree. IMHO turning on/off I/O manually is BEST approach. Just trying offer a possible solution.
  2. Capture snapshot of I/O data for simulation

    Add code to running PLC using the XFER instruction to copy the CIO areas you wish to keep to unused DM location. Save the D memory to file. In simulation mode add a oneshot instruction to XFER the saved D memory back to CIO.
  3. CPU load memory

    Select "View" and in pulldown "Memory_View".
  4. Task control? scan priority

    Set the Task Properties as a Cyclic task but with Operation start unchecked. Then only call the task from your main program with a oneshot [rising edge bit] to trigger a TKON instruction. At the very last rung of the called task place use LD CF113 [always on] followed by a TKOF. Task will only run once when called from main program. Picture shows Cyclic Task 01 with Operation Start unchecked.  
  5. mx2 control with modbus

    Congrats mate! You didn't give up. Can you enlighten us how you got it working after initial problems?
  6. Controlling mx2 inverter without modbus

    Always good to get updates from forum posters. Keep plugging away and good luck mate!
  7. Controlling mx2 inverter without modbus

    Don't give up so quick. One of these [or similar product] would easily solve your problem.
  8. Controlling mx2 inverter without modbus

    Looking at the RP input in the MX2 schematic it would appear that it only accepts a Sinking input signal. To work with a CP1L-EL it must have Sinking Transistor outputs i.e. CL1L-EM**DT-D Providing you have a Sinking Transistor model, you have wiring correct between PLC output and MX2 and high speed output is pulsing you should be able to monitor this signal on the MX2.  
  9. Controlling mx2 inverter without modbus

    Those instructions are typicallu used for positioing. If you are just controlling speed use a combination of Continuous Mode [Speed Control] instructions SPED, ACC and INI. See Section 7-2-4 in manual W516. Pin RP = Pulse input on MX2
  10. Controlling mx2 inverter without modbus

    Use standard outputs from the PLC for Start/Stop/Reverse signals to the MX2. Use a High speed pulse train output from the PLC to the RP Pulse Input on the MX2 to control speed.
  11. CX Programmer Problem. Willing to pay via money transfer!!

    St Patrick's Day and copious amounts of Guinness must have fuddled your brain! Sober up and try working it out for yourself. We are here to help those that help themselves. OTHERWISE send me $25 per step of code. Approx $25K total and I'll do it for you!!
  12. Using PTO's to control multiple stepper motors?

    AND read this article. Though written for a CJ1M the principles are similar to your model.
  13. Trouble connecting from PC to CP1H-XA

  14. Limit

    This isn't an AB test of how they DO THINGS. Rather OMRON has a unique [yet different approach]. IMHO much easier to use. For example:- A simple oneshot up differentiation condition requires NO stupid extra bits to manage, just a change in the examination of the bit with an upward symbol. See here:-
  15. D memory data not moving into instructions

    Try setting the PLC properties to "Execute_Timer/Counter as Binary". You must first send new settings to PLC and then perform power cycle.
  16. D memory data not moving into instructions

    Hint!! If you need to initialize D memory values at power up it is much simpler to define a TASK that runs once on first scan to write necessary values to D memory. So each time PLC is powered up the required values are initialized. Create a new task named FIRST_SCAN. I would suggest Cyclic Task 00 (Startup). The last instruction of this task should use the always ON flag CF113 followed by TKOF 0. Everything in this task will then be written to desired memory only once. So stop messing with LCD board and use tasks to initiate values you need in your program.
  17. D memory data not moving into instructions

    Are you bothering to read the manual?   CP1W-DAM01 Pages from W462.pdf
  18. D memory data not moving into instructions

    Pretty sure you need to define a SETUP screen with the D memory you wish to monitor/modify. A setup screen allow configuration of the FORMAT and DATA LENGTH [1 or 2 words] that will be displayed. See section 8-6 page 502 of manual  
  19. Limit

    The LMT instructions uses a group of boolean "condition flags". These change state immediately after the instruction is applied. Read section 1-2-1 in the manual W451-E1-03 for an explanation of how Condition Flags are used.
  20. SCL3(487)

  21. Really miss the ability to have individual element properties for instructions as available in CX-Programmer. Please, please add this to Sysmac Studio.
  22. Using PTO's to control multiple stepper motors?

    Whenever you execute ANY pulse output instruction in the PLC it will always assign two outputs. Either {PULSE + DIRECTION} or {PULSE CW and PULSE CCW] depending on the configuration you use in the output instruction. Even if you are only moving in one direction using just PULSE or PULSE CW the second output is NOT available as a standard output. If your PLC is model CP1L-EM**DT-D then outputs will be Sinking Transistor. If model is CP1L-EM**DT1-D then outputs will be Sourcing Transistor. Since only two pulse train outputs are available on this PLC and you are trying to control 7 axes it will be quite the challenge to manage all of them using relays to switch PTO signals to each drive.   GOOD LUCK.
  23. Using PTO's to control multiple stepper motors?

    There are ONLY two pulse train outputs available on a CP1-EM PLC. Switching PTO output references to different motors with relays would work, , however if you ALSO need PULSE + DIRECTION you will need to switch two signals [PULSE + DIRECTION]. For relays specs I highly recommend you use a bifurcated contact type for to accomodate such low voltage/current signals to each drive. Example here: -
  24. Some of the files in the group of backup files from a PLC was mistakenly viewed and set to open with Adobe Acrobat. This has affected ALL CX Programmer backup files across my entire PC [Windows 10 Pro] How does one restore the original files association? In the attached picture the "Backup File List" all files except backup.obj and backup.std show in "Opens with: "Unknown Application" BUT the backup.obj and backup.std shows file type as Adobe and properties "Opens with: Adobe" How do I restore the original "unknown association" so that backups can be used to restore programs to PLC. I have over two hundred programs that are affected. HELP PLEASE   OR Doesn't this issue really matter!! So my PC associates file with ADOBE, BUT in fact when using them to restore program to PLC all works just fine??? Con-Fused!!
  25. Backup files - File Type Association

    DOESN'T WORK, since windows 10 offers no selection to associate these file types.