Search the Community

Showing results for tags 'how do i setup a read_var in somachine basic %3F'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 64 results

  1. 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 !!!
  2. This isn't urgent but a TIME value is failing a comparison test for me. t_delay : TIME; // Declaration ----- IF t_delay <= 0 THEN     t_delay := T#3S END IF If I modify the variable value to T#2S the IF sets it back to T#3S. Internally the TIME variables are integer. Why would a compare not work as I intend? Many thanks.
  3. 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.
  4. 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?
  5. Hi Everyone, I just finished my first project and I don't know how to make comments next to my "actions". I'm using SFC. I'm use to writing C code so this is so different!
  6. 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
  7. 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. 
  8. 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?
  9. 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.
  10. Hi Everyone, I'm working on my first PLC program and I have gotten my hands on some ladder logic I'm trying to duplicate. I'm using SoMachine 4.1 and have started a new Ladder Logic diagram POU. I'm curious on how do I create internal contacts. EXAMPLE: 24v--------l START BUTTON l----------------( COIL A)----- --------------l COIL A CONTACT 1; attached to a real output, solenoid valvel-------------l COIL A INTERNAL CONTACT TO CLOSE l---------------- Are there standards for numbering and labeling? I'm seeing L and U inside coil contacts. Does this have an underlying meaning according to standard? Is there a RTO function inside SoMachine 4.1    
  11. 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
  12. I just started working with somachine basic V1.5 SP1. I made a little program inside a POU with ladder. But when I open the simulator nothing seems to work. When I activate an input it doesn't seem to do aanything except making my contact green but it doesn't opperate annything that is placed behind it. Can someone tell me why that is?
  13. Dear all Please identify me i am having one Issue in my PLC.When I changed the IP of my plc then suddenly its showing error ERH its mean IP address wrong but  My CPU setting is same like previous means unit no=0, x16^0=0 ,Node=x16^0=1  and IP is 192.168.0.15 Mask add.255.255.255.0. but when I, transfer to PLC (in Program Mode) its not transferred(Failed to Transfer) please rectify me where I am doing wrong.
  14. Hi Everyone! Where are my experts? I am undertaking a project at work. The project contains analog style motor positioning circuits (operational amplifiers, integrators, and other PI elements). Not that this is relevant to the post yet ;) .It's my first PLC project ever! I am using the Schneider M258 with SoMachine 4.1 The PLC is talking to SoMachine via Ethernet (obviously I have a router between the PLC and my pc).I can Login and run the first POU I created. It's a simple And logic circuit for now. I have a co worker (c programmer) agreeing to help me pass data from my PLC to a browser screen. Although he's not familiar with PLC he's quite skilled writing code. He has wrote a Modbus protocol which allows him to interpret Modbus commands on his desktop.   1) Do I Need any special hardware to pass the data out of the PLC into the Router then into his browser. 2) As a trial can I send him MODBUS commands regarding my AND circuit? 3) How do I create such a command? 4) Is it possible for him to send me Modbus commands to change variables inside my program? 5) Are there web browser "plug-ins" for this idea? Thanks for reading and hopefully all of you can help me answer some of these questions.        
  15. Hello, I have problem with math operation div. I attached picture. In the picture you see I try number 9863 div 100 and answer I get 98, but to me need 98,63. How need do what I get answer under the cable?
  16. Hi all,   currently as part of a project I am trying to communicate between a Schneider M340 plc and an Allen Bradley micrologix processor. I am programming the M340 and the micrologix has been installed by another supplier. they have mapped the Modbus registers on their side and given me a spreadsheet with these.  I am able to read values with no issue but I cannot write values back.   i've included a screenshot or the read_var and write_var instructions I am using. I would really appreciate any help if anyone has any insight on this   Mark
  17. Hello, Maybe somebody could give to me suggest how need to insert   Photo or picture in the page HTM? I am using SoMachine V4.1
  18. I have entered the messages many times into the Alarm Setup but every time i re-open the alarm setup, every message that has the Trigger Value=1 will be deleted.  Anyone have a similar issue?
  19. 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)  
  20. Hello All, I am quite new using SoMachine version 1.5. I am just trying to use Timer Pulse Fucntion block. I my understanding the timer pulse function block can generate pulse in the output. Hereby I attach the programm ive made. In this program, i want to add %MW0 by 1 until 10 second. I expect the result is 10 but when I simulate the program, it add 10 in every second. Why this is happend? Do I have a wrong understanding about the timer pulse. When I read the help I think this timer is the same as timer on.    Thank you for your help Regards, Arum
  21. Hi,friends. I have a project which is about control of speed.When I do this ,I need to use  Schneider PLC with M238 by using PID Controller.I decided to  control  speed of electric motor of this PLC . Is there any source material or anyone who struggled with this before  for this project?
  22. 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.  
  23. Hi I have a device that requires ascii string to be sent to read or write specific variables. Below is the format   I am using a m241 and serial port 2 and connecting by 485 2 wire. Only n would be used as a variable to change speeds. only problem is I cant find how to send the whole string. Write_var seems to only let me send a single word.      any help would be appreciated.   thanks
  24. Hi, in my proyect i need integrate 2 modes, Auto abd Manual, but i have a doubt if i can use GEMMA (run/stop modes guide) I don't now if the software integrate this functions or I need integrate a subgrafcet (each mode need one) Thanks
  25. Hello, I got a new work job to design a cycle tester for a mechanism to make sure will work for at least 5000 cycles open - close. I never made a pls program I start researching few days ago and seams to be very complicate to make it. I have a TM221C16R PLC from Schneider. please help me with some instructions. the cycle tester will have a start pushbutton, stop pushbutton, door open switch, one air cylinder with solenoid to push and pull and a counter. Thank you, Romica