Search the Community

Showing results for tags 'omron sysmac'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 631 results

  1. Hi, is there a way to upload the safety program that is in the PLC, so i can get a complete project?  
  2. I am trying to display the time from an Accumulation timer. Using a data display object I am able to see the time in the following format 00:00:00.0000000. Is there a way to format the time without the decimal seconds I just want to see 00:00:00 (hours:minutes:seconds)
  3. Does anyone know how to change the reading on Omron servo motor reading from negative to positive? The encoder is reading negative values when it is moving in the forward direction.  I am using 1S servo on NX1P2 controller on Sysmac studio software.  Please suggest. 
  4. Hello, I have a question about AlarmViewer in NA HMI panels. I found that I can't control what type of messages to show. I have a user information messages showed on one of the screens and I would liike to illuminate one of the events that cause the event to appear. I can't find how can I show raised or cleared user alarms only. It always shows me when it was raised and when it was cleared. In example when I have auto-clear (impulse of added condition into alarm event). Any solution how to create a log for events without showing raised/cleared/acknowledge? Thanks, Scotty
  5. I have been trying to connect to my nt21 hmi and I keep getting timeout error. I am able to connect to the plc with the same driver. So I know my cable is connected fine. I set the settings of the driver to match the hmi settings and still times out. Can someone please share the steps to take to send an application to this hmi?
  6. I have been trying to connect to my nt21 hmi and I keep getting timeout error. I am able to connect to the plc with the same driver. So I know my cable is connected fine. I set the settings of the driver to match the hmi settings and still times out. Can someone please share the steps to take to send an application to this hmi?
  7. Just added a Keyence IV3 vision sensor to my NX1P2 system and have a little issue with the Tag Set / data structure. The Input and Output assemblies imported with the .eds file are an Input assembly of 101 with 394 byte size and an Output assembly of 242 with a 12 byte size. The problem I have is that the 101 Input assy size of 394 bytes does not allow me the OK/NG status of the vision tools from 17 to 64. I need an additional 6 bytes to access these bits in my data allocation table. My question is, Is it possible to modify this Input assy  to a larger size that is acceptable to the NX1 data structure. I tried just altering the size in my Ethernet IP connections tab and creating the corresponding tags in the data structure and it resolved and transferred OK but then would not allow my IV3 sensor to go online and communicate via Ethernet IP. How can I resolve this?
  8. View File NJ/NX Get IP Address A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are presented through 2 structures , 1 per-port. In the event the PLC only has one port the structure for Port 2 will be blank. Submitter photovoltaic Submitted 12/12/22 Category PLC Sample Code
  9. NJ/NX Get IP Address

    Version 1.0.0

    76 downloads

    A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are displayed through 2 structures , 1 per-port. In the event you only have 1 Ethernet port then the structure for the 2nd port will contain all 0s. Data Format: IP Address - USINT[4] Subnet - USINT[4] Gateway - USINT[4] MAC - BYTE[6]  (hex value) Access the retrieved details by the typical parent-child tag structure. ex. Port_1_Detals.IP_Address[0] will get the first octet of Port 1's IP. Tested on: NX1P2, NX102, NX502, NX7, and NJ301 IMPORTANT: This Function Block should not be run immediately after startup. Allow the PLC a few seconds to establish a connection with the Ethernet network.
  10. Hi,   I'm developing an application in C# and need to communicate with a plc omron NX1P2. How can i do it? With cx-compolet? Or is there another way?  
  11. hi, at my current customer, they have a machine that shows ethercat problems after power cycling the machine/plc. When the PLC re-connects, or tries to, to the NX-ECC203 nodes, it can stop at a random node and refuse to connects to it and the rest downstream. One solution we have found, is to power cycle the last working node before the one that refuses to connect, then the EtherCat seems to work all the way, unless it stops at another later node. The PLC has 23 ethercat nodes, Most are NX-EVV203, 5 robots. Where the EtherCat connection stops at, seems little random, but the power cycling of the last working in that daisy chain, seems to work where the problem lies.   Any suggestions what could be done to fix this problem? Between the PLC and the EtherCat nodes, sits a GX-JC06 EtherCat switch, all EtherCat-cables to and from it, plus the module it self has been exchanged for new items, the problems persists.  
  12. Is there an efficient tool to manage and validate CX-Programmer addressing. Requirements: - Highlight Duplicate Address allocation - Compact/Defrag address range to avoid wasting memory space. Note: - Any FINS addressing will have to be reconfigured - This approach assumes symbol use rather than direct addressing in the logic.
  13. GOT2000 <-> Omron CJ PLC

    I have an application where I'm using GOT2000 to read data from the weighing unit using RS232 and I send this value to Omron CJ2M through Ethernet/IP. Some variables from that PLC are connected to the elements of the HMI. The problem is when writing the weight value to the PLC through script or Data Transfer is disabled, the RS232 reading works fine, it's fast, etc. However, when I enable the script which writes data to the PLC, the RS232 slows down by a lot, like it refreshes every 2-3 seconds. If i set the script to execute like every 1-2 seconds, it is working better (still slower compared to when the script is disabled) but I cannot leave it like this, because the weight is used to control some valves, pumps, etc. Enabling script doesn't slow down normal communication with PLC, because I tried to test it by displaying the value of seconds from PLC on the HMI and it refreshes every second. Does anyone have idea why such tiny script causes so many problems with RS232?
  14. Hello all, I am attempting to sort a selection list via 'part-selection' buttons. Ex. a certain type of model is selected, I only want to have the members of the array which match that model to be selectable. I can move the members into a 'display' array just fine based on comparison, but I'm fuzzy on how to put those 'non-zero' array members into a selectable array in Sysmac HMI code   See For loop attached   Thanks!
  15. I am trying to use Reusable files, but it is greyed out. Is there a setting that needs to be enabled to activate it? I am using CX-Programmer v 9.74 Update 1: Apparently, when you create a data structure this gets greyed out  
  16. HI everyone, I'm new in Sysmac Studio and I entered recently in the IAG creation, I have a question, is it possible to edit directly in the main project (not the IAG project) a label into a IAG? My IAG project is composed by a rectangle and a label on this and i want to see the string that i write when i edit the label directly in the Sysmac.
  17. Hi all,  I am trying to modify the date and time of several PLCs from other PLC. Them are all CJ2M, and they are all in the same ethernet network (192.168.100.xx) and in the same FINS network (#1). I am doing it using the FINS command 07 02 ("CLOCK WRITE") with the CMND2 instruction. It is not working entirely: the clock time is being modified at the specified node; however, I do not get the FINS response (expected 07 02 00 00). If I modify the number of retries of the CMND2, the command is repeated all the specified retries though the clock was already written on the first try.  The D+0 and D+1 (response channels) are always #0; nevertheless, the I+1 ("Communication Completion Code" channel) allways receives #205. Acording to the manuals, this code is for "Response Timeout". I have tested it with 10 retries and with 10.0 seconds of monitoring response time, but it is working in the same way: the clock is modified fast enough, but I am not getting the FINS Response and the I+0.00 bit is ON after 100 seconds...  I have been also doing tests with the OMRON's Etherway Software, sending the same FINS command, and here I am getting the response properly. (???) I would say the FINS network was set-up correctly. All the PLC were set in network #1 with Cx-Integrator. In fact, they are currently sharing several channels using the SEND command on this network #1. I don't know what I am not doing right... Any idea?  The ladder is attached as .cxp and as .png. Thanks a lot.  Best regards.  CLOCK_WRITE.cxp
  18. Array A INT[32] Array Index B INT Destination C INT I am trying to move an Array (A) Element (A[2]) using a symbol (B) in ladder into a destination symbol (C) C = A [ B ] Result: ERROR: Array Index of Operand 1 out of range at rung 1 ( 6, 0 ).  The documentation suggests that it is possible, but I am unsure if there is something I am doing incorrectly. Note* Fixed indexing works with no errors Is there another method to accomplish this?   PLC : CJ2M CPU31 CX- Programmer: Verion 9.74 Update 1: If I go online to the PLC It does look like the array look up is working. Is the issue with the mov block? Update 2: I changed the memory locations which has caused a different error to appear. This error is clearer but does not explain the manual excerpt I posted further up ERROR: Only the constant can be specified for the index of the array.  at rung 5 ( 6, 0 ).  Update 3: Solution 1 I managed to hack together a proof of concept using pointers and indirect offsets  Update 4: Solution 2 For some strange reason things work as expected inside of the function blocks so I made one where the array is In-Out and with an input and output respectively. Note* External reference to pointers inside of the function block produced an error. Function block Logic     Update 5: Solution 3 Now I feel like I am going crazy, I tried just the original code again and it works... I have no idea why and if it was not for all the documentation I would be lost as to why it works now... Update 6: Conclusion It seems to have array indexing work the array index must exist in the D Memory Block. The reason it did not work above is because I somehow had a MOVR block when I tested after moving all the variables to the D Memory Block. I hope this journey helps someone else :)
  19. Has anyone have any experience getting a Wieland Safety plc (SP-COP1-ENI) communicate with an Omron Plc (NX102) via Ethernet/IP? EDS file installed, connection is set as per the documentation yet  I cannot get it connected.  
  20. Has anyone found Omron NX IO to be unreliable? I have 2 racks of various NX analogue and digital IO where connections between the IO modules appear to fail when modules are prodded with a finger. System will be running fine without error, then prodding/pushing IO modules will cause TS lamp to flash red on module and cause CPU to throw various errors such as image below. After cycling power, system will start up and run fine with no errors present. Doesn't appear to be related to any particular module and where a particular module looks suspect, fault symptoms will not follow suspected faulty module when swapping with other modules of same type in the rack. Contacts on sides of modules are clean with no dirt or corrosion visible. System has been installed for 24 months and these issues started appearing at around 12 months and seems like it is getting worse. Local Omron tech support are saying solution is to "re-seat" the modules by sliding modules in and out of the rack 10 times. Strangely enough, this actually improves situation for a while and then modules will start playing up again. I am wondering if this is typical of NX IO modules? The connector arrangement on sides of the modules on close inspection looks like it may be prone to spring/wire side of connection jumping out of shallow grove in mating module.  
  21. "PLC No Response" NB HMI Omron

    Hello Everybody, I continued to work on project this morning but I seem to be plagued with the "PLC No Response" error. This error will only come up when I assign a PLC address to a particular object.  I have followed the steps in the post(https://forums.mrplc.com/index.php?/topic/39885-nb-designer-hmi-plc-no-response-error-solved/) to try and clear the error but am having no luck. In the screenshot I have assigned the large "Start Process" as a bit button with the write address being W50.00. When the button is pressed it should trigger a bit in the PLC but this is when the error appears. During this test I am connected to the PLC and in run mode with the PLC and HMI address assigned correctly. I have read and followed the section in the manual regarding "PLC No Response" but still no positive results.  I just want to check that there is nothing I have done at a programmer end that could cause these issues. I am happy to provide files. Thanks, Ryan  
  22. Hi community, i need help .... I want to connect my HMI GOT 1455 to a PLC OMRON CP2MC by RS-232, but i cant do it. I'm using the following connection: HMI GOT1455   -    PLC CPM2C (Interfaz CS1W-CN118)              2 (RX)          -            2 (TX)              3 (TX)          -            3 (RX)              5 (SG)         -            9 (SG)                                 -            4 (RTS)                                 -            5 (CTS) * PIN 4 (RTS) IS CONNECTED WITH PIN 5 (CTS) In the HMI I configurated driver OMRON SYSMAC, CHANNEL 2 RS-232, TRANSMISSION SPEED 19.200, DATA BIT 7, STOP BIT 2, PARITY EVEN. But with all of that I can't connect both devices. In the PLC i can see the led COMM blinking, so it should have communication, but the HMI show me "Communication error. Refer to System Alarm in Utility Menu"
  23. Hi All,Cx-Supervisor, NJ501-1340, Sysmac Gateway.I have been writing an update for a project and converting to this new controller.It's a pretty big project.Using a combination of Ladder and ST.Using Cx-Supervisor 3.5.I created some new Variables in Studio and made them Publish only.Started to create Points in Supervisor and made them I/O connected to the variables in Studio. No problems everything was connecting and working just fine.Then one of the points would not update. I could change it in the PLC and it would not change On the HMI.I deleted it and recreated it and it did the same thing. (sometimes points in Supervisor just stop working and recreating them fixes it).I then copied the control and pasted the old point into it and it did the same. Then other started to fail. Showing no reaction.I stopped the gateway and restarted, no help, I rebuilt the HMI, nope.The can check the tags in Sysmac gateway and they always change when the PLC changes but not the HMI.I checked the point maintenance in Supervisor and it would not change.I dumped all the affected variable in the PLC and in the HMI and recreated them. Then it got stranger.I could change some on the HMI and it would show in the PLC but not the other way.This is on Bools and UINTS.Stopped CX-server, tried using it with Win8 compatibility. nope.Pulling my hair out now. I should be coding but I'm trying to get the apps to work.Any ideas will be used with thanks.Peter
  24. halo, i'm newbie in HMI and PLC. i have a problem connect HMI omron NB7W-TW00B TO PLC OMRON CP1E. i done setting same baudrate,data bit,parity check, and stop bit in HMI and PLC and i use nb designer for create a HMI display. and this is attachment: a cx programmer, bit switch and bit lamp in nb designer. and the output in hmi is [2]PLC No Response:00-00-1 can you help me? thanks
  25. Hello, I guess everyone knows the current availability situation with electronic parts. Due to this reason I'am looking for alternatives for the Omron NA-Panel series. I'am curious if you guys already made some good or bad experiences with third party HMIs in combination with NJ/NX PLCs. It would be a pleasure if you could indicate some brands that will work.   Thank you in advance.