Sign in to follow this  
Followers 0
wrighthm

OMRON PLC's and CITECT Comunication

21 posts in this topic

Hi All; I am struggeling to get my CITECT to talk with my CJ1MCPU12 with ETN21 module. I can ping the IP address from the citect PC and also connect CXONE using ethernet with supplied IP Address. I do not have FINSGATEAY installed as the PC is Windows 8 with CITECT 7.4. Any Ideas would be most welcome as I am drawing a blank. My settings are OMRON ETN21 IP: 192.168.0.3 Unit number: 0 Citect SCADA Primary Server IP: 192.168.0.24 Citect.INI [OMFINS] Source = 1/3/0 (not too sure what this should be...) COMMUNICATION settings: [bOARD] Name: BOARD1 Board Type: TCPIP Address: 0 [PORTS] Name: PORT1_BOARD1 Board name: BOARD1 Special Opt: -I192.168.0.3 -P9600 -U [i/O DEVICES] Name: Internal Number: 1 Address: 1/3/0/S Protocol: OMFINS3 Port Name: PORT1_BOARD1 Startup Mode: Primary Prioirity: 1 Memory: True

Share this post


Link to post
Share on other sites
Did you set rotary switches for node number on ETN21 to 03 (last octet of IP address)?

Share this post


Link to post
Share on other sites
Hi and thanks for the reply, Yes its set for "3" and can be pinged on 192.168.0.3, Also when connecting CX one with Ethernet which it does it confirms that IP address and Fins network 1, node 3. Kindest Regards Howard

Share this post


Link to post
Share on other sites
Hi Howard, Have a read through this thread http://forums.mrplc.com/index.php?showtopic=24168 It should help you. I will have a look through your settings you posted tonight.

Share this post


Link to post
Share on other sites
I did read this post and hence the format for mine, I could not however solve the issue with the information contained within. Thank you for looking at the problem for me. Kindest Regards Howard

Share this post


Link to post
Share on other sites
You have your citect node address set to the same as the plc node address Change your source= 1/3/0 to 1/24/0 where the 24 is the last octet of the IP address of the citect server Then make sure you have set the etn21 module to be fins network 1 with the routing table editor in cx-p

Share this post


Link to post
Share on other sites
Hi Sparky; I have adjusted the citect.ini file as indicated to now be 0/24/0 and it looks like when citect goes online the CJ1M_Offline error has gone, so great progress. At this time the few tags i inserted to read I/O are all either reading 0 or have no value so there may still be an issue. I believe citect address should just be the plc I/O address e.g 0.00 for my Start DI or 4.00 for my start DO. I will investigate more later but have to take the wife for a C section now. Thank-you for your help Kindest Regards Howard

Share this post


Link to post
Share on other sites
Hi All still trying to get this working. Thanks to Sparky above I no longer have the hardware alarm however no tags seam to be updating. For example I have some Digital I/O at 0.00 for 16 channels in the PLC and a couple of variables in the H0.00 area. I have added these as digital variables in CITECT at 0.00 and in the case of H as HR0.00 yet no tags appear to be updated during operation. Is there something I am missing or is their a fool proof way to verify CITECT is talking to the PLC through Ethernet ? Interestingly I cannot go online with CXone whilst Citect is running. As soon as I stop citect I can work online with CxOne using Ethernet option and supplying Fins network and node. Thanks again team Regards Howard

Share this post


Link to post
Share on other sites
I do not use OMFINS but use FINS Gateway as it leaves me more communications options for other things so probably cannot be of much help. I am working on a job in Canberra with 11 PLCs and Controller Link running between them. Citect and CX-P communicate withe the PLC system via an Ethernet card in the CS1D main PLC that is bridged to the Controller Link network. Each PLC has a multitude of Modbus RTU connections and the CS1D also has a number of standard and Smart Slice CompoNet remote I/O off it as well with quite a few more on the way. Citect is also communicating with power meters using Modbus TCP with a whole heap more to be added. I will have a look and see how it is setup - it may help I do not know but I am certainly not having any issues.

Share this post


Link to post
Share on other sites
You changed source=0/24/0 in your citect.ini Did you also change your I/o devices to reflect fins network 0? Try 0/3/0/s in your I/o devices.

Share this post


Link to post
Share on other sites
Hi, Sorry my Citect.ini is set to 1/24/0 and my PLC is on 1/3/0 ( I Set this using the cxone by right clicking on the plc in the project and setting change. IS there another place in the ETN21 card ? Mine is in ETN21 mode and does not appear to have a FINS node number anywhere? I read somewhere not to use net 0, hence my use of 1? Thanks for helping Regards Howard

Share this post


Link to post
Share on other sites
I think fins network 0 means local network. If you use network 1 then you should assign that network number to the ETN21 using cx-integrator -> routing table, as it is mentioned by chelton above.

Share this post


Link to post
Share on other sites
Hi, CX Integrator shows the network as 1 and the node as 3, Citect will still not connect, I used the included routing tool which also shows no errors. Thank you

Share this post


Link to post
Share on other sites
On your first post you show I/o devices memory set for true? Are you changing this back to false or selecting "blank" the default is false. Memory mode is for testing and will not communicate with the io device.

Share this post


Link to post
Share on other sites
Memory is currently set to "Blank" I did have it as true at one point but moved it back to blank to align with advice. Thnaks for looking in to this

Share this post


Link to post
Share on other sites
Can you backup and post your citect project so we can have a look. What version of citect are you using?

Share this post


Link to post
Share on other sites
Geez - if it is a new project it has support. Contact the Citect support people.

Share this post


Link to post
Share on other sites
Thanks Bob B, I am only new and I read many of the posts as a leaning tool, your comment above cannot assist my education, support and guidance, thank you for reading my issues regardless. I am using a demo version of 7.4 for development and education hence the simple configuration. I cannot find how to upload the file in here, it has a media button which seams to go to a repository but no idea how to add to that repository. I have placed in dropbox at https://www.dropbox.com/s/6915cmsvsphqg3p/PLC%20Training.zip?dl=0 Thank you for continuing to assist me Howard

Share this post


Link to post
Share on other sites
You have not defined any network addresses in citect. Create an entry to the loop back interface called "localhost" with the address 127.0.0.1. Then in the alarm/report/trend/IOServer menu select the newly created "localhost" address in the network address field.

Share this post


Link to post
Share on other sites
Thank you Chelton; I have created a network localhost with IP address 127.0.0.1 and connected this network to the IOServer, AlarmServer, TrendServer and Report Server. The program compiles OK however on Run I get the following error: "Driver 'FINS3' not initialized" Do you want to shutdown now ? We must be getting closer, Thanks for the help

Share this post


Link to post
Share on other sites
Adding these options to the citect.ini file resolved the communications issue. [OMFINS] Source=1/24/0 IgnoreNonFatalError=0 Delay=20 PollTime=0 Timeout=1000 WatchTime=30

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
Sign in to follow this  
Followers 0