Search the Community

Showing results for tags 'how do i setup a read_var in somachine basic ?'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 61 results

  1. Modbus/TCP Client Driver for .NET 6, .NET 5 & .NET Core. - ASComm IoT View File ASComm IoT for .NET 6.0, .NET 5.0 & .NET Core developers. Class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with Modbus/TCP Server devices via Ethernet. Does not require OPC or 3rd party drivers Visual Studio.NET 2017, 2019 and 2022 compatible All .NET 6.0, .NET 5.0 & .NET Core targets are supported, including Web, Windows, console, and service apps. Runs on Windows, Linux & Android Extremely high performance - 5~10 mSec typical transaction time Supports Modbus functions 1, 2, 3, 4, 5, 6, 7, 11, 12, 15, 16, 17, 20, 21, and 24 Address mode support includes: Zero-based, One-based, Modicon 5-digit (1, 10001, 30001, 40001), Modicon 6-digit (1, 100001, 300001, 400001) 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 Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications Submitter Automated Solutions Submitted 05/18/22 Category Demo Software
  2. Version 1.3.0

    4 downloads

    ASComm IoT for .NET 6.0, .NET 5.0 & .NET Core developers. Class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with Modbus/TCP Server devices via Ethernet. Does not require OPC or 3rd party drivers Visual Studio.NET 2017, 2019 and 2022 compatible All .NET 6.0, .NET 5.0 & .NET Core targets are supported, including Web, Windows, console, and service apps. Runs on Windows, Linux & Android Extremely high performance - 5~10 mSec typical transaction time Supports Modbus functions 1, 2, 3, 4, 5, 6, 7, 11, 12, 15, 16, 17, 20, 21, and 24 Address mode support includes: Zero-based, One-based, Modicon 5-digit (1, 10001, 30001, 40001), Modicon 6-digit (1, 100001, 300001, 400001) 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 Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications
  3. hello, Somebody have suggest how need read data from slave using modbus RTU. I am using M241 PLC and read_var function. The picture you can see my PLC program. The data of slave is placed 3394 address. Then I try to read, always "READ_VAR" function get "CommError" which number is 254 that means "The detected operation error contains protocol- specific code"  and "OpenError" which number is 3 that means I don't know. How need read from slave data, which modbuss adress is 3394?
  4. Wednesday Woes

    Hello, I'm sure I'm not on the right forum for my problem but I was hoping one of you knowledgeable folks will be able to point me in the right direction. I'm having some trouble with a control setup for a simple mechanical deployment / interlock. The application is a 3 panel solar array with a fixed centre panel. The other 2 panels are attached to linear actuators which will drive them outwards with the aid of a nifty hinge and are staged with relays and limit switches. I am having some issues with being able to disengage the leaf 1 / 2 changeover relay without ever making it inoperable in the first place.  Up until there it's all pretty straight forward. I have attached a couple of pictures of the issue.  If anyone knows of a more suitable forum I can take this if I'm in the wrong place.  Please advise. I can upload the DWG file when CAD stops hanging itself eventually Thanks!     Drawing2.dwg
  5.   How do I setup a Read_Var in SoMachine Basic ?    
  6. Hi all,   Is it possible to simulate LMC058 PLC with ethernet in soMachine software. I want to test the logic written in PLC which uses tcpudp library.
  7. Hi, I am working wih 251MESE and somachine 4.3 And I am developing an application and the user who is going to use it needs to donwload a graphic that appears on the webvis, with all the information that it contains, does anyone done this before? How? I need some tips. I have the webvisu up and running I need something like download button to be able to download the info.   Thanks!
  8. 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?
  9. SoMachine Motion Logic Builder V4.31. Can anyone guide me on how to read the execution time of the STL logic in my application? Thanks.
  10. Hello, i need more information about possibility to connect a LC28 CPU with OpenVPN with Mikrotik. I checked tecnical information about TCP port and i wrote the NAT routes on the Mikrotik. I saw a little exchange of bit over 1217 and 1105 ports, but my Somachine (installed over VM) coudn't connect with PLC.  Everything works fine with a local connection. We haven't any problem with other PLCs and our VPNs (Siemens, B&R, Mitsubishi). Someone have more information about TCP/UDP ports about Somachine protocoll ? Best regards, Ennio
  11. This is hard work! I've installed the CODESYS OPC Server V3 in the hope of using it to communicate with my Schneider PacDrive LMC. Apparently the PLC doesn't support OPC tag browsing so I need to export the symbols from the SoMachine Motion project file in a format that the OPC server can use. I've got the Symbol Configuration panel open and can see the symbol tree. What do I do next?
  12. I am having a very weird issue that Rockwell was not able to help with.  I have a new SE application that I converted from RSView32 and I re-wrote some VBA code associated with the project.  The code works fine on the server while the screen is running in studio.  Once I deploy a Client it no longer works.  It just sits there like its waiting for my trigger to go off, but I am seeing it sit there with a 1 so i know it should be executing the code because as soon as i open the screen in studio and press play the code executes and my data is there.  Does anyone have any ideas for me?   Thanks
  13. 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!
  14. 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?
  15. TIA Portal V13- Alarm for Bool Data type

    IN TIA Portal V13 HMI Alarm Setup, Discrete Alarm Not allowing Bool Tags in "Tag Trigger". Please help how to set Bool Alarms?
  16. Hello! I am new at programing PLCs. I am using TM241CE24R PLC with TM3AI4 analog input module. I can successfully read temperature from 4-20 mA sensor. I want to communicate with my PC (SCADA) via Modbus TCP. For testing purposes I am using CAS Modbus Scanner. I can read digital inputs, coils and holding registers successfully. Problem is that I can't read analog inputs (#300001 etc.).  I have nothing defined in GVL list. Is this causing problem? I also don't have any Modbus TCP Slave device in Ethernet_1. But how can be all the other registers read successfully?  Please take a look at screenshots below. Also check Error message from CAS Modbus Scanner. Where is problem? Please help. Thanks in advance!
  17. 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   
  18. Hi, I am learning on Schneider PLC  Programming. May I know is the Schneider PLC Programming have a same function of "Block move"  in Mitsubishi PLC which can move a few number of address value to another address in once time. What is the code of it?Example,  I wish to move %MW1 (Int) until %MW10 (Int) to %MW100 (Int) until %MW110 (Int). Is there any code can done it in once? I am using Schneider PLC TM241 model with Somachine V4.3 Programming Software.  @Wasan, Hi, Do you familiar with Schneider PLC Programming?     
  19. 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
  20. Here are some videos training PLC AB(Rockwell) RSLogix5000 I hope this helping someones! 1) Setup RSLink to connect PLC using a USB cable   https://www.youtube.com/watch?v=mk-wgnwO4E82) How to set up hardware involve Input/Output, Analog, Device Net... PLC AB(Rockwell) RSLogix5000https://www.youtube.com/watch?v=pIUNPCEcNn03) How to use timer/counter/Compare PLC AB(Rockwell) RSLogix5000https://www.youtube.com/watch?v=7BDzAoFBJPMhttps://www.youtube.com/watch?v=EM3KO8JSYsMhttps://www.youtube.com/watch?v=yQtrIhTmwqA4) How to use Analog PLC AB(Rockwell) RSLogix5000https://www.youtube.com/watch?v=8raR0f7zr6M5) How to use RealTime-Clock PLC AB(RockWell) RSLogix5000https://www.youtube.com/watch?v=Lgg8hjs5jkY    
  21. 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?   
  22. 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    
  23. 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 !!!
  24. 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.
  25. 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.