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.


Messages - cls

Pages: [1]
1
Support Questions / Re: Wrong data returned from PLC
« on: April 20, 2016, 04:23:31 AM »
I found a solution, just check the errormessage property of the datasubscriber, if this is not blank, then ignore the data returned.

Claus S.

2
Support Questions / Wrong data returned from PLC
« on: March 18, 2016, 03:31:53 AM »
Hi

I'm logging som values from several PLC's (some numeric values and BIT-values).

I have had som problems lately (3.99d) with wrong values returned from the PLC. This only happens rarely, but the values returned from the PLC is suddenly "old" data and then things are back to normal (eg. number is 10, number is 15, number is 10, number is 17).

I use the EthernetIPforSLCMicroCom driver.

I can re-create the problem, by creating a new project and placing a datasubscriber on the form. Start the logging of values for some time (eg. 1 minute), unplug the network cable from the PLC og then sometimes the logging stil returns values (often it just generates runtime-errors as it should). These values also changes between old values read from the PLC (when the network cable was not unplugged). This doesn't happen every time I unplug the network cable, but if I do a couple of times, it will happen.

I have tried with a timer and read-commands instead of a datasubscriber, and the same thing happens.

Best regards
Claus S.

3
Support Questions / Check PLC is in Remote run mode
« on: September 08, 2015, 10:01:52 AM »
Hi

I'm don't know anything technical about the PLC's, but I'm using AdvancedHMI to log some data from our production (I'm just the programmer). We are using AllenBradley PLC's (EthernetIPforSLCMicroCom).
How do I check to see if the key on the PLC (physical key) is in REM-position (instead of RUN or PROG)?

Best Regards
Claus

4
Support Questions / Re: Problem writing to PLC
« on: January 23, 2014, 02:16:54 AM »
I have tried several values (including 1) and no matter what I write to the PLC (/converter), the value in the register always become -416.

Writing bits to another register works ok.

I have been using a very old version 3.16 (or something like that), and it works fine in that version.

5
Support Questions / Problem writing to PLC
« on: January 22, 2014, 06:00:56 AM »
Hi

I have create a form and a button on the form that runs the following code:

Me.EthernetIPforPLCSLCMicroCom1.Write(Me.DigitalPanelMeter1.PLCAddressValue, CSng(0))

If I write to the plc it always has the value -416 no matter what I write).

Am I doing something wrong?

The PLC is a AB 1761-NET-ENI. The register is called C5:0.ACC in the PLC.

Best regard
Claus

Pages: [1]