PenneyInstruments

MrPLC Member
  • Content count

    29
  • Joined

  • Last visited

Everything posted by PenneyInstruments

  1. edit time variable in Recipe NA HMI

    Hi Guys,   See the attached function block. Converts INT in ms to Time. This may be useful as I also haven't found an elegant way to do it. Timer in millisecond.slr
  2. Data from an NX102 to Excel

    Hi PMCR, Can I have multiple instances of these function blocks to write to the same SD card so it creates different files? I would like to log equipment downtime in seperate files. Also, does your LogDataX variables within the structure support Time data type? Thanks
  3. EIP issue with closing/opening sockets

    Hi Innoaloe,   To your last point about the TCPClient and TCP Server. I am just now getting into the world of socket communications of industrial automation and I would like to clear something up. If you are trying to communicate to a server using socket TCP to send data to that server, would you use an Accept, or a Connect function block?
  4. edit time variable in Recipe NA HMI

    @innoaloe Do you have an example of using the custom time keypad to edit the time variables directly? This would be very much appreciated.
  5. Sysmac Studio Improvement Request

    Hi All, I am currently doing a very large scale project please see below a list of items I have not found a solution to: 1.) Having Sysmac Studio automatically reset their Ethercat errors on their own. Like another guy said in his post, if an Ethercat module is not online before the PLC goes into a run state, it will throw an error and not communicate with the Ethercat module even after it comes online. (I am talking about the ECC-203.) This was frustrating to learn after purchasing 7 of the Ethercat units along with the NX701.   2.) Indirect addressing. It seems as though the NA screen is very limiting in its power compared to the NS screen. Of course, this statement seems to only hold true if you are not familiar with VB NET programming. It seems that you can get behind the code of some buttons to create your own routines and such which is nice if you already know the language. Not so nice if you have to learn from scratch. Anyway, a normal Boolean button seems to not allow you to put a UINT variable inside of the brackets to have a pointer for an array type. For example, I had over 100 VFD's and I had just created a structure to handle all of the data for these as well as a custom function block. I would then make an array of this structure. Each index of the array would hold the data for one VFD. This way, I would only need to create one hand off auto screen and have a data edit to point all of my buttons to the correct index.   3.) After making a change to a custom function block, is there a way to mass update all of the current instances of the function blocks already within the program?   4.) Being able to compare two identical structures, but only one being an array. So I would like to compare one index of that data structure to another identical non-aray variable of the same data structure. See example of two variables Variable: Mode_Select_HMI Datatype: Mode_Sel Variable: Mode_Select_Set Datatype: ARRAY [0..50] OF Mode_Sel   If any of these suggestions are already solved and I am not aware of the solution, I would appreciate an explanation as I am fairly new to the software.   Thanks, C
  6. NS-10 HMI Connection to PC

    Hi, I have an NS10-TV00B-V1 and I am trying to connect to my PC for communication with CX designer for some tests. I try to connect the USB to the slave on the HMI, and then to the PC, but my PC will not recognize the HMI. No hardware is detected at all as if it hasn't even been plugged in. This is different than the PLC? With the PLC I just connect with the USB and then it will allow me to install the USB drivers.
  7. PID Parameters. Intergral Time?

    Awesome info Michael. Thanks a million. Needless to say, I miss using Sysmac Studio right about now! Thanks again Colin
  8. PID Parameters. Intergral Time?

    Hi, Can someone clarify this sentence for me from the instruction help of the PIDAT. Note 1 When the unit is designated as 1, the range is from 1 to 8,191 times the period. When the unit is designated as 9, the range is from 0.1 to 819.1 s. When 9 is designated, set the integral and derivative times to within a range of 1 to 8,191 times the sampling period. It relates to the integral constant value or C2 in the PIDAT blocks. I would like to know what I would have to move into D2 to have an integral time of 0.2 seconds  
  9. SCL Block confusion

    Hi, I have been trying to scale a range of 0-999.9 to 0000-270F hex and I am having some difficulty. I have attached my .cxp file if anyone would so kindly take a look and see what I am doing wrong. Btw the first move instruction is just an arbitrary number for testing my conversion. Forgot Drive At Home.cxp
  10. Omron Learning Curve - DATA TYPES

    Hello Everyone, Recently getting into Omron and I am wishing to pursue this type of PLC and software for a staple in my career. I have recently just graduated from a program involving PLC mainly Allen Bradley and one thing I have to say is that while making the transition from AB to Omron, the main difficulty I have had was with data types, specifically BCD, UINT, and CHANNEL. I am currently using the CX Programmer software for a few PID loops and they are causing me some great difficulty because normally I would just simply enter in all my values into a huge PID block in AB but that is not the case when it comes to CX-Programmer. Can anyone point me in the right direction of some manuals or e-learning places so I can quickly get a grasp on this so I can move ahead with the code. It is frustrating when you know how to do something and you just can't figure out how to put it into a software you aren't familiar with. Thanks for your help
  11. Omron Learning Curve - DATA TYPES

    Anything helps! I am going to start ask a local Omron dealer for some help. I will start by reading this manual though. Thanks!
  12. New to CX-Programmer

    Its working!? I changed my unit number on the CPU to 1. Uploaded via USB and bam. Idk what was going on but its fixed now I suppose. Thanks for all the help!
  13. New to CX-Programmer

    Still havn't got a darn thing coming out. (other than the 0.5Vdc) I changed the source word to 4000 in the word instruction just to see if there was any change and there was none. Also, I had to make a jumper from the (-) on the 24V PSU to A2? I guess it wasn't connected internally to the common on B9?
  14. New to CX-Programmer

    Hm, I have been looking at this drawing for the Belimo actuator and I guess I have fooled myself up in the process?
  15. New to CX-Programmer

    I am getting 0.5V DC with this program. I currently have the resistor connected between A1, and A2? Not sure if this is correct? 
  16. New to CX-Programmer

    Connect 24V to both A9 AND B9 or just A9?
  17. New to CX-Programmer

    Yes I have, there is nothing coming out I am using 2030 for my enable and CIO2031=2033 for the outputs. Also tried some stuff using D20301 but I am not sure as this is different than what I am used to.
  18. New to CX-Programmer

    Okay awesome. I am using the AMCX24-MFT BELIMO actuator. The PLC is a CJ2M-CPU33 with AD081-V1, and DA041 respectively. For some reason, I cannot get the actuator to move at all. I am sure I am doing something wrong with the ladder program. I have erased it a bunch of times just to redo it and I am getting fairly fristrated. I am not great with Omron (yet) and my knowledge lies within Allen Bradley. Do you think you could show me what the proper program should look like to actually make this thing move? I am trying to use the 4-20mA with the 500 ohm resistor. Thanks, Colin
  19. New to CX-Programmer

    Can I please get the pictures that you were refering to in this post? I know it is old but I am having a problem getting my BELIMO actuator to work with my CJ2M and analog output card. Think you can help me?
  20. Connecting PLC to ethernet

    Found out the problem after. Maybe this is helpful for anyone else.   This was a new CPU so I had to set the nodes again. So I wanted an address of 192.168.xx.250 so 250 in hex was FA. After I set the rotary node switches, I matched the unit number and IP address configured in the I/O table. Once that was done I just input my default gateway and subnet then uploaded all of it to the PLC using USB. After that, I was able to connect via ethernet with no errors.
  21. Connecting PLC to ethernet

    Hello, Just recently bought a used CJ2M-CPU33 Omron PLC and I am trying to hook it up via ethernet. I keep getting an error F3. I figured it was because I didnt populate my I/O table so I did that and still no change. I have tried to connect to it via USB (which works fine) and then upload it a new IP address but no luck. Communication problems are my enemy and any help would be appriciated. Its a CJ2M CPU33 with a PA202 power supply. Analog in and out, digitial in and out cards. Thanks
  22. Connecting PLC to ethernet

    Gotcha, Thanks!
  23. Connecting PLC to ethernet

    Could you be a little more specific if you can? I am not yet familiar with this hardware as I am used to Allen Bradley software and equipment.
  24. Particulate Measurement In CX Programmer?

    I am currently in the process of an efficiency project for a company looking to measure at what point their process starts to create particulate (in this case, smoke) so we can accurately defer the smoke into a combustion chamber to be burnt off. My question is, is it possible to use the Dywer SERIES PMT2 Particulate Transmitter for our measurements using a CJ2M-CPU33 Omron Controller and CX Programmer. http://www.dwyer-inst.com/PDF_files/PDS/DS_PMT2Rev.1.pdf If we can use this, I am wondering which cards I would have to get for communication to this transmitter? CUrrently I have analog in and out, (DA041 and AD081-V1), and digital in and out, (ID211 and OC201). Any information on getting this sensor set up is appreciated. I am not familiar with this type of process control. *****FYI If this is not the correct topic to post this, please move it to the correct one.*****
  25. Particulate Measurement In CX Programmer?

    Perfect thanks Mendon.