Issues connecting to OMRON CJ2M

81 views
Skip to first unread message

Arjan

unread,
Jan 23, 2024, 8:12:13 AM1/23/24
to libplctag
Hi,
I am trying to connect to a OMRON CJ2M with libplctag by reading some tags however, without success so far.

I attached the tag table I am trying to access.

I read the other posts and tried different combinations (for communication path and tag address) and every time I get a different error:
- If the communication path is 19,<ip_address>  -> TIMEOUT. So this won't work.

- Communication path 1,0 for "path" and CF105 (which is reffered to address/value in the tag table ) for "name". Here I also tried using the tag name itself (P_0_01s) -> PLCTAG_ERR_NOT_FOUND

-  Communication path <18, ip_address> and the tag name instead of address/value -> PLCTAG_ERR_BAD_PARAM

-  Communication path <18, ip_address> and the tag address/value as "name"-> PLCTAG_ERR_BAD_PARAM

Any idea how I can establish the connection?
I am having this issue also with another OMRON CJ2M-CPU63. However, I was able to successfully connect to a CJ2H.
Tags.png

Kyle

unread,
Jan 24, 2024, 12:15:29 PM1/24/24
to libplctag
Hi, thanks for using libplctag!

In order to try to help more, I need to see what tag strings you are using.   I do not have Omron hardware so I cannot test anything here.   Does that particular model completely support CIP?

Best,
Kyle

Leandro

unread,
Jan 24, 2024, 12:27:49 PM1/24/24
to Kyle, libplctag
This family works with Fins protocol not CIP. Only Nx family works with CIP

Regards,

Leandro Coeli 

--
You received this message because you are subscribed to the Google Groups "libplctag" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libplctag+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/libplctag/99891abf-838a-47ef-8bf1-482f1ea8b226n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages