plc - pc information

hi. we are using old 5/03 processors on our asphalt plants and i would like to be able to save some of the weight tickets and other information like that on a PC to be saved. i am wondering what card is needed for a pc to be able to go look at assigned data files and save that info on the pc.. thank you
 
Hi Winston, welcome to the PLCTalk forum community !

The SLC-5/03 has an ordinary RS-232 serial port that runs several proprietary serial protocols (DF1, DH485, sometimes Modbus) as well as can be used to send and receive ASCII strings. A common Ethernet/RS232 or USB/RS232 converter can connect it easily to a Windows computer.

Or, you could use the other port to create a "Data Highway 485" network, and use a dedicated-purpose DH485/USB interface. That plug is NOT ETHERNET.

How you choose to read data table elements and save them into an inventory or loading record is a bigger topic. Do you use any custom software, or just Excel, or just write records by hand now ?

What do you want a weight ticket record to look like ?
 
Hello - once it is set up, it is fairly straightforward (communication is usually the hardest part)

For the hardware side, you'll need one of the following - number 1 being the most common:
  1. Communication interface card that can establish an RS-232 serial connection. Most of the time, a USB-to-RS232 adapter will work just fine. Tripp Lite makes a reliable one.
  2. If you want to use the DH-485 network, you'll need a 1747-IUC USB to DH-485 converter between PLC and PC
Software side you'll need RSLinx Classic to set up the communication bridge but may need to use an upgraded version of this to integrate into third-party software.

As far as the data logging side, you can do this multiple ways - I've done it using AdvancedHMI (free and easy with some VB.net or Visual Studio experience) but the more straightforward ones are excel macros using RSlinx DDE/OPC. Then you can link to the cloud to make it accessible anywhere.
 
Just have excel to work with as of right now. spreadsheet to view with truck number weights and job number and time and date and maybe a couple other details like that.
 
To save data from the SLC 5/03 directly into Excel, you can use RSLinx Classic and its DDE/OPC functionality.

To set this up, you'll need to configure RSLinx to see the PLC. Then, set up the data points - probably integers (N7) and you'll need to set up DDE communication in RSLinx.
Create a topic and assign it to the PLC. Then linking the data to Excel is quick.

[TABLE]
[TR]
[TD]TruckNumber[/TD]
[TD]Weight[/TD]
[TD]JobNumber[/TD]
[TD]Date[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD]'=RSLINX[/TD]
[TD]TruckData!N7:0'[/TD]
[TD]'=RSLINX[/TD]

[TD]TruckData!N7:1'[/TD]

[TD]'=RSLINX[/TD]
[/TR]
[/TABLE]

Now to get it to update automatically and overtime, you'll have to set up an excel macro
 
To save data from the SLC 5/03 directly into Excel, you can use RSLinx Classic and its DDE/OPC functionality.

To set this up, you'll need to configure RSLinx to see the PLC. Then, set up the data points - probably integers (N7) and you'll need to set up DDE communication in RSLinx.
Create a topic and assign it to the PLC. Then linking the data to Excel is quick.

[TABLE]
[TR]
[TD]TruckNumber[/TD]
[TD]Weight[/TD]
[TD]JobNumber[/TD]
[TD]Date[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD]'=RSLINX[/TD]
[TD]TruckData!N7:0'[/TD]
[TD]'=RSLINX[/TD]

[TD]TruckData!N7:1'[/TD]

[TD]'=RSLINX[/TD]
[/TR]
[/TABLE]

Now to get it to update automatically and overtime, you'll have to set up an excel macro
Not sure why inserting the table came out so weird - but here it is in a screenshot
 

Attachments

  • Capture.JPG
    Capture.JPG
    12.4 KB · Views: 9

Similar Topics

I have a CompactLogix PLC printing a label to a Printronix printer. The label contains a barcode, some part numbers, date & time, and our company...
1
Replies
605
Views
Where i can find the Mitsubishi Q series & A series plc components obsolete list with EOL information? Please help to share the info. Thanks
11
Replies
2,778
Views
Is it possible to pull information from a specific cell in an excel spreadsheet and use it in a program? I am wanting to display a time amount for...
4
Replies
2,052
Views
Hey guys, We are using a compactlogic 5069-L33 with an Panelview in our project. Currently busy with some diagnostics displays of the PLC and...
4
Replies
2,807
Views
Top