Jump to content

Recommended Posts

Posted

Hello.

I'm having problems communicating with omron CJ1m through SERIAL port.

I'm using OMFINS3 protocol.

Settings:

Citect.ini  Source: 0/10/0  10..Last IP Address (used for TCP/IP)

BOARD: BOARD1, COMx

PORT: PORT1, PORT Nr=1, BOARD1, 9600, 7 ,2, EVEN

DEVICE: OMR_SER, Dev Nr= 1, Address: 0/0/0/S, PROT: OMFINS3, PORT: PORT1

If the Unit number = 0, this works.

If I set the OMRON Unit number = 1, this stops to work. 

I figured out (using Multiway) that the problem is in FINS HOSTLINK HEADER NODE (Node = 0) 

[10:22:07,273]  <--:@00FA080000300000000010007010182000100000372*<CR>
[!]: No response

If I change the FINS HOSTLINK HEADER NODE (Node = 1)  it WORKS.

[10:31:32,336]  <--:@01FA08000030000000001000801018200010000037C*<CR>
[10:31:32,445]  -->:@01FA00C0000200010000000008010100008830000000003D*<CR>

The problem is, that I don't know where can I change the FINS HOSTLINK HEADER NODE in Citect's OMFINS3 driver.

The Citect's OMFINS3 driver always use FINS HOSTLINK HEADER NODE (Node = 0)

Can you help me?

Thanks.

Posted

I don't know much about Citect or its drivers but...

Does Citect have a Host Link driver?

Typically the FINS driver is for Ethernet communications. Since you have a serial port, I would use Host Link if it is available. You can perform FINS inside Host Link commands but I don't think you can perform Host Link inside FINS. Again, I could be wrong.

Posted

Thanks for answer.

I did use Host link. The driver is named OMRON.

The problem is that OMRON driver allow to read A registers from A0 to A27.

I need to read the BATTERY status located on A402.04.

I know I can modify / copy A to HR, but I have quite a lot of PLCs to modify.

BTW: FINS3 support serial communication. You must enter 0/0/0/S for PLC address.

But the problem is in FINS HOSTLINK HEADER NODE (Node = 0) by default and I can't find parameter to change this number.

BR.

 

 

Posted

I'm already using OMRON driver.

But I'm upgrading system from 6.1 to 2020.

The problem is that OMRON driver support AR registers to only AR27.15

I need to read AR402.04 (LOW Battery)

I know I could link AR to HR register but I have a lot of PLCs and not all can be REMOTELY accesed.

In Citect 6.1 there was an easy "hack" to this limitation. You edited OMRON.dbf file.

In Citect 2020 this no longer works.

AR.png

Posted (edited)

There are several Omron drivers for Citect. OMFINS I think is an old one that is why I suggested you have a look at this one.

I could find them all easily on the old website - the Aveva website is a pain in the you know what!

Edited by BobB

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...