Sign in to follow this  
Followers 0
roopesh.meleth

Host link control for Omron CP1E using C code/ Fins commands

4 posts in this topic

Hello admin, Im new to PLC domain , i have one OMRON CP1E N30 with in built RS 232 port and ladder program to run in Homing and forward and reverse motion. I want to control the PLC from a computer using RS 232 communication. From what little i read from manual supplied for programming ,i came to know that there are two type of commands C mode as well as Fins commands. My doubt is whether these commands can read/write CIO memory addresses that are used to set and reset the motor enable/disable in ladder program through CX programmer software? for example: in my ladder program CIO memory address 30.00 is the motor enable/disable address so if i want to control externally from a PC to enable/disable the motor ,which commands should i use and is there a format to send these commands as well as the value. I am planning to build a GUI in Labview to cotrol the PLC via Serial RS 232 . How can i do it ? Thanks in advance.

Share this post


Link to post
Share on other sites
Use C-Mode Host Link commands to do what you want. The port can be set up as Host Link and it will respond to the published c-mode host link commands.

Share this post


Link to post
Share on other sites
http://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/ You can use any language to communicate host link. The above link will show you how to use VBA in Excel to get data. Hope this helps, Garry www.accautomation.ca

Share this post


Link to post
Share on other sites

Posted (edited)

Hello, I'm currently making a project of using a HMI software (Indusoft Web Studio) to communicate with my PLC (CP1E-NA20) from my PC using PLC built in RS232 serial port. It would be a direct connection from my PC to the PLC via serial-USB cable. My question is

1. Do I need to make any ladder program if I just want to read the memory area in my PLC or I can just leave it empty and only upload the PLC setting (Host Link) to the PLC.

2. Does anyone have any example of FINS command ladder code/programming i could use?

3. As I was reading CP series PLC FINS manual (Omron W342), I notice this in the manual:

Quote

It is also possible to send a FINS command frame with a Host Link header
and terminator from a CS/CJ/CP-series (not possible from a CP1E CPU unit)
CPU Unit or NSJ Controller to a host computer connected by Host Link System
(unsolicited communications initiated by a slave).

What does it mean?

Thank You. 

Edited by umar9876

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