hostlink commands

bloodredsoul

Member
Join Date
Apr 2013
Location
singapore
Posts
15
hi im trying to send hostlink commands to the PLC
can anyone gimme a sample code to start working with?
im using microsoft visual studio express 2012 CLR application
the programming language i would be using is C++/CLI
Some examples of the code in the source

this->button5->Location = System:: Drawing::point(436, 227);
this->button5->Name = L"button5";
this->button5->Size = System:: Drawing::Size(75, 23);
this->button5->TabIndex = 4;
this->button5->Text = L"Exit";
this->button5->UseVisualStyleBackColor = true;
this->button5->Click += gcnew System::EventHandler(this, &MyForm::button5_Click);
 
Last edited:
Hello,

I assume you are asking about the OMRON FINS protocol using a serial port, since you do not say.

All the commands are listed in many documents.

One document is: SYSMAC CS/CJ Series....Communications Commands Reference Manual

Cat. No. W342-E1-07


Or you could be referring to the Sysmac Way protocol, serial only.

Cat. No. W143-E1-6 list all the commands and responses.


Search the web and you will find them.
 
Last edited:
Hello,

<me shaking my head>

Panasonic does not support the host link (Sysmac Way) protocol.

Panasonic uses the MEWTOCOL-COM protocol.
 
Hello,

You are not going to get much help because you are making us pull teeth to get data from you and the data you give is vague and confusing.

It was the fourth post that you told us the PLC Brand. You used the word "hostlink" in your original post, someone tried to help by pointing you at an Omron document and you said not what you are looking for.

I finally took the time to point you to the Omron Manuals and then you tell us it is not an Omron PLC but a Panasonic PLC. (You should have stated that above when ‘Chavek’ and ‘BobB’ answered your post.)

I tell you the name of the Panasonic protocol and you finally add you are a student. So, NOW we know the level of help you need.

You say ‘im trying to send hostlink commands to the PLC’.

What kind of commands? Reads? Writes? Start PLC program execution? Stop PLC program execution? Single step? Upload? The list goes on and on.

Get the point?

The more data you provide the better answers you get.
 
im deeply sorry for all the trouble i am causing to those helping me out.
for the details
1:im using a panasonic FPG-C43T2h control unit for my PLC
2: i was told to send read and write commands to my PLC
3: the programming language i will be using is C++/CLI programming
4: the software i am using is microsoft visual studio express 2012 CLR windows form project
 
Hello,

So you need to, pick one or more:

1) Read the MEWTOCOL-COM protocol document and code the commands.
2) Find a free or commercial driver that that can be called from C++.
3) Find a free or commercial OPC server and call it from C++.

The protocol is not very complicated. The protocol document is not a hard read.

The protocol is a mixture of ASCII and decimal.

Two examples.

Read input X0

Untitled.jpg
 
Last edited:
FYI, I searched the web for "panasonic FPG-C43T2h" and found nothing.

The numbers look like an I/O card. Just a wild guess.
 

Similar Topics

Re:Hostlink Commands Hey everyone, Its me again about those hostlink commands. I have my web server up and running and monitoring the plc but i...
Replies
0
Views
3,435
Dear Forum, working with a omron cqm1h.I am exploring the possiblitly of creating a web interface using the hostlink commands .I was wondering...
Replies
1
Views
4,306
Good day, There's an old Omron CPU Sysmac C200HE connected to Siemens SCADA WinCC via RS-232 and seemingly Hostlink protocol (it says "Omron...
Replies
0
Views
2,063
Hostlink communication protocol is a method developed by Omron for communication to PLC’s and other equipment. This ASCII based protocol is used...
Replies
1
Views
3,086
Dear All , I am a newbie in writing drivers using c/c++ in communicating with the plc's. My new assignment is to write a driver in c/c++ for...
Replies
1
Views
1,260
Back
Top Bottom