Search the Community

Showing results for tags 'visual basic'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 33 results

  1. This course is designed to equip the novice with no prior PLC programming experience with the basic tools necessary to create a complete PLC program using ladder logic common to most current platforms. Use Software : - Somachine EcoStruxure Machine Expert Basic - Free - Vijeo Designer Basic Full Articel About Lear PLC Schneider  Video Tutorial Learn PLC Training Free
  2. indradrive problem

    Hi gays. I have a problem with my indradrive when I try to jog a Rexroth MSK motor. Indradrive: HCS02 (Basic Universal, single axis), control unit: CSB01.1C-SE-ENS-EN1-L1-S-NN-FW     &      power unit: HCS02.1E-W0012-A-03-NNNN Servo motor: MSK100B-0200-NN-S1-BP0-NNNN For joging (testing the motor in closed loop servo just with pc), I think need to run easy startup mode under the commissioning tab of indraworks software. (or am I wrong?) I connected the drive  via serial interface (out of the drive X2 connector) to my pc, and connected the drive to motor encoder port (out of the drive X8 connector).  I power on the drive (via X13) and go to easy startup mode, I face an "F3130 Error when checking input signals" alarm which I can not clear till now. referring to online help  I find some remedies declares that the problem arise from wiring. I tried to examine X41 connector with supplying 24v to it in various situations. but the mentioned alarm is resisting. anyone can help?   
  3. Hello. I am trying to make a serial RS 232C connection between Schneider Magelis HMIGXU3512 and Omron PLC CP1E. However, there seems to be a communication problems between both of the equipment. I am using cable XBT Z9740 for the serial communication cable. The format used is 8.2.N for both equipment. The baud rate is 115200. No Flow Rate is choose. Anyone can help with this kind of problems?
  4. Hi every one, I'm new here. Is there any CC-Link IE field basic master or simulator that can be use on Windows PC, for testing  CC-Link IE field basic slave communication ?   Thanks in advance    
  5. Hi Guys I was wondering if any one of you could tell me how to set up some basic button functions? I need a basic instruction on how the followering button setup, could be done on the HMI, preferable with exaples or tutorials etc. !!! I´m working with the current setup: NX1P2, using Sysmac Studio, Module version 1.25.1.0, along with a NA5-Terminal, version 1.18 !!!  START_VALVE_1_BUTTON = Toggle, Momentary, Set or ?? - (Need the START_VALVE_1_BUTTON to activate ON_BUTTON & OFF_BUTTON flashing, indicating selection option, ON or OFF, meaning activating start valve 1 mode, or deactivate the mode). START_VALVE_2_BUTTON = Toggle, Momentary, Set or ?? - (Need the START_VALVE_2_BUTTON to activate ON_BUTTON & OFF_BUTTON flashing, indicating selection option, ON or OFF, meaning activating start valve 2 mode, or deactivate the mode). ON_BUTTON = Toggle, Momentary, Set or ?? - (Need the OK_BUTTON & the OFF_BUTTON to flash simoustaniously, after START_VALVE_1_BUTTON, or START VALVE_2_BUTTON has been pushed). OFF_BUTTON = Toggle, Momentary, Set or ?? - (Need the ON_BUTTON & the OFF_BUTTON to flash simoustaniously, after START_VALVE_1_BUTTON, or START VALVE_2_BUTTON has been pushed).  !!! Hoping to hear BACK from some of you VERY soon, because I need the know_how ASAP. !!! !!! Write soon !!!
  6. Hello! I am new at PLC programming. I am using TM221CE16R PLC with TM3AI8 analog input module and SoMachine Basic v1.6. I am trying to scale analog input value. I am using 4-20 mA pressure sensor. I managed my wiring so that I get raw values in SoMachine Basic. But I don't know how to scale these values to usable values. My sensor works in range 0 - 16 bar. What is best way to get values? Is it PID function block or multioperand function block using equations to get range 0 - 16? I will appreciate your help.   Thanks in advance!
  7. Hi guys, I have an M221 and trying to read process data from a HACH controller via Modbus 485. In the Read_Var function block I need to configure ObjType, FirstObj, Quantity and IndexData. Slave ID is 3 and I am using SL2. So, say if I wanted to read to following registers, Register #40001, Data Type Integer, Length 1, Description- Sensor Measure Register #40005, Data Type Float, Length 2, Description - Sensor Temp Register #40007, Data Type String, Length 6, Description - Sensor Name what do I put into the Read_Var function ? I am completely new to this and it's just not clear to me. Thanks John   
  8. Hello,   I want to do a small scada for Allen bradley plc  on C#. I did a hmi/scada for Siemens S7-1500 plc on C#, it is working and free. I dont want to use Advanced  Hmi. it is looking free but I can not use it in industries as free. so I decided to use direct C#. Do anybody has sample program, code, document, library, link, etc.. about C# and Rockwell plc communication? second solution and question, if anybody has no solution; I may solve it with modbus TCP. but I dont know Compact logix L27ERM CPU support direct modbus tcp protocol. if anybody has knowledge about the modbus tcp protocol document, sample program etc.. I can try to communicate with modbus tcp C# and Allen Bradley.   Thank you in advance. 
  9. Hello, this is a noob question on how to code properly. Im trying to do something like this on a code editor inside HMI (NA5) Page:   For i = 1 to 100 Me.Button_"i"_Line_ON.Enabled = True Next i The code is more complex than this, thats why I cannot use the Animation tab feature on the interface to set Enable The number of buttons are 100, so I dont want to go 1 by 1. My poor knowlegde on Visual.Net and searching engines does not allow me to find a solution for this in a short lapse of time. Anyway to do this? Thx in advance.
  10. Hello. There is a controller FX5U-32MP in the presence, the inscription "CC-Link IE Field Basic" and the Inverter (FR-A840-00170-E2-60) near the connector, the inscription "CC-Link IE Field Basic" on the front panel. I set up both devices according to the instructions. It turns out to read the state of the inverter (state, frequency). And I can not manage from the controller. Already all the settings that could have changed. Can you scribble what is wrong? p.s. Sorry for the bad english.
  11. hey, I'm making a program to controlle mutliple machines. But the problem is that i'm working on 2 plcs to controll it all, but there are some %MW that i need in both PLCs. Is there a way to connect the PLCs so they share these %MWs to both PLCs know what value is in it?
  12. View File GE SRTP Ethernet Driver for .NET .NET Component for use in Visual Studio.NET to create HMI/SCADA apps that communicate with GE SRTP devices via Ethernet. Supports PACSystems, Series 90, and VersaMax.   Supports PACSystems symbolic variables and CPU rack + slot specification. Does not require 3rd party drivers Does not require OPC x86, x64, and Any CPU compatible Visual Studio.NET 2005, 2008, 2010, 2012, and 2013 Compatible Most .NET targets are supported, including Web, Win Forms, WPF, console, and service apps. Build Windows Forms, console, and ASP.NET applications that run on Linux with Mono framework. Extremely high performance - 5~10 mSec typical transaction time Optimizes multiple register configurations into minimal transactions Tag database can be configured via code or visual designer Abstract base classes allow you to write generic code that works with all drivers Synchronous and asynchronous read/write methods Data change notifications Provides common user interface across all driver classes No limit on number of devices or data points Multi-threaded for high data throughput Includes extensive help system Windows, Console, and Web Example applications with VB and C# source code included. Easily connect office systems to factory floor. Free 30 day fully functioning trial version available for download Runtime-free for qualified applications   Submitter Automated Solutions Submitted 05/09/09 Category Demo Software
  13. Basic HMI Graph

    Hello All   I'd like to display data in 2 or 3 arrays as a graph on a KTP400, does anyone know of a way to do this, I know I could use a trend display , the only issue I have is that the array will be updated in around 10 to 20 msecs per element, and as far as I am aware the time between the trend values need to be 1 sec or more. Any comments would be appreciated. 
  14. Is there a way to choose with %MW you use depending on the value of %SW49? For example, i have 7 %MW: -%MW4 that needs to be active when %SW49 :=1 -%MW8 that needs to be active when %SW49 :=2 -%MW12 that needs to be active when %SW49 :=3 -%MW16 that needs to be active when %SW49 :=4 -%MW20 that needs to be active when %SW49 :=5 -%MW24 that needs to be active when %SW49 :=6 -%MW28 that needs to be active when %SW49 :=7 so is there a way to say %MW0 := %MW(4*%SW49) on a operation block?
  15. Hi, I'm working in so machine basic v1.5 and I'm wondering if it is possible to change the start time and stop time in a schedule block with a %MW. So is there a possibility to for example say %CH0.??? := %MW5 in an operation block? And is there a page where u can see al the possible codes. I already discovered that %TM0.P changes its preset but i don't find a list of al those possibility's.
  16. Hello All,   I am having some issues with Excel while communicating with the Omron PLC. The Excel file is getting the data from the PLC and the macro doing what I want to do, but I am getting the following error messages when opening the excel file.   I am attaching the pictures of the messages and the code where debug send me.   Thank you very much in advance
  17. Hi, i am currently trying to integrate visual studio with advanced HMI tool box to an Omron PLC (cp1h). i am trying to use one of the communication option which is "OmronSerialFinsCom*". But I have no idea how to actually do it. can anybody help me with the setting of the "OmronSerialFinsCom*" properties and where should i download the USB driver for my PLC (cp1h). Thank you in advance.
  18. Hello admin, Im new to PLC domain , i have one OMRON CP1E N30 with in built RS 232 port and ladder program to run in Homing and forward and reverse motion. I want to control the PLC from a computer using RS 232 communication. From what little i read from manual supplied for programming ,i came to know that there are two type of commands C mode as well as Fins commands. My doubt is whether these commands can read/write CIO memory addresses that are used to set and reset the motor enable/disable in ladder program through CX programmer software? for example: in my ladder program CIO memory address 30.00 is the motor enable/disable address so if i want to control externally from a PC to enable/disable the motor ,which commands should i use and is there a format to send these commands as well as the value. I am planning to build a GUI in Labview to cotrol the PLC via Serial RS 232 . How can i do it ? Thanks in advance.
  19. pc to plc

    I'm making a plc interface tasks using vb serial communications, I used omron plc CPM2A and Visual Basic 2013 to control and monitor the plc, but I do not understand how to transfer to plc vb command, and the response from the plc to vb. please help me, I'm sorry if my english language is not good
  20. FX5 CC-Link IEF Basic

    hello. I have developed project with 3 FX3U PLCs with ENET modules for communicating between them, and one of fx3u connected by profibus with 2 fx2n-32DP-IF I/O station (developed just hardware). This project still wait when customer accept it. I'm exactly sure that it will work perfectly. But now i think about exchange old and expensive fx3u to fx5u. I search for best solution for this task on fx5. I have a doubt with I/O station. Each remote station consist of 32 inputs,16 outputs, 8 AI. So i considered as a solution CC-Link IE Basic because no need buy additional modules. Did someone use fx5 CC-Link IEF Basic? As i understand ie field basic configurations like simple rs485 cc-link with occupied station, not like full ie field. FX5U can be the master of CC-link IEF basic with embedded ethernet with 6 slaves station and can be local station with FX5-CCLIEF module. But i not sure that i can use fx5 with NZ2 CC-Link IE Field Remote I/O. I have a doubt with configuration this station, because in CC-link IEF i can add this station and see how many rx/ry rww/rwr points i need, but for CC-link IEF basic configuration i can add just CC-link IEF basic module and choose number of occupied station. Slave 1) NZ2GFCE3-32D + NZ2EX2S1-16T (32/16) and  NZ2GF2BN-60AD4 + NZ2EX2B-60AD4  (8 AI). Slave 2) NZ2GFCE3-32D + NZ2EX2S1-16T (32/16) and  NZ2GF2BN-60AD4 + NZ2EX2B-60AD4  (8 AI). So can it work if not what device can be used with CC-link IEF basic? What benefits can give cc link ie field basic network than ethernet socket connection via UDP between 3 fx5 plcs? Or easier way using ST lite series and try to connect via modbus tcp.(as i understand fx5 provide p502 and modbus tcp)  
  21. KUKA: WorkVisual 4.0

    Version 4.0

    104 downloads

    KUKA: WorkVisual 4.0    
  22. KUKA: WorkVisual 4.0 View File KUKA: WorkVisual 4.0     Submitter panic mode Submitted 02/16/17 Category Robots and Servos
  23. My intention is create a visual basic program with access (or excel), if possible with a Cold link (so I wake up when I need data only). See if you can orientate me about the best way and solve my doubts. I am pretty new to all this. I have several Allan-bradley plc’s in the Ethernet network. Several PC’s with windows 8 and excel/acces in the latests versions I have a server in the net where I have installed RSLINX gateway version. I have created a topic and I can see the PLC variables in there OK. In rslinx  commnications -> I have set the click “enable rslinx classic gateway” I have run the OPC test client and it works OK according to some test Ihave found in google 8so OPC/DDE server is active etc) I want to retrieve Data in My PC from the rslinx that is in that server called BCNA08. I have colleagues that know how to run the EDIT ->copyDDE/OPC link and create a HOT LINK in excel in the same computer for other versions of rslinx (lite I believe) that they had for tests purposes. So I try the same but of course it does not work for a PC that is nor running RSlinx. My Rslinx is in BCNA08. How can I set a hot link (excel continuos update) and cold link (visual basic open/close communication). Any help or suggestions will be welcomed. Any good link to learn more too.  
  24. CJ2M-CPU33 >> FINS >> PC

    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  
  25. Version 1.0.0

    119 downloads

    Manuals and documentation for the Keyence Visual KV series of PLCs.