You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old June 7th, 2009, 06:19 AM   #1
MANISH VORA
Member
India

MANISH VORA is offline
 
MANISH VORA's Avatar
 
Join Date: Jun 2009
Location: RAJKOT - GUJARAT
Posts: 2
Read and write data from pc to plc via rs232 cable

Hi, PLC experts, I have a application to develop in which I am to read and write values from a DELTA PLC from my PC which is connected through RS232 ( Comport 1 )l, I have some details of PLC configuration like how to configure Comport 9600,7,E,1
Now, I want to read some value stored in PLC's Data Register like D440 ( memory address ) and want to update it ( write new value in it )
I am using VFP / VB for my frontent development tool.
Pl. guide me... if anyone has any idea about it..

How to send input to PCL ( in binary / HexDecimal / Ascii ) format ?

I have got information from PLCS.net, like
to pass ":" - start string
"01" - slave address
"01" - Command option
"05" -
"14" - Memory Address (starting memory location)
"02" -
"A8" - Memory Address (ending memory location)
"DA" - LRC Check
"CR" - Cerrage Return
"LF?" - Line Feed for ending string
I have tried with above string in Hex format and ascii format, but didn't get any reply ( indication on plc ) from plc.

Pl. Help me as earliest... It is matter of my New Job....Thanks
  Reply With Quote
Old June 16th, 2009, 10:27 AM   #2
userxyz
Member
United States

userxyz is offline
 
Join Date: May 2002
Location: any
Posts: 2,768
hm

"01" - slave address
"01" - Command option
"05" -
"14" - Memory Address (starting memory location)
"02" -
"A8" - Memory Address (ending memory location)
"DA" - LRC Check
"CR" - Cerrage Return
"LF?" - Line Feed for ending string

This Above is Char data. Look for an Ascii table.


In Hex it's something like:
31 - slave address
31 - Command option
.
.
.
D - Cerrage Return
A - Line Feed for ending string


Try to send from the PLC to the PC (hyperterminal) first !



Quote:
Originally Posted by MANISH VORA View Post
Hi, PLC experts, I have a application to develop in which I am to read and write values from a DELTA PLC from my PC which is connected through RS232 ( Comport 1 )l, I have some details of PLC configuration like how to configure Comport 9600,7,E,1
Now, I want to read some value stored in PLC's Data Register like D440 ( memory address ) and want to update it ( write new value in it )
I am using VFP / VB for my frontent development tool.
Pl. guide me... if anyone has any idea about it..

How to send input to PCL ( in binary / HexDecimal / Ascii ) format ?

I have got information from PLCS.net, like
to pass ":" - start string
"01" - slave address
"01" - Command option
"05" -
"14" - Memory Address (starting memory location)
"02" -
"A8" - Memory Address (ending memory location)
"DA" - LRC Check
"CR" - Cerrage Return
"LF?" - Line Feed for ending string
I have tried with above string in Hex format and ascii format, but didn't get any reply ( indication on plc ) from plc.

Pl. Help me as earliest... It is matter of my New Job....Thanks
  Reply With Quote
Old June 8th, 2011, 08:00 AM   #3
mkashifk
Member
Pakistan

mkashifk is offline
 
Join Date: Mar 2007
Location: karachi
Posts: 9
DELTA PLc

hi
i have read all of your threads , did you find any thing regarding plc to pc interfacing through VB .
i am working on this,
best regards
mkka
  Reply With Quote
Old August 22nd, 2011, 10:41 PM   #4
paul56
Member
India

paul56 is offline
 
Join Date: Jul 2007
Location: Karnataka
Posts: 50
Try Advanced HMI from sourceforge.net . Examples are also provided.
  Reply With Quote
Old August 23rd, 2011, 02:47 PM   #5
mkashifk
Member
Pakistan

mkashifk is offline
 
Join Date: Mar 2007
Location: karachi
Posts: 9
ok, i have found the procedure to communicate Delta plc from pc through VB .
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
How to communicate to Delta PLC from PC ( connected via RS232) MANISH VORA LIVE PLC Questions And Answers 8 September 25th, 2012 10:08 AM
How I can Read and Write Data from PlC through vb.net applivation daljit81@hotmail.com LIVE PLC Questions And Answers 15 August 28th, 2011 01:06 PM
MPI comunication Manuel Raposo LIVE PLC Questions And Answers 22 July 16th, 2007 07:24 AM
Mitsubishi MELSEC Q ethernet questions Picho LIVE PLC Questions And Answers 14 October 21st, 2005 09:09 PM
Simulator, Simulation, Shadow Code Terry Woods LIVE PLC Questions And Answers 1 January 2nd, 2005 02:40 PM


All times are GMT -5. The time now is 04:38 AM.


.