Search the Community

Showing results for tags 'omron compare intruction'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 504 results

  1. MODBUS-RTU slave

    At this moment I was asked to change one CJ2M's program (in Ladder, and the PLC is the slave) in order to make a list of desired variables "readable" by the master (an host computer/ SCADA) wich is using the protocol MODBUS-RTU. I only have to work on the PLC' side and i only know the name of the variables and their corresponding address.I already read the "CS/CJ Serial Communication Unit Operation Manual" but i still have some doubts:- The only way to define my slave address is done by writing a code to put the value of the address on the corresponding bits of DM area? or can i define the address using some feature of CX-Programmer?- (A CJ1W-SCU41-V1 is already implemented in the field) on the slave'side i only have to make sure the variables are allocated on the right place, according to the master's commands and modbus' addresses, right?- I read something related to the frames sended by the slave as responses for each master's command, am I supposed to write some code to do this task or it is done automatically?- Imagine the master is using the "Read coils" command, in OMRON there are 4 memory area associated to this data model "Coil" by default it is associated to CIO area, can i switch in the slave to Holding area without problem?Sorry about my english and this extensive text. Thanks.
  2. Combination Input

    Hi.. I'm new into PLC programming so I dont really know much how to program.. So hopefully there is someone out there that can help me with this or give me some ideas.. Here is the problem; I got 2 inputs signal, A & B.. from this 2 input signal, there will be variable combination of 4 inputs and it will produce different output let say in condition; 1. AAAB - Output 1 2. AABA - Output 2 3. AABB - Output 3 4. ABAA - Output 4 . . . n. BBBB - Output n   I'm open to any suggestion and ideas for this.. Btw I'm using OMRON CP1H for this one..  Thank you
  3. i want to connect omron vision controller fh l550 with Soft PLC (IPC) from Siemens  through Ethernet or  RS232c interfaces, should i use a unit for the communication or can i directly connect the Omron Controller with IPC ?  the IPC is connected with other devices via profibus .
  4. Cannot Connect to CP1L-E

    Hi guys,     I was programming my CP1L-E over ethernet with no issues at all. I did get an error when uploading my program regarding cycle time, so I went into PLC->Settings->Timings and changed both values to maximum (4000*10ms watch cycle time and 32000ms constant cycle time). Once I restarted the plc it just wouldn't connect. I've tried option cards CP1W-DAM01, CP1W-CIF41, CP1W-EIP21 and i just cannot get comms with the PLC. I can see the CP1W-EIP21 card on my computer, however,, in its own IP address. From what ive figured, the plc is getting stuck somewhere in its boot cycle as I am unable to ping it either. The POWER and RUN lights are both green, and the LNK/ACT light flashes when i connect an ethernet cable to the inbuilt ethernet port. Any help is appreciated, thank you! Any way to factory reset the whole plc or even just the settings? I've disconnected the battery for 30 minutes before plugging it back in aswell but that did not help me.
  5. Hello Everyone, I am studying the overview of the CIP Message Communications in Omron's "NJ/NX-series CPU Unit Built-in EtehrNEt/IP Port User's Manual"  but not all is clear for me. Could anyone suport me with the WireShark's capture of the PC <-> Omron NJ  CIP communication session  ? I'd like to see in 'real' world the CIP packets used to read/write of Omron's NJ Global variables.   Thanks in advance Zbyszek  
  6. Input Name of User in CP1E

    Hello, my name is Danu. I have a project to print label to SATO printer with CP1E from my weighing scale. I can print weight data in label, and i think i dont have a problem with SATO and weighing scale. My question is, can CP1E input the name of user with keyboard or HMI (especially NB7W (because i just have NB7W)) and save it in memory in CP1E? because i want print a label with name of user, weight data, and name of goods. And my second question is, Does Omron PLC have a type that has 3 RS232 or 1 RS232 with 2 optional board for RS485 (CP1W-CIF11) and RS232 (CP1W-CIF01) ? Thank you.
  7. Hallo, i want to connect Omron PLC CP1E use CP1W-CIF11 to AD4329A with RS485 communication.  my wiring is CP1w-CIF11     AD4329A SDA-                  SDA & RDA SDB-                 SDB & RDB and until now, i cant get data from AD4329A. Do you have any clue for this project?   Thank you Riandanu PLC to 4329A coba.cxp ad4329aex.pdf
  8. Omron PLC problem

    Hello, Maybe somebody know why show this error number and that that mean, how solve this problem? I upload video to youtube https://www.youtube.com/watch?v=Leiya_YreeQ
  9. Connecting CPM1 to KEPServerEX5

    Hello there, I'm having a problem with connecting my Omron CPM1 PLC with KEPServerEX5. The problem is that I can't find any drivers that support a serial connection with the CPM1. The only driver that comes close to what I'm looking for is the Omron FINS Serial driver, but that one only supports the following devices: Even if i choose the CVM1 (that has simular TAG-addresses as the CPM1) I can't get any connection because it requires an ID with the following format (UU.AAA.NNN.) and I have no idea where to get this. I also tried to using the U-CON (user-configurable) driver, but I can't figure out how to get this working. I'm running a program in the CPM1 with a Input(00.01) , Output(10.01) and Timer(T000). I used the Transaction Editor to import these tags in KEPWare: I checked the serial port settings and they are correct. The only thing I'm not sure about is the device ID, but I tried 0 until 5 and I don't think it could be any higher than that. I'm hoping any of you guys is experienced with making a serial connection to KEPWare and is able to help me with this problem. Jimmy
  10. Mitsubishi & Omron -OPC-UA - KEPWARE Server

    Hi,In a project I have four Progressive Pressing Machine. Each machine with different PLC like Mitsubishi 'Q00UCPU' with 'QJ71C24N-R4', 'FX-3U-16M', 'FX2N-128MR' and Omron 'CJ2M-CPU13' with 'SCU41-V1' module.Now my task is to connect all PLC with KEPWARE Server through OPC-UA.Note: There is no Ethernet Port available and existing RS232 port are all connected to all respective HMI'sIn this scenario, I would like to know, do all the PLC that i have mentioned above supports OPC-UA through Ethernet if i add a new Ethernet module to each PLC. So the data transmission will be faster or else should I buy RS232 serial communication module to communicate through OPC-UA.And also i would like to know, what kind of "Industrial Switch" will be perfect for this application.Kindly suggest a best way to prove myself.Thanks in advance
  11. I am trying to communicate to a AB 1738-AENTR on a OMRON ethernet/ip network. I have configured the AENTR module through the web browser and have been using Omron's Network Configuration tool to set up the network. I can see the AENTR but cant seem to communicate to it. I think this has something to do with the input and output byte size? Does anyone out there have any experience in setting up a 1738-AENTR in a OMRON system? If so, how do I determine what the proper byte size is? Also, is there something else I should be doing to get the module working?
  12. Hi, I would like to know if it is possible to send files (pictures, csv, etc) to the memory card (CF) of a Omron HMI (serie NS) from my computer using FINS Commands. I am not able to find a manual with the FINS commands for a NS HMI. But I think it should be possible. Thanks.
  13. Are there any current recipe examples for omron na hmı?Are there any current recipe examples for omron na hmı?Are there any current recipe examples for omron na hmı?
  14. Hey was just curious if anyone has come across the error message for Sysmac Studio posted. I have uploaded an image. Essentially what happened was I was using sysmac studio, went for lunch and it wouldn't open when I got back. I uninstalled v1.23, ran the remover (1901) and reinstalled it. Still could not open without the error. I uninstalled and tried installing V1.13 (oldest one I have) and again am getting the error. Any help would be much appreciated. Thanks, DJ  
  15. Hello, In sysmac studio, for a NA hmi, is there a way to access a button in Visual basic from a global subroutine ? I always get this when i compile : error BC30456: 'MyPage' is not a member of 'My_NA_HMI'. the code is : My_NA_HMI.MyPage.myButton.IsEnabled = True   Regards,
  16. Hi everyone; I want to communication Omron NB series HMI with Allen Bradley Micro 830 PLC. I don't know is it possible. İf its that possible, help me please..
  17. I have a NB7W HMI connected to a CPIH over RS232. I'm connected to the HMI over USB and when I try to download my project, it starts the downloading GUI process and fails at a random time and shows a popup that says "data reading error". The HMI is locked up at this point and needs to be restarted. This is a fresh HMI and has not previously had a program on it. I created a blank project to make sure I didn't do anything weird in my program, but got the same result when I tried to download. Has anyone experienced something like this before? Its made it as far as 50%, and has also failed almost immediately.   Thanks in advance. 
  18. Hi, Now I am using Sysmac Studio - NA HMI. I am facing the problem of Data edit tool here I am unable to give Indirect address. Like this address HM15_Recipe_hmi(Index_No).SetPoint_1 But If I give direct Address its working HM15_Recipe_hmi(8).SetPoint_1   I Hope someone give the solution.    
  19. Internal function block variables

    I have a function block where the first internal variable is showing as address H1420 in the Global Symbol table. When I add another retained variable to the function block then save and compile the code, the variable address in the global symbol table shifts from H1420 to H1488.  I need to retain the address as I will be downloading code and I need to ensure the address if H1420 stays with that variable.    Can anyone help with this?
  20. Hi,  I want to use the servo drive in internally speed control, how can I change the motor direction? Do you help me for wiring and parameter settings please.  
  21. Hello to everybody,   I have another question relative sysmac studio. When I close and open SysmacStudio and open project, each time HMI reset update rates to 500ms for my variable in global variables list. I have regular variables with standard types and few structures that I pulled out from PLC. everything works. But I need to change some update rates for my variables and it's taking time to do it each single day when I need touch HMI program.   Any opinion what may be wrong?   Thanks in advance! 
  22. Hello to everybody, I have a project with NJ-101, 7 MX-2 VFD and ECC-202 with safety CPU SL-3300 and few I/O slices. Till today I did not have problem to build my project. All day long today I'm receiving and  error during the rebuild. It's says that my DataTypes section got failed during the build and only 1 error message I have: An exception such as memory shortage has occurred. I check memory usage,  it's not even load on half. Manual says that I need to split ladder programs or reduce amount of Global Variables. I do have some custom structures and 1 union, don't think that it cause the problem. DataType section uploaded in excel file. Does anybody has experienced similar issue? And what is the solution for the problem? I'm using SysmacStudio 1.26 with Windows10 x64 Regards, Scotty DataTypes.xlsx
  23. Omron CJ1m - bluetooth connect

    Hi, I write app to smartphone to communication omron CJ1m and Android. I want to connect devices by standard bluetooth. I plug in bluetooth adapter directly to omron RS232.  I want to ask you, how i can connect by FINS command. Bluetooth device baud rate is set 9600. If i connect to omron, i sent code: "AC01" and i sent how long as omron return me "AC01" ?? And what's next command i sent? If I want read CIO 10 i sent: "0101B000000A" ? and FCS and "*" ?? how i calculate FSC? Is it XOR my data sent? 
  24. Lets say I worked in a factory that made multiple models of parts. I need to run data tracing on the off shift due to certain models only running on 2nd and 3rd shift. I want one data trace to capture one group of bits at Model 1, Then reset the Data Points and run again for Model 2, Model 3 and so on. So the Bits that I am mapping with the trace need to change.  I can change the trigger easy enough with my program. I see in the manual the CPU has a "separate memory area" for trace settings. Can this area be accessed from the Program so I can set my bit addresses to monitor to a word or E_?   See attached pic for clarification of what I aim to change through the program.   
  25. Omron Function Block variables

    Hello all.  I posted earlier in the week regarding downloading new code to an Omron PLC, but I think the question was a bit vague. As a follow up, and hopefully to clarify, I have the following query. I have created an upgraded program which will be downloaded by field techs using memory cassettes. The revised area of code is essentially a Function Block which amends service lamp behaviour, and in creating it, I have amended the existing function block and added new Internal variables. Is there any way I can ensure that the new variables don''t over write or move the existing  variables in the PLC, because this is what is happening when I download it.    HELP!!!!!!!!!