Search the Community

Showing results for tags 'somachine 4.1'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 20 results

  1. Hello I have a M251, running a webvisu. I have created a program to create a test report to a *csv file and store it on sd card. What I want to do next is to allow the user to download the * csv from the webvisu and not via ftp client like Filezilla. On codesys forums I see there are file up and download options for buttons (click behaviour) but they are not available in Somachine 4.3. One option I am considering is using the TCP server and steam the file manually from a button click. I dont want a ftp client as now the customer will then needsoftware on his pc, this plc is a portable test system and will be controlled by many different pc's. Is anyone aware of a simpler way to do this?
  2. 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!
  3. 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   
  4. 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.
  5. 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?
  6. 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!
  7. 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.
  8. 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    
  9. 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?
  10. 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.        
  11. 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?
  12. 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
  13. 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
  14. 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?
  15. 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
  16. 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
  17. 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
  18. Hello folks ,  I have a schnieder plc program written in somachin v3.1 , but i  only have the somachine v4.1 software.  Whenever i try to open the file , i get compiler errors (CANopen_optimezed , some item dont have addresses , please update ) . Can i please get ideas on how to resolve this . Thanx 
  19. I'm using TM221CE40T PLC with TM3DI16 DI extension. I'm programming it using SoMachine Basic. In the program I implemented a counter (%C0). I've read in the documentation that %Ci.V stores the current count value. I want that to display this value on a Magelis HMIS5T. How could I store the current count value (%Ci.V)? Thanks in advance!
  20. good evening everyone Model: TM241CE24T / U SoMachine V4.1 SP2 When I add the Manager object visualization / Webvisualisation I have an error in which the viewer profile is not good. I can not find the settings to change. Someone Does he ever had this problem?After calling at schneider it does not give me the solution Thank you for all your help