![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
|
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 |
![]() |
![]() |
#2 | |
Member
![]() ![]() 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:
|
|
![]() |
![]() |
#3 |
Member
![]() ![]() 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 |
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Jul 2007
Location: Karnataka
Posts: 50
|
Try Advanced HMI from sourceforge.net . Examples are also provided.
|
![]() |
![]() |
#5 |
Member
![]() ![]() Join Date: Mar 2007
Location: karachi
Posts: 9
|
ok, i have found the procedure to communicate Delta plc from pc through VB .
|
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |