AndrejP

CITECT OMFINS3 Serial

6 posts in this topic

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

 

 

Share this post


Link to post
Share on other sites

Have you had  look at this? https://softwaresupportsp.aveva.com/#/producthub/details?id=abe15288-1322-4707-e2a5-08d8f5e80cc6

I am over the Aveva website crap to be honest - the old website was much better and easier to navigata.

hope this helps.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now