pszczepan

MrPLC Member
  • Content count

    438
  • Joined

  • Last visited

Everything posted by pszczepan

  1. No-protocol via RS232 does not control device

    I set #FFFF and TXD FB works - thanks. I made the same settings for RXD FB and when I execute the FB it is all the time busy - Even I am sending frames to the PLC via RS232. Could you explain - how it works. I am sending frames 12 bytes long and after 5 bytes(my FB def) it should became OK and from D10 I should have first 5 bytes - correct?
  2. Should work but does not work I set RS232 setup as below: To start inverter I need to send the frame: 02 0A 00 21 00 09 34 80 00 00 01 95 which is from D5000 I used TXD and send &12 bytes from D5000. First I used cable for connection between PC and PLC and I checked what PLC sends: On the right I can find whole frame Plus 0D 0A. I do not know why I have those addition bytes but anyway second byte in frame indicates how many bytes inverter should expect (in my example 10 and 0D 0A is not important) I tested communication between PC and Stoeber using PIN OUT The communciation worked I prepared cable for connection PLC - Stoeber: Inverter: ----------------------------------PLC: 2 (RXD) ------------------------------- 2 (TXD) 4 (TXD) ------------------------------- 3 (RxD) 5 (GND) ------------------------------ 9 (GND) ////// /////////// 4-5 connected I executed TXD instruction but inverter does not want to start. Maybe you noticed any mistake which I did. Thank you in advance
  3. No-protocol via RS232 does not control device

    Finally I got connection. I made a mistake - I soldered GND to 6 not 9 in PLC DB9. Using TXD and RXD I can control device. I found FB to use TXD as below When I read description it should work, but every execution I get Error 80C0 - it is: I/O bus error Do you have idea what can be the reason of that?
  4. CJ1M-CPU12-ETN - ethernet unit setup

    Hi I wanted to setup ETN Unit as it is in manual W441-E1-03, but my unit version is 4.0 and it looks different then in manual for v.3.0 In I/O table I do not have ETHERNET UNIT asyou see below Do you have any experience with Unit v.4.0?
  5. CJ1M-CPU12-ETN - ethernet unit setup

    Resolved I had to add CJ1W-ETN21 ( ETN21-mode) as a unit 00 The strange is that I cannot be online from CX Integrator with CP1M-CPU12-ETN via ethernet. I used exactly the same setup in CX-Programmer and then I had connection without problem. Cx Integrator does not want to establish connection. I do not know why.
  6. SEND via ethernet word from CP1L to NSJ

    Finally I got answer from Omron France. In the past they had exactly the same problem (NSJ didn't set Source node address) and Japan replied: It means that NSJ with build-in ethernet does not support FINS Command To do what I want I need add NS-ETN21. But this needed to be clarify, because NSJ send the FINS request even if the function SEND is not supported. Then PLC answer with an error, but customer think that this should work looking at the Leds blinking. PLC does not execute a FINS request whitout knowing who sent the request. Trajexia execute the request and does not care about the source (??). Thanks for help - especially Lostcontrol
  7. SEND via ethernet word from CP1L to NSJ

    Hi! I want to send for test one word from CP1L to NSJ. My setup: CP1L - CIF41 is in port 1 NSJ I want to send one word from D197 (Cp1L) to D3000 in NSJ. My program for CP1L looks: When I execute the code I do not get any value in NSJ D3000 I am not sure what value should be for Destination unit number in C+2 and Communications port number in C+4 Thanks for clue Pawel
  8. CJ1M-CPU12-ETN - ethernet unit setup

    Resolved I had to add CJ1W-ETN21 ( ETN21-mode) as a unit 00
  9. Need Manual for CS1W-CTS21 SSI Interface

    I have CJ1W-CTS21-E in Slot no. 0 and I want to add this module in IOtable, but I cannot find such a module I use CX-P 9.32 Hmm
  10. I have a few questions about connection. 1) PLC has IP 172.16.20.220 , Scada PC has IP 172.16.20.127 On the PC with running scada software I can not established connection between CX programmer which is installed on the same PC and PLC - first I have to shut off scada software. I tried different ports number but no success. Scada or CX programmer on the same PC can't have connection and the same moment. Is it possible to make connection simultaneously? 2) I have VPN connection and when I'am connected to the LAN I get IP 172.17.20.x Second octet is different and last octet is dynamic and every connection it is changing. In such a situation how I have to set up routing table to get remote access to PLC from Cx programmer? thanks for clue Pawel
  11. SEND via ethernet word from CP1L to NSJ

    Another step I decided to use Wireshark to see what NSJ send via ETN using CMND command What I noticed in FINS command - blue data I send in network 1 data to IP 100 (#64) with unit 00 - it is OK The problem is with Network Source Address - 00 should be #1 and Source Node Address - SA1 - should be 220 (#DC), but it is 00 So that's probably CP1L doesn't reply to CMND command - simply it does not know where should send data. I have no idea why FINS header is wrong I cannot find any place to set it Any ideas?
  12. SEND via ethernet word from CP1L to NSJ

    Some progress, but not yet success The unit must be as I wrote. 01 is wrong. Omron Engineer send me part of manual and there is info: Node address - For ETN Units with model numbers ending in ETN21: 01 - FE HEX - For ETN Units with other numbers: 01 - 7E HEX He suggested that NSJ can have ETN with other numbers and can service just node to #7E. My CP1L had #DB. I changed CP1L IP to 172.16.20.1 with node 1 and I set direct connection in CX designer to node 1 It started working I got on NS panel value from CP1L. The only problem is that if the screen with CP1L value is set on very often I get laud squeal and connection Error. For a screen I changed screen property/ Comm.details/ smart active parts communication to long, but still I got error during communication. Can I fix that? After that I started with PLC now I set CMND instruction to read word from D187 in CP1L in node 1. But I got response # 0101 2108. Do you know what does it mean - In manual W342 - communication commands - there is no error table. Thanks
  13. SEND via ethernet word from CP1L to NSJ

    I can do this changes, but I am not sure if it is incorrect. In manual W452 I found:
  14. SEND via ethernet word from CP1L to NSJ

    I changed routing table for CP1L - Network 1 is connected to 253 was 252 . I have CIF41 in port 1 I tried connect NSJ panel to CP1L but still the same - laud squeal. I changed also word C+4 from #1002 to #0002 but after execution error flag A219.00 is 1 (error) I attached config files (ZIP file) for CP1L ( PLC and routing) NSJ (argip files for CX Integrator ). setup for CP1W-CIF41 I attached below - I do not know how to save settings to file: IP router table is empty IP Address table has values for VPN connection. IP I have no idea what is wrong thanks for time Pawel CP1L_ETN.zip
  15. SEND via ethernet word from CP1L to NSJ

    I added CP1L as below and I prepare 1 numeral display for D187 from CP1L to test connection. During downloading new project I got error and NS make loud squeal So I downloaded previous application without CP1L declaration and no noise and no error . Any other settings? Why word #3 should be #E800. If you mean C+2 word - it is defined: bit 00-07 - Destination unit address - maybe #00 bit 08-15 - destination node address - 219 = #DB - you wrote E8 IP is 172.16.20.219 node 219 I got reply from multiway. Maybe it gives any clue. I have some VPN to connect to this LAN. I could get some specs from IT to start another user thanks Pawel
  16. SEND via ethernet word from CP1L to NSJ

    Does anybody configured CP1L and CP1W-CIF41 to work with SEND. I did what LOSTCONTROL wrote and nothing. 1. I couldn't set routing table via ETN. CX-P can get access, but not CX-NET or CX-Integrator. 2. I connected via USB and I set routing table as below in NSJ ETN is also 1 My NSJ IP is 172.16.20.220 CP1L 172.16.20.219 I am not sure if PORT1 is 252 or 253 - I tested with both option but result was the same - no SEND From Omron support I got info: - CIF41 can only reply to FINS command. So I wrote SEND code for NSJ I changed also mask for NSJ 255.255.255.0 as Omron support suggested Using SEND I want to transfer value from NSJ - D3000 ( &234) to CP1L - D187 but still I have &0 Where is the problem?
  17. SEND via ethernet word from CP1L to NSJ

    I read manual carefully and the routing table should be set from CX-Integrator. So - I would be appreciate your test LOSTCONTOL. Please check if you can be online with CP1H in CX-NET via EThernet. If you set CP1H as a ethernet node I do not have CP1W-CIF41 to choose. How do you configure routing table for CP1H with CP1W-CIF41. For CP1L I do not have even any choice. I have CX-Integrator ver 2.37 thanks in advance
  18. SEND via ethernet word from CP1L to NSJ

    With NSJ I can be online via ethernet in Cx-Net When I try to be online with CP1L with the same settings which I use in CX-PRogrammer for CP1L (then I am online) in CX-Net all the time I have connection failed. Does it mean that to set routing table for CP1L I have to connect via USB - ethernet is not accepted. In Cx-Integrator I cannot even add CP1L Maybe I have to set routing table for CP1L from Web browser? - hmm
  19. SEND via ethernet word from CP1L to NSJ

    After my configuration I have access to both PLC via ETHERNET from CX Programmer. NSJ has a IP 172.16.20.220 CP1L 172.16.20.219 What routing table I should have in CP1L - there are some option but I do not have any example how to set. Pawel
  20. SEND via ethernet word from CP1L to NSJ

    I tried SEND some words from NSJ to CP1L with no success also Otherwise SEND from CP1L to NSJ should work and I do not understand why it is complicating - hm?
  21. CX simulator - problem - CXONE 3.0

    Hi No Error during compiling I am working on some FB Structured text and when I start CX simulator it goes to stop/program. When I try to switch to monitor I got "Communiction Error" = no connection with CX simulator and process CxCPUmain makes 100% of CPU. If I cut off some parts of code I can test this FB - is there some problem with CX simulator? Could you check if you have the same?? FB_structured_test.cxp Thanks Pawel
  22. software to set Profibus network

    I have to control some Inverters via Profibus. What software I need to set up a network. I read about CX Profibus, but CXONE upgrade does not show CX Profibus - only CX Configurator FDT. Is it the same or I have to purchase sth. more? Thanks for clue PAwel
  23. Hi I have alarm window on pop-up screen and it shows up when alarm occured. Is it possible to close the pop-up window automatic when alarm is cancelled? thanks for clue Pawel
  24. Hi ! I want to write program to control motion of Servo motor. I have CX ONE 3.05. What software do I need? Some program example will be useful. thanks in advance
  25. NTC temperature sensor and CP1H

    I do not see card to read NTC sensor directly. How I can read by CP1H temperature using NTC sensor? Thanks for clue