CMND - FINS Communications - CJ OMRON

CX-One, CX programmer, NTST, Syswin ....
ctor
Posts: 3
Joined: Fri Dec 18, 2020 12:14 am

CMND - FINS Communications - CJ OMRON

Post by ctor »

Hi all,

I am trying to modify the date and time of several PLCs from other PLC. Them are all CJ2M, and they are all in the same ethernet network (192.168.100.xx) and in the same FINS network (#1).

I am doing it using the FINS command 07 02 ("CLOCK WRITE") with the CMND2 instruction. It is not working entirely: the clock time is being modified at the specified node; however, I do not get the FINS response (expected 07 02 00 00). If I modify the number of retries of the CMND2, the command is repeated all the specified retries though the clock was already written on the first try.

The D+0 and D+1 (response channels) are always #0; nevertheless, the I+1 ("Communication Completion Code" channel) allways receives #205. Acording to the manuals, this code is for "Response Timeout".

I have tested it with 10 retries and with 10.0 seconds of monitoring response time, but it is working in the same way: the clock is modified fast enough, but I am not getting the FINS Response and the I+0.00 bit is ON after 100 seconds...

I have been also doing tests with the OMRON's Etherway Software, sending the same FINS command, and here I am getting the response properly. (???)

I would say the FINS network was set-up correctly. All the PLC were set in network #1 with Cx-Integrator. In fact, they are currently sharing several channels using the SEND command on this network #1. I don't know what I am not doing right...

Any idea?

In the following link you can find the ladder.
https://forums.mrplc.com/index.php?/top ... mnd2-fins/

Thanks a lot.
Best regards.
defo2004
Posts: 70
Joined: Wed Aug 05, 2015 5:33 am

Re: CMND - FINS Communications - CJ OMRON

Post by defo2004 »

ctor wrote: Tue Jun 06, 2023 12:29 pm Any idea?


Hi!
Perhaps I didn't quite understand your task of editing over the real-time clock network in PLC via PLC...
There are FINS commands for reading writing hours and dates:
CLOCK READ 0701 CLOCK WRITE 07 02

(thnx)