pszczepan

MrPLC Member
  • Content count

    438
  • Joined

  • Last visited

Everything posted by pszczepan

  1. NB7 and PLC via RS485

    Today we did really reseach: terminal with third part software checked what is going on Modbus line, digital oscilloscope to check intervals and we found: When I have just one slave connected to panel NB (physically) everything works - reading, writing. When I add slave to bus, frame are sent to slave and slave reply, but panel NB doesn't get this frames and it shows warning - no response. We tried to make changes in setup for port: but without success. In manual i t is not clear what parameters are for. Mostly they should be set automatically, but f.e we checked that reply is on the bus after 10 ms if there is one slave. When bus has another slave the same frame comes back after 30ms even I send exactly the same frame and just to one slave. Maybe you had such NB comm2 behavior in the past and you could get any clue - when it works - now it is completely useless to set NB as a MODBUS master Pawel
  2. NB7 and PLC via RS485

    I have 1 meter distance - CIF11 is up to 50 m JX Inverter and NB panel don't have built-in DIP switches for terminator resistance - maybe it is the reason. What resistors should I add to the line?
  3. NB7 and PLC via RS485

    Really struggling. Next problem. I connected ma cell converter to NB7 without CP1W-CIF11 and it is working. Now I wanted connect inverter JX and still I had no response, but when I connected 6 from NB to SDB+ in CP1W-CIF11 and 8 to SDA- in CIF11 I got communication between NB and Inverter. It is really strange. In PLC I do not have any code to start easy-modbus RTU A640.00 I changed also parameter for CIF11 and it still works - slave and NB works on 19200, CIF11 9600. To set frequency I use AREA 4X and Address 2 Strange is that without connection to CIF11 I can set frequency in Inverter but I do not have reply from Inverter JX - No response info and display on NB doesn't show Inverter frequency. When I connect CIF11 to line everything works like a charm Could you explain that? - It look like CIF11 strengthen signal
  4. NB7 and PLC via RS485

    Hi ! I have another CP1W-CIF01 and I did as ParrafinPower wrote and finally I got response from Cell Converter In NB, but I noticed something strange and I have no idea why. Original software for cell converter connected via RS232,2400 shows value 34056 CP1L using easy modbus RTU from register 40062 - read correctly 34050 ( it is flowing little bit) but NB from the same address read less 34017 - WHY . I checked registers around and values are completely different - so I'm reading correct register, but why value is different. Can you noticed such a thing? My "number display" is declared as: 4X and address 62 displayed as unsigned integer. IS it posible that NB has a bug? Pawel I made some research and values "FLOAT" which I use have difference around +12. f.e If I I read -3.24 by PLC the same value read by NB is -15.09 and If read +330 by PLC I have 318 in NB.
  5. NB7 and PLC via RS485

    YEs it is CP1WCIF11 and I think about your idea: COM2 in NB will talk to modbus slave and COM1 will be used to PLC. I think I cannot use CIF11 because COM1 in NB cannot be RS485 only RS232 - so I have to install CIF01 - right? I have also problem with reply from slave. I made such a configuration: I set cell converter as a node 5 In manual for device I have: ADC_VAL Filtered ADC value R 40062 and if I use PLC to read easy modbus rtu with function 3 and address 3D and 1 word I get response. When I set numeral display like below all the time I get error [1]PLC Response error. Cell Converter has LED RX and TX and they are nicely blinking. Maybe I have to change some other parameters to get response When I tried to set frequency in omron Inverter it worked. thanks for help Pawel
  6. NB7 and PLC via RS485

    I do not now why I got email with reply, but I do not see it in forum: Anyway I got clue from Michael Walsh and he wrote: ".. Why are you using Modbus if you have an Omron NB HMI and an Omron PLC? You do not need to use Modbus. You could use RS422 and Host link to make this connection work. This would be very a very similar setup to using RS232 Host Link with the NB and CJ. .." In my PLC port 1 with RS232 is used by scaner port2 with CJ1W-CIF11 is used as a master for modbus to read values from Cell Converter. I pull data using easy modbus RTU and serial port is set as a Serial Gateway 19200,8,N,1 . In such a case still I can connect NB7 to CIF11 and set HOST Link and use completely different protocol - I doubt
  7. FINS from PLC to C+ application

    Hi, I read and wrote data to PLC from C+ application (PC) using FINS command with succes. In current application I 'd like to sent same data to C+application from PLC to start process. Sure I could read data from PLC but I have to do cyclic to check value in PLC. I prefer just send one FINS command to PC from PLC when I need. How to do that? I know IP of PC - different just last octet. Can I send simply FINS to this PC and what port PC should listning (9600?) to get some data? Thanks for clue Pawel
  8. CP1L - Easy modbus to 3-rd part slave

    I have default values: C076=2 C077=0.0 I noticed that frame is in force exactly 30 seconds. If I send new frame in 29th second I have my frequency another 30 second thanks for clue Pawel
  9. CP1L - Easy modbus to 3-rd part slave

    Hi I used example from the download section easy modbus I wired CP1L and Z-SG (load cell converter). I Set load cell as a node 1 and I see leds on CP1L and Z-SG are blinking - hardware are correct - I think I want to just read register with weight. In Seneca manual I have: WEIGHT_FLOAT_H Register containing the net weight value in technical units of weight (floating point format, most significant word). R 40064 It means register to read address 40064-40001=63= 3F(HEX) So For CP1L application I have: LD P_First_Cycle MOV(21) #0001 D5000 // Port 1 Read Item 1 Node Number MOV(21) #0003 D5001 // Port 1 Read Item 1 Function Code MOV(21) #003F D5002 // Port 1 Read Item 1 Starting Address MOV(21) #0001 D5003 // Port 1 Read Item 1 Number of Coils or Contacts MOV(21) #F000 D5009 // Port 1 Read Item 1 End Code When I run program I have such a values from D5000 in HEX 0001 0003 003E 0001 0000 0000 0000 0000 FFFF F000 Why I have FFFF in D5008 - How I can change it to 0000? Anyway all the time I get error W220 =0103 W221=1388(HEX) W240=0 W241=0 W242=#82 alternate with #81 (seldom) - it means framing/parity error. Do you see mistake which I do? Thanks for clue in advance PAwel
  10. CP1L - Easy modbus to 3-rd part slave

    Thanks PMCR - you were right - I had parity in PLC settings but it should be no parity. By the way I have one more question. Finally I set also frequency in my JX - just sending one frame from D32300 ... and I got this value in inverter, but I noticed that after some time it became "0" even I didn't send any new frame - is it normal? If yes - how often I have to send frame with frequency to get this parameter as long as I want (until next new value will be set in PLC) thanks in advance
  11. CP1L - Easy modbus to 3-rd part slave

    Dip Switches in CP1L are both OFF SW4 i SW5 CIF11 has ON,ON,ON,OFF,ON,ON. Before I had No1(terminator) set to OFF, but no difference. In Z-SG I can also set terminator - now it is OFF I uploaded settings and it is serial gateway, 19200,8,1,E - the same I set in slave. Leds are blinking really fast on PLC and TX and RX in slave (almost the same time). Every scan program I get port error 392.04 switched to ON. HMM I decided also to set connection with JX exactly how it is in tutorial, but in this case COMM led are blinking every 1511 (W216) and I get also A392.04 flag switched ON. HMM
  12. Hi ! It is my first aplication using devicenet. My network will have more slaves. Now I want to start communication with just one V1000 with DeviceNet option card. I connected directly PLC with V1000 using Devicenet cable. Will I establish connection? - I do not have any external supply to the devicenet cable & I do not have any resistor at the end? I prepared devicenet network with my devices: When I try to download parameters to the slave or even NSJW-DRM21 I get message Device state conflict. I am online with NSJ5 via USB cable. What I am doing wrong? Thanks Pawel
  13. cable pin out for E1041

    I found that E-terminal E1041 needs cable CAB5 for serial conecting Do you have pinout for this cable? Thanks
  14. Hi ! I have quite big program about 17 Kwords plus FBs and using toolbus mode with baud rate 115K I have to wait quite a while until all application is downloaded. There are often stops during transfer and later go on. What connection option is the fastest - toolbus, NT-link - what settings? thanks for clue
  15. Data block Group Setting

    I have 120 fields to prepare and it takes a lot time to fill up the data block. Is possible to import these settings from CSV file? Import CSV icon imports recipes, but I want to import first parameters for each field Thanks for clue
  16. Hi I have FB ST prepared for axes and the only difference between them is Array at different Specified address .f.e value[0] is from D0 in one FB and next FB and value[0] is from D8 Now I made FB definition for different axes. Is possible to make specific address as a parameter? It would be useful. - one FB and a few instances. thanks for clue
  17. Hi ! I have PLC and I set IP 172.16.20.4 When My laptop has IP got automaticaly f.e 172.16.20.91 with mask 255.255.224.0 I cannot be online with PLC. When I changed IP in my laptop manually f.e 172.16.20.91 with mask 255.255.255.0 and gate and DNS empty I am online. What I should set in PLC to be online when I get IP automaticaly (with CJ2H-CPU66-EIP I am online in such a case) thanks for clue
  18. NS5 ethernet connection with PC annoying problem

    From which city are you - julek27. I could give you some support in PLC programming
  19. Hi, When I switch ON PLC after a while PLC doesn't make any self-test - since power is ON LED's are like below. TER LED is ON and I cannot even be online with PLC to check errors. If they all are ON it means that CPU is corrupted.
  20. NTST on Windows XP

    Have you used NT ST installed on WIN7 64 bit system. Recently I changed the PC and I noticed problem with connection via USB-RS232 converter. I installed NT ST 4.8E. Let me know if someone downloaded app from WIN7 64 bit.
  21. Hi, Have you noticed such a behaviour: 1. Win7 and Alps touchpad works 2. plug in USB to serial converter still OK 3. connect to CJ1M via peripheral (CQM1-CIF02 plus adapter to mini) touchpad almost doesn't work - impossible to move the indicator; to work I have to attach external mouse. It looks like some conflict, but Alps driver doesn't show any conflict. When I disconnect CJ1M touchpad works correct Maybe you know the reason or what needs to be test to find out the problem, 64 bit OS - sucks
  22. touchpad breaks during being online with CJ1M

    BobB - maybe touchpad is not the best thing, but what you want use if you are next to the machine, no table and you have to carry laptop in your hand - hmm. PDL, maybe are right. The thing is that it is just happening in one customer. I used laptop on battery - no external supply and touchpad is build-in laptop - just in front of keyboard - regular touchpad supplied from laptop mainboard. CJ1M is a with CPU 12 and the strange is that I have this problem only in this company where 2 CJ1Ms are installed in different places. They look grounded, but maybe company has some problem with ground. In other company with CJ1M installed no problem at all. When I attach external USB mouse the mouse indicator works OK. Strange
  23. Hi I have app made for host link . I want to change protocol to Nt-link. Can I do that in the same project? - I doubt. If I establish new app with NT-link; how I can copy screens and tags between two project - is it possible? thanks for clue
  24. Hi Using XP mode in Win7 and converter USB>RS232 I can be online with PLC using PL7 PRO v. 4.4 Using the same settings I have problem to transfer application from XBT-L1000 to Modicon HMI. First I get info - panel memory erasing and after that - download pages failed. I did it from PC win win XP. I heard that transfer is possible from win 7 32 bit via XP mode. Do you have any experience with Win7 64 bit. thanks in advance for some trick or clue
  25. I installed VMware and Win XP with service pack 3 and not yet success. Transfer application failed. I use USB->RS232 converter made on CHIP FTDI and when I changed chip parameters I got little bit better result but max it was 16% when transfer failed. The same converter and cables and regular win XP 32 bit and perfect transfer without any problem. For me there is some problem with drivers for 64 bit OS. What converter do you use and have you worked exactly with that software XBT-L1000 ?