Search the Community

Showing results for tags 'omron plc analog value read with vb with fins udp ethernet connection'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 854 results

  1.  Hi all. I have a question about how to set up the motor in rotary mode. My application will be a basic rotary table driven by a servo motor without gearbox between. So, in my servo drive axis settings, I select the motor as a rotary mode. then I defined the maximum position setting value for 360 degrees, and minimum to 0. So far so good. But the problem comes when I want to make an absolute move using the mc_moveAbsolute to move 360 degrees. Whit this settings the error "target position settings out of range " will come up. So, what is the solution to rotate 360 degrees without generating this error? if I set up the maximum value to 361 degrees and then if I rotate 360 the error will not occur and the motor will rotate 360 degrees as I aspected, but it's this correct ? or there is another way to do it? Thanks  
  2. PC send data to PLC

    Hello, i'm newbie for plc. i want to ask about PC/computer send data to PLC CP1E with serial communication (RS232). my wiring cable is: PC                         PLC 2                             2 3                             3 5                             9 4&6    7&8                               4&5 and if i send data from PC to PLC, my indicator in COMM is blinking. i think the cable have no problem. but if i send data from PC to PLC, the memory is not same as what i send and whatever i send data, the memory didn't change. i will attach my ladder diagram. what should i do?    New folder.rar
  3. Omron Servo Encoder

    Hello All  I am new to PLC programming , i have a question regarding omron PLC and High speed counters. I am using Cp1H-XA model plc . I connected HSC port 0 with a encoder and i was able to get the speed of the encoder using PRV2 instruction. Now i am trying to connect the second  encoder from the servo motor that i am using to HSC port 1. I am getting the PV signal using PRV instruction . Is there a way to calculate the speed of the servo encoder connected the HSC port 1 using PRV command , since i can't use the PRV2 command for the servo encoder .   Thanks in advance .
  4. Hi everyone,  I am trying to use Kepware to communicate with my PLC setup which is the iQ-R Series R08PCPU.  I read the documentation which is available at https://www.kepware.com/getattachment/3daf1ac3-5c76-49ce-bbfe-f0fb1015f6cc/mitsubishi-ethernet-manual.pdf I read through the setup for Kepware and the setup procedure for iQ-R series but it still didn't work.  From the documentation, it said something about "using special ladder logic to enable ethernet communications is required.", I couldn't find anything about this online.  Here what I did in addition to the documentation: - Enabled IP Packet Transfer - Ping the PLC's IP Address which was successful Does anyone have any idea what I didn't do to establish that communication between Kepware and R08PCPU?  Thank you in advance. 
  5. How to set Homing parameter slot with _sHOMING_REF data. Please suggest me to setting MC_HomeWithParameter instruction or show example for using MC_HomeWithParameter instruction. Thank a lot
  6. I have a AB CompactLogix L43S with 1768 ENBT Ethernet/IP module. I would like to talk to a TCP/IP device (such as my laptop) from the PLC. How can I do this without using RSLinx? 
  7. I have a line that I'm integrating that requires the main machine (Q13UDVCPU) to communicate via the built in Ethernet port with 3 different up and downstream machines using FX3G controllers with FX3U-ENET modules.    We are using GX Works 2 software. So far I'm having no luck with the Mitsubishi documentation, or online.  Some (old) sources say it is not possible, I hope that is not the case. What I could really use is a working example program to look at and dissect.  But any help would be appreciated.
  8. Compare data RS232

    Halo, my name is Riandanu, I connect PLC Omron CP1E to weighing scale, and its done. i think i dont have problem between PLC and weighing scale. And i want to ask about, how to compare value from weighing scale ?  example : from the picture you can see value of weighing scale is " ST,+00160.66  g", and i want to compare it with 180 or 150 to give output on to lamp. Thankyou Riandanu       PLC to ek-i.cxp
  9. Design Improvement Ideas : I currently use a 24v DC slipping brake (either Clarke or Warner) to prevent a reel of film from over-rotating - With Previous motion controllers - i have used timers at first then progressed to using a Virtual axis and a switch to make my pulse from NX- Digital output card to a Solid State Relay  (PSWITCH command for anyone familiar with TrioBasic) and this has worked pretty well. I have the same physical setup on a new piece of machinery but am now using NJ and Sysmac - Have used a TOF and TON in inline ST to control brake and it sort off works - brake can feel a bit lumpy and can chatter and bounce a bit adn am worried about the reliability when the machine is running and the controller is doing more. (brake cycle time t#10ms and tried at 100ms also) I did try using the Time Proportional Out FB - but this was far worse than the above. I think i will try my luck at created a new virtual axis e.g. Rotary Mode - min 0 max 1000 Run with MC_Move_Velocity when Machine is running and use an MC_digital Cam Switch to create my output Pulse. I am new to the Forum and trying to get more involved with others rather than working in Isolation - so wondering if anyone has any suggestions or thoughts  or have done anything similar in SS? Thanks in Advance,
  10. Hello all. I have been working with an SLC 5/04 system, which houses various Digital and Analog INs and OUTs, up to Slot 29. I am currently mainly working with Slot 25, an Analog Input: 1746-NI16I. This is a system which has already been set up and has been running for the best part of 8-10 years. This particular card has had some spare inputs, one of which I am trying to connect to. In the Advanced Configuration, only a few Channels are actually "Enabled", and each channel is pretty much slightly different from another in terms of Input Type, Filter Frequency and Data Format. I am trying to set up Input 14, which is Channel 15, to "Enable" it, 4-20mA Input Type, Filter Frequency of 6 Hz and Data Format of either Raw/Proportional or Engineering Units. Now, after I have made my choices, I click apply, and then OK. I am then confronted by a pop-up which states: "Configuration Rung and Data Integer Data File Number: 25 Integer Data Element: 100 Rung to be inserted: XIC S2:1/15 COP #N25:100 #O0:25.0 24 At Program File Number: 4 82" I have the options of OK or Cancel. If I click OK, I now have LAD 4, Rung 82 Highlighted. This First Scan Bit and COP function were already here, but does that mean I have now altered what is being written to "#O:25.0"? I now Download the Changes. However, after all this, I am not getting any Analog input reading coming in from the Live PLC. What is this COP function? What does it do? How do I properly set up this Analog Card?   Thanks for your time, -Jame
  11. CP-1E Error

    Hello,  I am using Omron CP-1E PLC and expansion module 16ER and tc module.  When plc operated alone it goes to run mode when expansion module is connected either 16ER or TC module plc ALM/ERR led turned on.  
  12. Hello. Can anyone tell me if there is a function for this in gxworks2? I want to even a jumpy analog signal. I am aware there is a MEAN-function, but that needs me to feed an array of buffered analog values to it. Which I am not familiar with how to do. Cheers
  13. Anyone know any free libary to communication with FX3u-enet-adp, please help me ? Note: I've used mx Component , it work very well but it is too expensive and I dont even know it can work in windows server 2012/2016 or not.  one more question, Is there otherway to make program run in other computer without install mx compoment, it is very huge to install in every client computer Thank for reading and sorry for my bad english  
  14. Hey Guys,    This is my first time on a forum like this! but i need a hand with something if someone could point me in the right direction.   I have a Powerflex 40 drive communicating over Ethernet/IP to a switch, That drive has four Powerflex 4's connected to it thru DSI connection. They seemed to be wired correctly and seem to be sound connections but when someone on the production hits an E-Stop it removes power from this bank of drives. (Which is standard here) . However, when they power back up i get an F081 Error (Comms lost) on the master drive and one slave. Also, the port light on the 20-comm-e(Powerflex 40) is faintly flashing about every 5 seconds and is the only light on. In this state, none of them communicate. However, when i unplug the DSI cable, the 20-comm-e powers back up to normal operation. I then plug the DSI back in and everything works fine.  Should i start replacing parts or is there some parameters/other wiring i could check?   Thanks guys.
  15. Hello all, I have a Omron 3G3MX2-AB004-V1 Inverter (VSD) connected via EtherCAT that I need to reference (home) and also perform a relative move. I am looking for a Function Block with the following Inputs/Outputs for my Omron NX1P2-1140DT1 PLC for use in Sysmac Studio. Inputs - Takes the Encoder signal as a Position obtained via a Motion Control Axis (setup as an Encoder axis) - Takes a Homing sensor input (Sensor triggers on each conveyor belt cleat) - Take either a Reference or RelativeMove signal (to Home the inverter or MoveRelative respectively) - Takes the distance to move for a RelativeMove Outputs - Forward - Reverse - Velocity - Done - Busy - Error Has anyone done this before from a PLC FB for this inverter who could help me please? Many thanks, Richard
  16. I recently had an issue where a system shipped to a customer's site with a mismatch between the IP address loaded into the CJ1W-ETN21 card and the node dials on the card itself.  We had been testing the settings of the card by pinging the address and had assumed if the node dials were wrong we would not be able to ping the card.  As we just found out that is not the case! Both our quality department and our customer's end user were able to ping the Ethernet card, but the end user could not establish FINS communications because the node dials were not correctly set. Is there a way to test that the dials are correctly set?    Thank you!!!
  17. cpm1a and ns5

    how to connect cpm1a to ns5 hmi? cant do it
  18. Here is a link to a thread on a recent post showing how to communicate serially to an Omron PLC using VB.Net. This uses the Omron Host Link serial protocols. (C-Mode Commands) It will read 10 DM registers and display them on the form.   http://accautomation.ca/implementing-the-omron-host-link-protocol-vb-net/ Here is the source program that can be downloaded. Other links: VB6 Program: http://accautomation.ca/how-to-implement-the-omron-plc-host-link-protocol/ VBA Program: http://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/ Regards, Garry www.accautomation.ca
  19. PC-PLC CP1E - USB-to-SERIAL cable

    Hi,   I have a self-bought usb-serial cable converter for CP1E. Currently can't connect to my PLC using PC. CX-One says "Failed to the PLC". I am supposedly to use "SYSMAC WAY" as my Network Type in PLC settings?   EDIT: The CPU type is N30   I've checked the following settings: 1) COM number is correct ( as checked from windows Device Manager side) 2) Cable driver is installed, there is no "unknown" driver in my windows Device Manager 3) My RS232C LED in PLC is not lighted up.   Any other suggestions to check settings ive missed out would help, other than buying a new cable for the moment.   Regards, Summerstone
  20. Is it possible to add another AB Rockwell PLC to the network tree as a Generic Ethernet Module and use it as IO? Any idea where I would find information regarding assembly instance and size of I/O/C for AB Rockwell products? If possible, what are the pros and cons when compared to produce/consume and MSG instructions? Don't need to use it real world, just curious. Many thanks in advance.
  21. Hello         I'm new for PLC, I need to set pump turn ON/OFF  in 4 time/day every day => [8:00-8:10]a.m, [11:00-11:20]a.m, [2:00-2:10-14:10[p.m, [5:00-5:20]p.m ** I have Omron PLC CP1E-N30 , Could you advise me, please ?  
  22. My apologies for being a newbie on this, but could someone save me on this... I have a Viper 650 and an eMB-60R controller which I want to control by ePLC connection using an NJ501-1300 PLC unit, SYSMAC Studio with EIP Adept Library for Robot... All are starting up well, and I connect all components to a switch hub...  But following the ePLC guidelines, the IP Address showing on the controller is 172.16.132.111 I change the IPV4 IP Address on the PC settings to 172.16.132.10 and the subnet to 255.255.0.0 but the Adept IP Address Setting Tool on SYSMAC doesn't detect the Robot IP Address, also i tried ipconfig on command prompt which shows a different IP Address IPV4 169.254.197.75 and subnet of 255.255.0.0, I changed the previous setting on the PC setting to 169.254.197.10 with the same subnet. But still PC doesn't recognize. I tried both configurations if ACE Software can detect it but the same ACE can not detect it also... Appreciate any thoughts on what's wrong in my configurations. Thank you.
  23. I am using CJ2M PLC.I want switch on a output for certain time by a timer and holding bit if interlocks satisfied.If interlock not OK timer has to hold the time and output should be off. if again interlocks OK again output has to ON upto balance time completion and has to give timer done output for reset holding bit.please suggest.
  24. Hi, I am trying to do a merge move on 1S Servo. The condition are as follows: Task: Move 2 in(absolute value) and then Move back to 1 in (absolute value). I have to do this move 10 times in a row.  The application is material leveling after dumping in the mold. The only question i have is if I use just MC_MoveAbsolute command, the only buffer mode for transition available is velocity. Is there a way i can do it with position. I dont want to stop when I can go from 1 to 2 and 2 to 1 again and again. Its time consuming. But rather a nice oscillation motion without stopping to mimic leveling. Can anybody please help me out with this problem.   Thanks
  25. So I did this simple Function Block, pretty simple, and yet it keeps giving me this error, after a bunch of failed combinations the error persists, without telling me whats wrong. And therefore won't even allow me to download the program to the PLC (CJ2M CPU31) or even simulate.   I heard it's a simple thing to fix but I really dont know how to, since I'm quite new to this. Here's the function block  itself in the picture and the programming inside it, although since it gives me no errors, i don't think that would be the problem