Search the Community
Showing results for tags 'vb.net'.
-
Hi all, I am a new user of VB.net on NA Omron HMI, and I need your help to solve a problem. In my case, I have to get a HMI global variable value in VB.net, but the VariableName is in an other variable (string). For example: Var1=4 Var2=6 VarName="Var1" I worked with a "SetVariable" function to modify the value of different variables, but right now I need to read the actual value, in the example values 4 and 6. Do you have any suggestion?
-
Hello, I am using Easymodbus library to Communicate with Modicon TM218 PLC. Reading and Writing of Holding Registers working fine. But coming to writing of single bit in data register i am facing Problem. Need to know how we find coil address of a data register. e.g I have to write bit 1 to MW70.1 address. How we do that. Right now i am reading complete MW70 Register and Manipulating it using bit manipulation techniques and again Writing using Write single Register Function. It's working but some times because of reading problem it writes some garbage values. At that time complete system effecting. Please provide me any solution. Thanks in Advance.
-
Is it possible to change an image on a NA page with a subroutine. I have two images I want change between based on what happens on a page. The image control in VB does not show the imagefile property. Any idea on how I can do this.
-
Hello guys, I want some solution for my Mitsubishi Application. I have Visual Studio 2017 (VB.NET) and MX Component 4. I want to connect Q03UDVCPU (Q series PLC) through Ethernet connection. For Read (M0 Flag value and <if M0 is On> then read Barcode information also from PLC.) and write (M1, M10). How can create this transmission program. please kindly guide me. Thanking you.
- 6 replies
-
- q03udvcpu
- mx componet
-
(and 3 more)
Tagged with:
-
Hi guys, I'm currently on a positioning project with a Servo and I need to pull my data from a VB.NET application! I try to "link" MX-Component into my VB.Net application but I'm in a struggle right now! Anyone of you have ever use this combination to send data to a PLC! Current setup: PLC: FX3U-32MT/DSS Ethernet Card: FX3U-ENET-ADP Drive: MR-JE-20A Servo:HG-KN23JK Software: VisualStudio 2013/15 MX-Component V4.09K GX-Works 2 Thanks in advance to anyone who can help me!
-
Hi all, I have a challenge and I'm hoping for some feedback from all the smart folks on this forum First some background about this post: I work for a company that builds switch panels for the food industry. All these panels use the same PLC unit CJ2M-CPU33. As of today we manually test these switch panels by checking if the wiring is correct with a DM (digital multimeter), but we do not check component functionality, such as powering relays or testing E-stop circuits. The reason is that we do not have a PLC program to control all these elements. The ultimate goal is to automate these switch panel checks as much as possible, the only time user input is necessary would be to flick a switch on the front panel. The flow of information would be as follow: PC sends command to PLC (output Q0.00 - High) PLC sets output Q0.00 High (via terminals and some circuitry) PC gets signal back PC checks information PC sends command to PLC (output Q0.00 - Low) Everything has to be controlled via a windows application (Visual Basic) because that is what I understand. About PLC programming I don't know much about ladder diagram programming, I know how to build simple programs but that's all. But I will learn a lot more by doing this challenge To get started I have search the forum on topics that relate to FINS command and Visual Studio. I've found some interesting topics one of which had a ActiveX component for visual basic named INDAFINS so I will investigate what the possibility's are. Also I have downloaded some FINS command reference documents I need to study does because as it stands I'm a total noob when it comes to FINS commands. I hope that some of you want to think with me on this and share your thoughts about the subject. My current test setup looks like this COMPOTENT PSU 24V= 5A Weidmuller Switch Omron PA202 PSU CJ2M-CPU33 Omron OC211 (outputs) 6x 24V weidmuller relais
- 6 replies
-
- fins
- visual studio
-
(and 1 more)
Tagged with:
-
Hi, there, I'm totally new to OMRON PLC, right now I'm using CP1H PLC have two CP1W-CIF01 on it 1st CP1W-CIF01 set as 115200, 7,2,E, Host Link, station 0 connected to Pro-Face HMI 2nd CP1W-CIF01 also set as 115200, 7,2,E, Host Link, station 1, I want to use this COM to talk to my PC that I can run vb.net program to monitor the bit and set the bit value. can you guild me how to start this project? thank you very much! Chen
-
I am starting a project for a client and want to be able to get data from their Rockwell control systems into a VB.NET program in Visual Studio. The client has Factory Talk Transaction Manager, and other Rockwell software, which we could use to send the data to a database. However, I'd like best to grab the data directly from the PLCs into my program. I've seen websites that mention an OPCAutomation .dll that one can get if a member of OPC Foundation, but these posts were several years old, and it's very expensive to join OPC Foundation. My question is what is the best way to get data from RSLinx into a VB.NET program. Is there an accessible .dll that my client can get through their Rockwell supplier, which I could import into my VB.NET program? Or is there a better way to approach this?