manowar

MrPLC Member
  • Content count

    76
  • Joined

  • Last visited

Everything posted by manowar

  1. CJ1M+ETN21 Modbus TCP

    Hello. I'm trying to use Omron ETN21 as master for ModbusTCP protocol. I can communicate with 1 SLAVE UNIT (standard modbusTCP slave) using FB MTCP_ETN_Client.zip  from https://www.myomron.com/index.php?action=kb&article=1245. It works perfectly. But I have three SLAVE UNITS to communicate to. I'm trying to do this using [524]Modbus_TCP_FB.zip sample. I have copied SECTION1 to SECTION2 and changed IP number and SOCKET number. But this doesn't work. I would realy appriciate a working sample where OMRON PLC is MASTER for THREE (or more) SLAVES. I'm attaching code file... Thanks. Best regards, Andrej. Modbus_TCP_FB.cxp Modbus_TCP_FB.opt
  2. Hello.   I'm trying to communicate between two PLC's  using FINS function block _CPU011:ReceiveData.   PLC1: IP 192.168.1.50 (MASTER)   PLC2:IP 192.168.1.51 (SLAVE)   If I don't use »IP Address Table« everything works using NODE number &51.       The problem is that on the real project these two PLC's will be on different subnet.   For example:   PLC1: IP 192.168.1.50   PLC2: IP 192.168.2.50   So I will have to use »IP Address Table« to achieve communication between these two PLC's.   I tried to sett IP Address Table on MASTER: Node 1=192.168.2.50   But If I try to communicate I see that packet is sended to network but I've got error #1005.   Do I have to sett the SLAVE IP Address Table?   Hoe to do this?   What are the right settings for MASTER and SLAVE IP Address Table?     I'm attaching pictures of CARD settings.  I don't want to use CX-Integrator because I would like to make project to UPLOAD and forget.       Thanks.  
  3. FINS over Network

    Hello. I'm trying to talk with different OMRON PLCs over network. You can do this using SEND(090)/RECV(098)/CMND(490). I can't find any FB using IP of destination PLC. From what I have read about FINS you only define: - Destination network number - Destination unit address - Destination node number The problem is, that I have the same node number in different IP ranges. For example: -          IP 192.168.1.10 (PLC Node:10) - Master -          IP 192.168.1.50 (PLC Node:50) - Slave -          IP 192.168.2.50 (PLC Node:50) - Slave -          IP 192.168.3.50 (PLC Node:50) - Slave How can I comunicate from master to slaves wich uses the same Node number 50? Where can I define IP Address of slave unit? I can see that Multiway is doing that without problems. Please help.
  4. FINS SLAVE EMULATOR

    Hello. Does anyone know if FINS SLAVE EMULATOR exists? (Like Modbus Slave). I need it to test communications through UDP network. Thanks. Best regards.
  5. FINS over Network

    I can't put them in the same subnet. It is large existing system with different locations wich are separated by 3th IP number (1,2,3,...).  
  6. FINS over Network

    I guess I have to write "IP Address table" in ETN settings. For example:  - Node 2 =  192.168.1.50  - Node 3 =  192.168.2.50  - Node 4 =  192.168.3.50 And then use the NODE number as comunicating Address. Best regards.
  7. Hello. Recently I created two projects which I later connected with INCLUDE property. Let's say we have Project_1 and Project_2. In Project_1 I include Project_2. Everything works except Trend Groups. The only trend group which is working is the one in Project_1. I know I can copy Trend Group definition to Project_1 but then these two projects are not independent anymore. Did someone come to some kind of solution? Thanks
  8. Hello. How can I copy / paste more than one section from one CX-Programer Project to another project opened in another CX-Programer? Thanks. 
  9. CX-Programer Copy/Paste Sections

    Sorry to hear that... Maybe OMRON will make update
  10. Hello. I recently updated CX-Programer. Now I'm having problem change instruction by clicing it. For example: In leadder I have allready instruction <=. In older version I just double click on instruction and change text to >=. Now I can't do it anymore (see picture).  I just CAN'T select just a part of instruction text. HOw can I disable this "NEW" feature of CX-Programer? Thanks.
  11. CX-Programer 9.54 - Instruction input problem

    I've got it.... Just change SMART INPUT MODE to CLASIC INPUT MODE..... Best regards.
  12. Hello. I'm trying to use index addressing inside function block.  The command *D200 doesn't work. Is it necessary to use IR0, ID0,... inside function block? Thanks. Best regards
  13. CJ1M+ETN21 Modbus TCP

    Hello. Thanks for answer. By multiple devices you mean maximum of 8 devices? This is the limit of available sockets. If you can send me an example it would be a great help. Thanks. Best regards.
  14. Hello.   I have a question regarding NB series display. The comunication is made through RS232 / RS485 comunication. I would like to use NB display as MODBUS MASTER and SLAVE aplication. - Display would work as MADBUS-MOSTER to talk to plc controllers. (Working through COM2 - RS485) - Secondly, Display would work as MODBUS-SLAVE to talk with (SCADA). (Working – Registers LW, LB))   What I have trouble with, is: - I would like to change variable in the PLC - for example : Regime_PUMP (address: 0x0001). - Regime_PUMP variable should be settable from all three devices PLC <-> DISPLAY <-> SCADA So: - If I change Regime_PUMP through PLC it should refresh also on DISPLAY and SCADA. - If I change Regime_PUMP through DISPLAY it should refresh also on PLC and SCADA. - If I change Regime_PUMP through SCADA it should refresh also on DISPLAY and PLC.   Does anybody have an example for NB series of display to do this?   Best regards.
  15. Hello. I'm strugeling to setup communication betwen NS5-TQ11B-V2 and CJ1M ETN via Internet/IP. I have configured PLC: IP: 192.168.1.1 (Node Nr:1) I have configured HMI: IP:192.168.1.2 (Node Nr:2) But I can't get it to work. I See flashing leds on PLC (RD / SD) so the PLC must be answering. But on display I get Time-out error... What am I doing wrong?   Best regards.
  16. NS5-TQ11B-V2 and CJ1M ETN Internet/IP settings

    Yes. ETN does NOT support Ethernet/IP. You have to use FINS. You have to set node number via CX-Integrator. It is working now. Best regards.
  17. Omron Modbus Slave on Ethernet

    Hello. Since you are using CJ1M-CPU1X-ETN...... I have spend two hours trying to communicete with MODBUS/TCP slave device. Then I have read: "The built in Ethernet cards inside CJ1M-CPUxxETN do not support TCP or UDP Socket Services." link: http://www.myomron.com/index.php?action=kb&article=53
  18. Hello. I'm having another issue regarding NT2S Display. Again I'm trying to convert my old project I made in NT2-ST software to NTXS software. I'm now having problems with: how to automatic go to screen1, if user doesn’t press any key for let's say 2 minutes? In old SW I have constantly checking DM00000 (screen trigger register) in PLC. If screen reg didn't change for 2 minutes I have write 1 to DM00000 (screen trigger register). With new software you cannot write to screen register directly. Or am I wrong? Did anyone do this function using NTXS software? Best regards.
  19. NT2S Display - LOOP

    OK. I have figured out. You have to do it manually. At the last screen you add function to NEXT button (go to first screen in a LOOP) At the first screen you add function to PREV button (go to last screen in a LOOP). Best regards.
  20. NT2S Display - LOOP

    Hello. I have switched from NT2-ST software to NTXS. Now I'm having one small problem. In old software (NT2-ST) I had special screen called LOOP. You defined screens in this LOOP and the display would stay in this loop (using buttons NEXT/PREV) In newer software (NTXS) I can't find anything similar. Do I have to make LOOPS inside PLC to modify STR register? Or define a BUTTON Function on EVERY SCREEN? This would make a nightmare. Thanks. Best regards.
  21. Hello. I have a problem with communication failing. I have the configuration as below: - CJ1M CPU11-ETN - 2 x Display NB7W The connection is made through ethernet Now the problem is: if I connect just one display, everything is OK When I connect the second display (different IP, different FINS port) the communication problems start. It looks like one display is interfering with the other and vice versa... Is there somekind of sollution to use two IP displays with one plc? Best regards...
  22. CJ1M+ETN + Two NB7W Display

    Hello. I hope that you solved your problem, since I haven’t been on forum for quite some time now. Anyway... You create ONE project for both HMI-s. ******HMI1******************************************************************** Then you click on "Communication settings" Then you set the IP addresses for PLC (for example: 192.168.1.50) Then you set the IP addresses for HMI (for example: 192.168.1.51) Then you set NODE NUMBER FOR PLC (in my example NODE=1) Then you set NODE NUMBER FOR HMI (in my example NODE=2) Save Project COMPILE-->UPLOAD TO HMI1 ******HMI2******************************************************************** Click on "Communication settings" Then you set the IP addresses for PLC (for example: 192.168.1.50) Then you set the IP addresses for HMI (for example: 192.168.1.52) Then you set NODE NUMBER FOR PLC (in my example NODE=1) Then you set NODE NUMBER FOR HMI (in my example NODE=3) COMPILE-->UPLOAD TO HMI2 And you’re done. Best regards.
  23. CITECT

    Hello. First, sorry about my poor english. I'm trying to add all variables (values) on page while running citect scada. I tried this with DspText() function, but I can't include X,Y coordinates where to put this text. What I would like to do is: - On a page i would click a button. - With this button I would start Cicode function - Cicode function would read all variables in var_list.dbf using DevOpen command (this is allready working). - At the same time, the function would draw value of each variable on page (using some increment function for X, Y coordinates). - Like in Visual basic's command Dim c As Control ' Create and add the new control. Set c = Controls.Add("VB.TextBox", "Text1") ' Make the new control visible. c.Visible = True ' Set the initial text. c.Text = "Hello" Can something be done in CITECT? Thanks.
  24. SCU41-V1 2-WIRE

    Hello. This is old topic find on: http://forums.mrplc.com/index.php?showtopic=14004&st=0&p=68824&hl=2-wire&fromsearch=1entry68824 Equipment: Cj1m Cpu11, SCU41-V1, MOXA Nport 5150 (2-wire setting), Multiway (from Viskovič). The problem persists. Does anybody manage to use SCU41 in 2-wire SLAVE mode? I just cant make it to work.... In 4-Wire mode everything works perfectly.... 2-wire settings: Switch of SCU to 2-wire, MOXA set to RS485 2-Wire 4-wire settings: Switch of SCU to 4-wire, MOXA set to RS485 4-Wire I have also played with different setting for CTS but nothing works.... Below are pictures of comm with 2-wire and comm with 4-wire
  25. OMRON NB Pool-Time

    Hello. Is it possible to reduce pull-time of refreshing variables read by NB display? I'm thinking of using GRPS communication between PLC and NB display. But at the current refresh time the GSM traffic (costs) would be too large. Best regards.