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

Pages: [1]
1
Hello Archie,

I tried version 399d, and it seemed to work fine.

Then I went back and tried the original 399a project that I downloaded with the Adavanced HMI files, and it also seemed to work fine - although it took a couple of tries because I had other things in it that were pointing to another PLC program that wasn't loaded.  Interestingly enough, it broke in exactly the same way with those non-existent links installed.  Once I removed all of the other controls on the form, it started working fine.

So, it seems that I've messed something up somewhere.  I suspect there's a broken link that's causing my problem.

Let me look at this some more before you spend any more time on it.  I'll report back here soon.

Thanks for your suggestions!  At least it got me off of dead-center by giving me something to try.

2
Okay.  Thanks Archie!

3
I'm using version BetaV399a.

I added the label.  It reads the value okay, but gives the same error when I try to write using the keypad.

Did I forget to initialize something?

4
I'm sure that I'm overlooking something basic, but I've found it's better to ask for help than to keep beating my head against it.   ;D

I'm attempting to use the EthernetIPforCLXCom.Write method, but I keep getting an error about  "NullReferenceException was unhandled - Object reference not set to an instance of an object."

I've put an EthernetIPforCLXCom driver on my form, and it is working fine for reading data into a basic label and toggling bits in a PLC with a basic button.  But get the error when I try to write an Integer to the PLC with the following command:   
                  EthernetIPforCLXCom1.Write("Program:Device1.Command", 0)

The driver name is correct.  The program tag is correct (as near as I can tell),  Integer value seems to be okay. 
The command is being issued from a basic (.Net) button on the form that I've dropped the driver on.  So, I'm confused about what object is not getting set.

Any suggestions would be greatly appreciated!

Thanks in advance.

Pages: [1]