Read and write data from pc to plc via rs232 cable

MANISH VORA

Member
Join Date
Jun 2009
Location
RAJKOT - GUJARAT
Posts
2
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
 
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 !



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
 
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
 

Similar Topics

Thank you for any and all responses/help. I have an RSLogix 5000 v20 and a Cognex In-Sight v5.9 spreadsheet (8502P). I can not figure out how to...
Replies
0
Views
101
Dear colleagues, I am reaching out for assistance with an issue I am having. I have a code that can successfully insert data from FactoryTalk...
Replies
6
Views
999
Greetings. I have a 1769-L30ER that runs a new piece of equipment my company bought. I would like to read from and write to some tags on this PLC...
Replies
7
Views
1,392
How to fetch data from Microsoft sql server into ftv? I wanted to create form and store all the data into sql database... Also i need to search...
Replies
1
Views
5,098
Hi, Based on other information on the web, my A-B driver currently initiates a session with an SLC or MicroLogix as follows: Step 1 - Register...
Replies
1
Views
2,161
Back
Top Bottom