Search the Community
Showing results for tags 'm241'.
Found 12 results
-
how read data from modbus read_var function
saruans posted a topic in Modicon / Telemecanique / Schneider Electric
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? -
Hello everyone, I am trying to program a PWM output on Machine expert 2.0. After compiling, I am getting this error: C0138: No matching FB_init method found for instantiation of PWM_M241 Does anyone know how to resolve this? Thanks
-
"Failed to open connection to PLC" (M241 & HMIG3U (HMIDT542)
Hihaxen posted a topic in Modicon / Telemecanique / Schneider Electric
Hi, I've been having a problem with my Schneider setup, and I can't seem to figure out the problem. I'm using Machine Expert Logic Builder and Vijeo 6.2, and I can't seem to download to my PLC. I can download to my HMI just fine, but my HMI comes back with the message as mentioned in the title. Also when I perform a full download, machine expert comes up with the message "Could not connect to the device for item "xx", selected target system "PLC name" is different from the connected device "HMI name". The weirdest thing is that machine expert shows my PLC just fine, but doesn't show my HMI. I have no idea what to do, as I feel like I've tried everything. The IP range is fine, subnet is fine. The driver in IO manager in Vijeo has the PLC nodename in it, so that shouldn't be the problem either. Does anyone know what to do in a situation like this? Thank you in advance!- 4 replies
-
- m241
- schneider electric
-
(and 4 more)
Tagged with:
-
M241 - Modbus TCP - problema reading analog inputs (#300001)
horvatmiha posted a topic in Modicon / Telemecanique / Schneider Electric
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!- 5 replies
-
- m241
- tm241ce24r
-
(and 4 more)
Tagged with:
-
Hello, I am new to the forum. Being doing a lot of googling to see if theirs any cross-compatibility between an M241 PLC and a Simatic panel PC and stumbled across this forum which hopefully could help me out. I'm starting an automation project to automate my home brewery. The M241 from Schneider electric seems to tick the boxes for what I require. At my work theirs a redundant Simatic Panel PC 670 just waiting to be recycled. My question is, can I use the panel pc purely as an HMI for the M241?
-
- schneider electric
- m241
-
(and 2 more)
Tagged with:
-
Hello, Could somebody say to me Is it possible M241 plc Synchronization with NTP server? If yes, how need do it?
-
Hello, I have try to write data to file, but I got error and I don't know how solve it this problem My code and error I attached photo. Maybe you could give to me advice how solve it
-
send only hex number via rs232 serial line 1 M241
saruans posted a topic in Modicon / Telemecanique / Schneider Electric
hello, Maybe somebody know how need send only hex numbers via rs232 in the external device? I tried to use SEND_RECV_MSG function block, but unsuccessful, because send ASCII code. Need send 16#AE number, but I don't have any idea how need do it. I am waiting your advice. -
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?
-
M241 PLC SoMachine Webvisualization
saruans posted a topic in Modicon / Telemecanique / Schneider Electric
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- 1 reply
-
- webvisualization
- somachine
-
(and 1 more)
Tagged with:
-
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