MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by innoaloe

  1. NA Broken Line Graph

    I would suggest using the Trend Graph instead. Using it, you not only displaying real time logged data, but can load the data that is saved in the SD Card / USB Flash Drive. The data are tagged with timestamp, so should be easy to search for a certain day / time. Also you won't have issues with arrays. All tests must be done in a real device though. Otherwise, if showing graph in the HMI is not a necessity, I would suggest using the DataTrace function in Sysmac, which is on the PLC side. Here you graph and saving the data log inside your PC, so anytime you can load it up offline and show it.
  2. NA Broken Line Graph

    As you said, it is not working in Simulation mode (meh...) Graphing every 20 ms is quite intensive I'd say. The minimum value for interval-based update in the Broken-Line graph object is every 1000 ms. Sure you can reduce it using the condition-based update (like triggering it from PLC bit), but I don't know whether we can expect it goes faster or not. The only issue in using Broken Line Graph is that it is not a value vs time kind of graph, so if you want to achieve that, you must make the variable as an array. Say your variable is an integer array in size of 10, each index represents value at nth ms. Every new sampling, you need to shift values inside the array to emulate value vs time graphing. An easier solution would be using the Trend Graph which directly creates value vs time graph. But you need to plug either SD Card or USB Flash Disk to use it, since it is showing a real data log.
  3. CX-Programmer cannot download file to PLC

    DIP switch 5, when turned on, forcing the Serial Port settings to its defaults (such as baud rate, data bit, etc). When it is turned off, the settings are using values defined in the PLC Settings section in CX-Programmer that you download along with the program. These settings most of the time got jumbled and messy on power up if the plc backup battery is low on voltage. Maybe that was what happened
  4. Sending alarms with NA panel

    Thanks for this @Michael Walsh The only downside with the FB is that direct SSL connection is not supported, thus we have no choice but to connect the PLC to a local email server first. But I guess at the moment that's how it goes for other brand as well, though (Siemens for example).
  5. Direct Online Problem

    Yes. And I believe both will work.
  6. Direct Online Problem

    Omron RS-232 port pin arrangement is different from the usual computer RS-232 port. Make sure you wired it right like shown below (right is Omron side connector, left is computer side connector) :      
  7. EtherCat Configuration

    If memory serves, the Slave Address for the GX-JC03 need to be written manually. It doesn't got set along during downloading the program. After you download the EtherCAT settings, keep online to the plc, then right-click on the PLC unit in the EtherCAT window. You will see the option to "Write Slave Node Address". There you can write the specified node address to the JC03.
  8. The SEND instruction can do that. The Instruction Manual of that instruction describe the Host Link mode pretty well. That instruction only available for CP1L series and above though. You cannot use it with CP1E.
  9. Omron CJ1m - bluetooth connect

    Indeed Toolbus ain't documented, but using the Multiway program from Omron France, we can practically reverse engineer it. Granted you are a student, I'm sure you have the time for doing that. However, as Jay mentioned it is not really wise to do so. It's kind of wasting your time reverse engineering something that is undocumented, while you have something else that is already documented properly with the exact same usage (HostLink in this case). And guess what? The said "AC01" command was actually documented here : Surely it is not documented properly. If you want to try the command again, try sending "AC01" not as a String (in which you are sending 41 43 30 31 hex bytes), but send them as a raw hex bytes (so you are sending AC 01 hex bytes). I don't know whether that'll work or not since I never tried it myself. Good luck.
  10. Programming Incremental Encoder

    No, PULS and SPED are for outputting pulses from the PLC. To compare the encoder pulse count, you can use the PRV instruction to find the current pulse count, and use the usual compare instructions to produce the multiple output. Alternatively (and system wise better) you can use the CTBL instruction which generates the output as an interrupt, although the usage may not seems straight-forward.  
  11. Need to Origin a Stepper Motor

    Don't forget to set proper Origin Search parameters for the Pulse Output in the PLC Settings as well, if you are using the ORG instruction, or else it will always return an error. If memory serves me right, you always need to use Mode0 for Origin Search of stepping motor.
  12. G9SP Configurator

    There is no such CD program that ships with the G9SP unit. What Omron meant is that the serial number comes with the CD, should you buy the software. Of course entering the numbers printed on the G9SP unit won't work. It was never a free software. Faster way is (maybe) to ask Omron field engineers to come to the site... with charges of course...  
  13. Omron Servo Encoder

    I don't understand... you can use PRV2 for the HSC0. Why can't you use it on the HSC1 as well?
  14. C-mode hostlink library for NJ/NX1P or CP1L

    Nice find. The manual states that the FB not only supporting DM, but IR, HR, and LR registers as well.
  15. Loading screen on NA

    @Artz It's been two weeks since you asked, so I don't know whether this is still needed or not... But NA does allow you to run multiple Threads as you said. In this post below, I demonstrated how to run a secondary thread which is doing some background processing. The example is just a counter, but you'll get the idea. So in your case the Main Thread is the user interface that will display the hourglass, and then you run a secondary thread which will run the time intensive subroutine.
  16. At one time, I even need to edit an EDS file of a certain 3rd party vendor (using the good old notepad). What I found in that EDS file is that there are multiple definitions of a certain ESI Tag (can't remember which one) But the point is, TwinCAT seems to support a more dynamic ESI file definition compared to Sysmac Studio. And yes, not all ESI files are tested to be working with Sysmac Studio
  17. What is the benefit of using Structured programming?

    Self-preferences aside, in the end it's about choosing the right tool for the right job. For example, playing with sequences and interlocks are easier using ladder. Doing Maths and data shifting are easier using structured text. Most PLC with Structured Text functionality enables you to set specific address to be used for the local variables, also enables you to set initial values of those variables via the variable table. Aside from that you can set settings in the programmer so that only certain interval of variable addresses are allowed to be used for variables. I believe Mitsubishi's should be the same.
  18. Well... have you mapped the points to the NX701 global variables? The variables must be set to be Published in the Sysmac Studio, and you need to run Sysmac Gateway software in the same computer so CX-Supervisor can find it (should come along with the installation of CX-Supervisor) Having another HMI connecting to the said PLC won't be an issue.
  19. CJ1M-CPU13-ETN Connection Issue

    You still need CX-P to do "actual" connection, where you can see the ladders and everything else. EtherWay at it's best can just help you to test whether the communication is possible or not. If using EtherWay is possible, then you need to replicate the settings used in EtherWay to your connection settings in CX-P. For example if EtherWay via UDP is possible, that means using the "Ethernet" (not Ethernet(FINS/TCP) or Ethernet/IP) communication method in CX-P is possible with the settings : Net = DNA Node = DA1 Unit = DA2
  20. Lost Data Memory and SCU Settings

    The only fix you can do to ensure operation even without battery, is to set the D Memory area which is used for SCU settings on the programs First_Cycle (using P_FirstCycle at the topmost ladder). That said, you need to insert all settings properly.
  21. Servo System Basic Question

    I can only think about Parameter number 3.38 since that's the only place you can set something related to direction IMO...  
  22. CP1H-EX ?

    I've encountered this one before. This is indeed made for China only. If memory serves me right, you can try auto-connect to it using the "CP1L-E Node Online" button in CX-Programmer (next to the Auto-Online button). Another way, should you know it's FINS settings and  IP Address, is to create a new project with CP1H-X40 model as the base, but set the communication settings to Ethernet and set the settings accordingly.
  23. CJ1M-CPU13-ETN Connection Issue

    If your PLC IP Address really is, insert that to the "Remote IP" section in the EtherWay before attempting Connect. Following that, since your last octet of PLC IP Address is 250, set the DA1 column of the FINS Header part to FA (hex format of 250). Also, since your last octet of PC IP Address is 245, set the SA1 column of the FINS Header part to F5 (hex format of 245) Also rather than using TCP Mode, I'd say use the UDP mode first, since it is connectionless and easier to troubleshoot. @Michael Walsh EtherWAY is another tool developed by Omron France. I'm not sure whether that or MultiWay got deployed first though.
  24. CX-Supervisor improvement requests

    Just going to let it out here... : WHY CAN"T I RENAME MY PAGE????
  25. Sysmac Studio Improvement Request

    Simply said, we can't :D