PLC doing rs232 reading using PICdem2 Basic

lxh

Member
Join Date
Apr 2005
Posts
4
I am really new to PLCs, but I was asked to write a program in Basic that will have the plc doing RS232 reading of the data tables.

Please tell me what information I need to obtain to accomplish this.

Can anyone please help me get started o_O
 
Questions:

1. what make of plc?
2. what communication protocol, modbus,DF1,NIT?

I think this is going to be a difficult task, because you probably will have to have to write your own driver as well.

Why not use Excel with DDE or something similar? or Visual Basic and active X or an OPC server?
 
Ken's right, this is gonna be a tough assignment if you aren't familiar with plcs.

How's your vb? What version vb?

You mentioned RS232, and this will work but won't be ideal for mass data polling. Are you talking vb6 or .net? Quite a bit of difference in rs232 comm coding. Again, the plc type will dictate everything.


If this is straightforward data entry, I think your best option is to skip vb and use Excel and DDE as Ken mentioned.

Good luck!

-Mike
 

Similar Topics

U
I am really new at PLCs, but I need to a project programming with Basic. Can anyone give me some insight on how to write a program from scratch...
Replies
0
Views
2,718
Unregistered
U
Hi All, I have a click plc the I need to bit strip and 16Bit int. This is to get the alarms from these bits in the int. Do anyone know how to bit...
Replies
1
Views
517
hye everyone.. anyone here that know how to do a programming for test the machine performance. this is fully automatic machine..i want to test...
Replies
1
Views
1,369
The other day I was at a customers that had a fault on his 'none plc' controlled machine. A very old and none standard relay with a pnuematic...
Replies
11
Views
2,588
hi its my first time to this site finding it very helpfull and learning a lot. Can anyone explain the plcs storage, scanning, memory and its...
Replies
2
Views
1,685
Back
Top Bottom