Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - DLUN

Pages: [1]
1
Technical support / Serial Communication
« on: June 08, 2011, 08:16:30 AM »
Hello.

I am trying to communicate with a datalogger vis RS232. The datalogger does not follow any standard protocols, but simply writes whatever is sent to it into a txt file.

According to the datalogge instructions, it requires the following format:
-Baud Rate 9600
- 8 bits
- no stop bits
- 1 parity bit
- disable flow control (if necessary)

What PLC commands can I use to customize this communication format.

Cheers.

2
Technical support / Problem with sequencer
« on: May 03, 2011, 02:10:59 PM »
Hello.

I have a question about my latter logic. My program is made so that when it starts I can press F2 (on key pad) to enter sequence 2. Then every consequitive answer should increment the latter logic. The problem I have is that when I enter the sequence 2 latter logic, if I press key 1 (on key pad) the program sends me to Seq2:31 in my program.

Seq2:0 only has a setLCD command in it.

Any thoughts.

Cheers

3
Technical support / ADC negative polarity
« on: January 26, 2011, 01:56:17 PM »
Hello.

I have a voltage input from -10V to 10V on my F1616 PLC. I only care about reading 0 to 10V. Can I just connect the input to the ADC directly, or do i need to eliminate the negative voltage via diode prior to connection to the ADC. I am concerned that the negative polarity might damage the ADC.

Please advice.

Thanks. :)

4
Technical support / TLserver using ethernet vs RS232
« on: April 14, 2010, 01:21:35 PM »
Hello Again.

Today I connected one of my computers to the PLC using ethernet. I succesfully uploaded the program using ethernet to the PLC with this computer.

I then moved the program to the "site computer" and connected it up using ethernet. When I tried to upload the program to the PLC, I got a whole bunch of warnings about my program. The warnings varied from "File is corupted" to "<custom function named> is already energized".

I then connected the "site computer" using RS232 and tried to download the same program. It was successful (no warnings).

Any ideas why I have such inconsistant preformance?

Thank you.

5
Technical support / problem with excel link 2.0
« on: April 13, 2010, 02:44:37 PM »
I am using excel link to log values that are measured in my PLC.

I have got excel link to work succesfully when loggin data into an excel spreadsheet named "Book1.xls" and stored in the "my documents" folder.

When I try to change the name of the excel spreadsheet, or simply change the folder where the excel spreadsheet being used is saved. I get an error message in my microsoft excel workbook when I run excel link 2.0

The error message states that it can not find "newname.xls". I get this message even if i have already opened the "newname.xls" prior to pressing the run button is excel link.

Is this a common problem? Am I doing something wrong? Does excel link work with the latest version of microsoft excel?

6
Technical support / Does Online Monitoring slow down the program
« on: February 11, 2010, 07:49:09 AM »
Hi.

I am trying to make a moving average filter that averages the first and last 60 samples of code. I am trying to sample 30  different thermocouples every second from my datalogger using RS485 at 9600 baud rate.

my program basically runs a for loop every second. THe for loop wraps 30 times saving the result of different addresses of the data logger each time it wraps.

I have viewed this using the online monitoring and have found it to take up to 5 seconds for the for loop to complete its 30 reps.

Is it acting slow because I am in online monitoring mode? Or is the PLC just not fast enough to perform this task? Or do you think  it is the 9600 baud rate that is the weakest link?


Thank you.



7
Technical support / communicating via ethernet port
« on: February 09, 2010, 08:42:16 AM »
Hi.

U an trying ot interface my PLC to a new(not same one as previous threads) data logger that uses an ethernet port. I have some questions regarding how to do this.

First, if im using the ethernet port will I still be using either ASCI or RTU modbus protocol? If so, can I still use the getmodbus function? If so, what is the comm port # for the Ethernet port on the F1616 PLC?

Thanks a bunch.

8
Hello.

I have been trying to set a trip related relay using a custom function that is run every half a second.

The code is as follows:

If C> P ' trip condition
SetBIT Relay[2],15 ' trip relay
ENDIF

in latter logic I have the relay set to latch and activate a Master reset function.

However, it seems that the relay contact never closes outside the custom function.

Can you tell me what I am doing wrong?

Thank you and best regards.

9
Technical support / 10s CLock
« on: January 28, 2010, 09:12:23 AM »
Is their a way to have a clock contact for 10s instead of 1 s or 1 minute? :D

10
Technical support / Excel Link
« on: January 26, 2010, 12:38:20 PM »
Does anyone know how I can log a history of data inported from my PLC to excel. I was thinking about creating a macro that inputs a row everytime that the top is full, but I want to know if excel link has any built in functionality that would allow me to log the information without erasing the previous entry.

11
Technical support / Program Question
« on: January 26, 2010, 09:28:52 AM »
Will the program execute more than one custom function at  a time. I want to incriment a clock every second. But at the same time in anouther custom function I have a while loop to wait for enter to be pressed. Does this stop my clock counter?

-||------------------------------------------Incriment clock every 0.1s

-||------------------------------------------wait in while loop until enter is pressed then print message.

12
Technical support / RS 485 Modbus programming
« on: January 21, 2010, 11:06:03 AM »
Hello Again.

I am trying to program my F1616 to  read the registers of my DC100 data collector trough an RS485 modbus connection on COMM2.

The register that I need to be read is 39002 of the data collector. The modbus protocol is RTU protocol. The data collectors address has been set using dip switches to 2 and has been tested with the original data collector program.

1st question. What am I missing in this code.
(initial scan I run this code)
SetBAUD 2, 3
(every second I use this code)
A = READMODBUS (12, 2,9001) ' this register is the seconds clock of the data logger
SetLCD 2,1, STR$(A)

2nd question.

Is their an LED that will tell me if I am transmitting and recieving over COMM2.

Thank you.


13
Technical support / Interface to datalogger using RS485
« on: January 20, 2010, 02:03:19 PM »
I am trying to interface a DC100 data collector to my F1616 PLC.

I have my F1616 PLC connected to my computer through the RS232 port and have successfully programed it many times. I recently connected the data collector to the F1616 PLC via the COMM 2 port (RS 485).

I have two questions.

First, how do I get the address (RS485) of my data collector and how do I test communications with it.

Second, if I want to program my PLC to collect information from the data collector, what commands should I use.

Thank you.

Pages: [1]