MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About APerez

  • Rank
    Hi, I am New!

Profile Information

  • Country Spain
  1. CJ1M+ETN21 Modbus TCP

    Hello, I try to establish the Modbus communication between a CJ1M+ETN21 and a gateway. I tested the gateway using another program (kepserver driver). In the CJ1M I use the FBs you use in this post but cant open the soket. Show error 49h. In MUX1_Open I put: 1- Unit 0 (the ETN21 unit number)   2- Soket 1 3- KeepAlive 1 4- TCP Port 502 5-  Gateway IP 6-  Gateway Port 502 Any idea about the possible problem.... Thanks for all.
  2. Connect a CJ1M-ETN21 as slave Modbus TCP

    Hello Wasan, thanks for your answer. But I really need to use the CJ1w-ETN21 as client (ask the gateway for information). The only blocks I found in myomron was the ones I mention in the first comment, and I don't found the way to put them on. Supposed with MTCP_ETN_Connect you put the IP address of the server and activate EN, and the connection go ON, but the FB don't connect and don't show errors.
  3. Hello, I'm trying to connect a CJ1M-ETN21 as slave Modbus TCP with a Modbus/Dali Gateway. I download from Omron website some FB with ones should be possible.   https://www.myomron.com/index.php?action=kb&article=1245 The FB only can be used with the direction unit 0, but we can change some directions inside the FB and can be adjusted to other units. In the download I found this FB: MTCP_ETN_Connect, MTCP_ETN_Fn01, MTCP_ETN_Fn02, MTCP_ETN_Fn03 .... Supposed with connect we can establish the connection with the master, but the FB never make nothing. Should I make some special configurations to use this FB? I appreciate any help. Thanks