Harald_Brueck

MrPLC Member
  • Content count

    69
  • Joined

  • Last visited

Everything posted by Harald_Brueck

  1. RTU Modbus With CJ2M PLC and 3G3RX Drives on RS485

    Yes, easymodbus and sertial gateway with modbus does not work with CJ2M-CPUs-serial interface. You need SCU! You can try also the special version of Refresh-FB: http://www.myomron.com/index.php?action=kb&article=1278
  2. Hi, you have to put ON the "linger" bit in the Keep alive definition during TCP open. FBs do not accept the linger bit, you have to modify the FBs. Harald P.S. nobody likes resetting the whole unit.
  3. UDP communications problem

    Hi, of course, a PC can send and receive on the same port number, only it seems, you don't know how to do it? In FINS-communication only one should be active (the PC/ it is the client), the PLC should only answer questions(server). If the PC waits on something changing in the PLC it should poll. A SEND should go to annother PLC, not to the PC. A PLC has a FINS-Server and FINS-client. If you want to send a SEND also to the PC you have to program a FINS-Server also. And then it has to have the same port number. May be it is easier for you, to program a TCP-FINS-Client with one port number and additionally an UDP-FINS-Server with annother port number? (SEND is always UDP only)
  4. CJ2M Ethernet/IP

    Sorry, I also misunderstood the original question. I cannot help you with EIP compatible messages. I am only familiar with FINS messages, Multiway and the manual W342 could help you. http://support-omron.fr/MultiwayE.php
  5. CJ2M Ethernet/IP

    Hi, yes, a good point of ETN21 was, it was possible to configure over the Ethernet itself with a browser. With EIP you need to send a FINS or CIP message to the EIP-module itself. It is difficult but not impossible to create such a message with socket service.
  6. remote access via VPN and sending data between PLC in LAN

    Hi, the screenshot shows the IP-address table, not the FINS routing table. You have not enabled the table. Please set 'Combined' under Conversion. The IP-address table is only needed, if you would like to download new NS-projects with CX-Designer. In all other cases you can use also Ethernet/TCP and you don't have to care about FINS node numbers.
  7. Can I use MOVR in Functional Block, without AT settings?

    Hi, the correct instruction to find out the address of a variable in a FB is GETID. It works also with non absolut addressing. Please see the Omron-FBs from the library for example. (Sorry, they are not easy to understand) Harald
  8. VPN, CX programmer, scada - access via ethernet

    If the Visualisation would be an OMRON Software, or making communication via CX-Server OPC, the CX-Server would handle the multiple access. If UDP port 9600 is occupied by your Visu-Software, still TCP port 9600 is free for OMRON Software. Choose "Ethernet FINS/TCP" instead of "Ethernet" as Network on your Omron-Software. (Or the other way arround) Regards
  9. FB + structured text and array question

    Hi, you can define an array as IN/OUT in the FB. (Not possible with old CX-P versions)
  10. VCTF cable for Compobus/S and CompoNet

    Yes this is correct, it has to be 0.75 sqmm. It can be also normal electrical or audio cable. It has to be below 25 Ohm per km. No Impedance specified, so all possible. I made some tests, cable with 0.75 sqmm works better than thin communication cable!
  11. Supervisor v2.1

    Sorry, correct is to use a minus sign in Supervisor for the bank number behind the address, so address 100 on bank E1 is E00100-1 Harald
  12. PC LINK UNITS

    Please try to download W135 from www.omron.ca On page 8 you see multilevel is , if you have one PLC with 2 PCLink units. switch settings begin at page 25. Wiring is on page 39 connect a shielded twisted pair 5 - 5 - 5 - (B= + ) 9 - 9 - 9 - (A = - ) (Shield on FG)
  13. Supervisor v2.1

    NO NO NO E=0_0 is good. CX-Supervisor works fine also with EM-banks, if I am not wrong, you have to specify only first the address and then the bank number e.g. for address 100 on bank 0 it is E100_0
  14. FB Udp_Send help please

    Hi, please try to use IP-addresses without Zeroes. An UDP-Send to e.g. 192.168.0.12 does not work. (FB bug)
  15. Ethernet Network (CJ1, C200HX, RsView32)

    Hi, C200HX does not support FINS, but Hostlink. The ETN-to-serial-converter will provide a driver software on your PC to have a virtual COM-port. You can access the C200HX through the OPC-Server Host Link, the virtual COM-port, ETN, ETN-serial converter, RS232-port on the C200HX. The CJ1M- can be accessed through the OPC-server-Omron-FINS-Ethernet Harald
  16. CP1L

    In the PLCs ladder program, a DATE instruction has to be used. Please see W451-E1-03 chapter 3-26-5
  17. serial string parsing

    Hi Tim, I hope you have a version 4 -CPU with FIND$ - instruction (660) and there are no Null (0x00)-characters in the string. You have to delete the words (BSET) before the ascii string is read into the memory (RxDU). Then you can use FIND$ instruction. The string to find will be the space = "20" (behind it, a Null character should be put to identify the end of the string.) "00" = "2000" After it has found a position with a space character you have to shorten the string with the unwanted characters and start the "find$" again until the desired position is found. See W340 for all available string instructions. Harald
  18. Serial Bluetooth interface

    Hi, I think threshold for frame length is about 360.
  19. Serial Bluetooth interface

    Can you try annother PC?
  20. Westermo TDW33

    Hi Fred, I have also TDW33 here. Some configurations are difficult to establish. To help you in your special case, I need more information: What PLC, CJ1M ? which port, peripheral ? what protocol, toolbus? what baudrate, 115 200? what cable, CS1W-CN118 and special cable with handshake? what CX-Server-Version do you have? For a toolbus connection, you have to set the modem with handshake &k3. The port in the PLC has to be set to Toolbus 115kBaud. And DIP 4 has to be ON for my configuration. After connection to the remote modem my CX-Programmer shows an error, if I type then "RETRY" it works. Only Upload of the program does not work. If you change the settings of the frame length to only 360 instead of over 1000, then everything works also with new modems like TDW33. (Today I tested Insys modem 56k small, and it reacts the same, I think all new industrial modems will) Harald
  21. How to scan Input words bit by bit

    Hi ngo4live, a kind of indirect addressing is offered by the instructions COLL(81) and DIST(80). You could use the instruction COLL to copy different words to a "work word" . But maybe just program some LINE or COLM-instructions, and indirect addressing is no more needed? The instruction COLM(--) distributes the Bits, like you described. LINE and COLM are expanded instructions, you have to assign it and download the expansion instruction table into the CPU. For COLM(--) see W228-E1-8 chapter 5-19-16. Harald
  22. FINS command; broadcast to all nodes

    Dear Neo, somehow the information is not wrong, but I think you cannot use it for IP-messages on Ethernet. If you might have a PLC with Ethernet and a Controller-Link-Network, you can send from a PLC on the Ethernet to the Gateway-PLC a FINS-message, where you give the network number of CLK as destination network and node number 255, then the message will be broadcasted on all nodes on CLK. That is why you can put 255 as node number. On Ethernet you have the IP-protocol underneeth ot FINS, and there you are not able to put a broadcast address from the PLC-program, I think. Annother solution: Just activate both CMND (FINS-Delivery)-instructions for both Trajexias at once. Just give them different logical communication ports. The ETN21 will be able to handle it. It will wait for the first answer on one logical communication port (A202.x1) and it will wait for the other answer on the other logical communication port (A202.x2) The commands will not exactly arrive at the same time at the both Trajexias, but the time difference will be very smal. In a test I tried to send several FINS messages to a single Trajexia without waiting for the answer, this worked, but after some time the Trajexia had a bit trouble. With two Trajexia it should work. Harald
  23. CJ1M-CPU11/12/13 -Ethernet

    features are in manual W441-E1-1 section 1-2-2 page 5 ! ftp is available with ETN-CJ1Ms Only mail functions and socket service are not available. Harald
  24. FINS SEND(090), CMND(194)

    Hi, the build in RS232 of CJ1M-CPU cannot be used as serial gateway for FINS or Modbus, although you can select this setting in CX-Programmers CPU setup. It is only for Compoway/F protocol. I think what you see is Compoway/F protocol? Why don't you use PC-Link setting for RS232 port?
  25. V700 HMD11 Tag readers on Devicenet

    Hi Joris, here my example, just to give you an impression, how difficult it is. Sorry my example has comments in german, and it was written for C200HG. The customer did not take it, he also prefered a solution, like beegee stated. Harald DRT232_2.txt DRT232_2.cxp