Search the Community

Showing results for tags 'm340'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 24 results

  1. Logic issue, or problem with Control Expert 14.1?   Pop-up box, followed by Control Expert crash.  PLC seems to be running fine. "Control Expert Fatal Error" "The thread tried to divide an integer value by an integer divisor of zero" Anybody seen this before?  Corrupt file?  Reboot?  Uninstall/reinstall?
  2. Hi Friends, I'm facing this issue while uploading from M340 PLC to PC with UNITY PRO XL V12.0, I'm able to Go Online with the PLC but not able to upload, what could be the reason, please help me thanks in advance!..
  3. Hello, I'd like to ask for a technical confirmation on using MODBUS TCP in a M340 + Fiber Converter Card (BMXNRP0200C) or Switch (ADAM 6521) + Fiber Optic patch cords and cable topology to communicate with a SCADA system. The main objective is to provide a fiber optic connection point inside a control panel because it is located in a area prone to electrical interference. The protocol to be used would be MODBUS TCP. We have two simple topologies in mind but we are not sure if they are feasible. So i'm asking for a little support about it. Considering the attached simplified topologies (Drawing1.jpg), am I able to use MODBUS TCP to communicate a M340 with a SCADA workstation with no problem? I'm not sure if the protocol allows this kind of change on the physical medium like if it was pure Ethernet.    
  4. Hello Experts, We are currently in the design phase of a system with 24 PLC's.  CPU is BMXP342020  [ CPU onboard Serial and Ethernet ports, both capable of MODBUS] Each PLC's are stand-alone and have communication with 9 Modbus RTU slaves.  Also, each PLC will be connected to OPC at central SCADA room via MODBUS TCP. Questions:  Regarding Serial MODBUS RTU 1. CPU onboard RJ45 Serial port can directly make communication with all 9 slaves via multidrop?  Using READ VAR/WRITE VAR function? 2. How many READ VAR/WRITE function can be used simultaneously?  Regarding MODBUS TCP 1. Which module is required for connecting to OPC?     BMX NOC 0401  or  BMX NOE 0100?     Can the above two modules be connected to OPC without any programming?  We need to read/write data to each CPU all the time.  2. Does BMX NOC 0401/BMX NOE 0100 need programming in PLC for communication? 3. Does CPU onboard ethernet port require programming for communicating on MODBUS TCP? Please guide.  We have used M580 CPU in 10 projects and all the time DCS [Client] can read/write data with M580[server] without any programming. But we used CPU onboard port or BME NOC 0301.2 So does that sounds similar to BMX NOC 0401/BMX NOE 0100 Thanks in advance
  5. I am trying to write some citect variables back to the PLC. I have made a startup cicode script which is suppose to copy one variable to another which I found on the web. I am not sure if just using tag = tag is OK in citect 2018. Any help would be fantastic.   Cicode below: *********************** FUNCTION StartUpFunction()     INT hMyTask;     // Start a new task that runs all the time and transfers values using writetag     hMyTask = TaskNew("fnDoThis","",0); END FUNCTION fnDoThis;     //Never Stop this Loop     WHILE 1 DO         //Update the first Tag         TagWrite ("M340PLC_R02kW",Sub02Substation2PowerkWtot)         M340PLC_R03kW = Sub03Substation3PowerkWtot         M340PLC_R04kW = Sub04Substation4PowerkWtot         M340PLC_R05kW = TerminalSubstation_5InstantaneousPowerkWtot         M340PLC_R06kW = TerminalSubstation_6PowerkWtot         M340PLC_R07kW = Sub07Substation7PowerkWtot         M340PLC_R08kW = Sub08Substation8PowerkWtot         M340PLC_R09kW = Sub09Substation9PowerkWtot         M340PLC_R10kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R11kW = Sub11Substation11PowerkWtot         M340PLC_R12kW = Sub12Substation12PowerkWtot         M340PLC_R13kW = Sub13Substation13PowerkWtot         M340PLC_R14kW = Sub14Substation14PowerkWtot         M340PLC_R15kW = Sub15Substation15PowerkWtot         M340PLC_R16kW = Sub16Substation_16PowerkWtot         M340PLC_R17kW = TerminalSubstation_17PowerkWtot         M340PLC_R18kW = Sub18Substation18PowerkWtot         M340PLC_R19kW = Sub19Substation19PowerkWtot         M340PLC_R20kW = M340PLC_G1_GEN_FREQ_PV                 M340PLC_R21kW = Sub21Substation21PowerkWtot         M340PLC_R22kW = Sub22Substation_22PowerkWtot         M340PLC_R23kW = Sub23Substation_23PowerkWtot         M340PLC_R24kW = Sub24Substation_24PowerkWtot         M340PLC_R25kW = Sub25Substation25PowerkWtot         M340PLC_R26kW = Sub26Substation26PowerkWtot         M340PLC_R27kW = Sub27Substation27PowerkWtot         M340PLC_R28kW = Sub28Substation28PowerkWtot         M340PLC_R29kW = Sub29Substation29PowerkWtot         M340PLC_R30kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R31kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R32kW = PV2_SSB1PowerMeterPowerkWtot         M340PLC_R33kW = PV2_SSB2PowerMeterPowerkWtot         M340PLC_R34kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R35kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R36kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_PQM3_WATTS_PV = HV_MetersBunnings_Intake_StnPowerkWtot         M340PLC_SOL01_SSB1_KW = SolarSSB1PowerMeterPowerkWtot         M340PLC_SOL01_SSB2_KW = SolarSSB2PowerMeterPowerkWtot         M340PLC_SOL01_SSB3_KW = SolarSSB3PowerMeterPowerkWtot         M340PLC_SOL01_SSB4_KW = SolarSSB4PowerMeterPowerkWtot         //Go to sleep for 1 second so as to not overload CPU         Sleep(1)     //Go back to start of Loop     END //End of Function END  
  6. I have a Modicon NOM0200 unit connected to an access switch to send commands to various rs-232 devices. The Access switch requires a "disconnect string" to end communication with a particular port. The disconnect string is "CRTL+D", how can I send a "CRTL" keystroke from the NOM0200 unit? I know for carriage return it is "$R" is their a similar combination I can enter for "CTRL"?  
  7. I am working on a project with two M340 PLCs and need to read a Real type data point into my PLC from the other. I have setup my READ_VAR block to do this, but I'm having trouble understanding the form of the output. I get that a Real type takes two registers and that each register will be read into a part of an Int Array through the READ_VAR block, but how can I now convert it back into a Real so I can use it in my logic? This is just a fundamental thing that I can't get my head around, maybe I've already read the answer somewhere online but it isn't making sense to me. This also needs to read an updated value every second because it is being used for an interlock. Do I use a TP to enable the READ_VAR this way?
  8. I am having issues with M340 IO scanning. I have the NOE card next to the CPU which is a 2020 item. I have set the Network for the CPU as 192.168.0.5 and the NOE card as 192.168.0.12. To the NOE card I have connected a Deep Sea Electronics 8610 MkII generator controller which has configurable modbus pages. Its IP is 192.168.0.3. I have set the IO scan tab of the NOE to read the device at 192.168.0.3 starting at remote address 442497 (Page 166 of the DSE, 166*256). for 80 registers and to store them in PLC at %MW300 onward. When compiled this read works perfectly with values being loaded. The problem comes when I try a second read from the same device. This time Page 167 (167*256) at address 442753 which is sent to local PLC %MW380 onward. Now when I compile the code the first page is read OK as prior but the second read shows a "Faulty/Absent" on teh IO scanner debug page and no values are read. If I change the first entry to scan page 167 with page 166 deleted, again all is OK. It seams I am unable to make more than one read of the DSE product. I have spoke with DSE whom state the device can have multi reads from multiple masters and they have proved multiple reads from the same and different devices. I am now at a loss as to what to try next. I hope somebody can provide some insight. I also tryed doing teh second read with a standard READ_VAR command with teh same result. Just wondering if its a NOE thing or a set up thing I have missed.
  9. I have an application where data gets placed in a csv file. I need to read data from this file in to memory of a M340 PLC. Is there a way to program the M340 PLC to open and read the file in to an array or is this not possible at the PLC. Looked through google with little success.
  10. Hi I am using a P342020 together with a HMID642 Magelis Panel. Using Unity Pro I have successfully downloaded a program to the CPU via USB. The HMI Panel powers up into 'Initial Start Mode' and is asking me to 'Download the system from your editor.' How is this done? How should the ethernet connections be made? between PC (with Unity Pro and Vijeo), M340 and HMI panel and where do I set all the IP addresses? I guess there is documentation somewhere but couldn't find it...! Regards   Andy
  11. Hi   First post in this forum - hope I'm not duplicating topics..... I've had prior experience with Siemens S7 Tags for I/O allocation - how is it done for the M340/Unity setup please ie how do you assign a physical address (say %I.0.1.5) to an input in the program? I imagine it is somewhere in the 'Configuration' section where I have defined all the modules?? I find the standard help quite hard to follow and find what I'm looking for - anyone have any better documentation. Also I am feeding a quadrature encoder output into a high speed counter module - any tips/examples of suitable program structure to use? Thanks for listening.... Andy  
  12. when i try to upload a code to m340 it give me this message  "This isn't a valid PLC Address, or PLC is busy , or media is off." whatever i use usb or tcp/ip port, it don't always give me the message but most of the time it does and i have to unplug and replug the cable many time until it upload the code, i am sure it's not a cable problem what can it be?
  13. Hi All, I'm still quite new to Unity and Modicon PLCs. I have a PLC program running in simulation mode for development/test and I'd like to follow the logic inside a running block. I can't seem to just double click the function block while online to see it's 'inside' logic. Is there a way to inspect the inside of a running function block? How can I check and diagnose the logic a running function block? Thanks!
  14. Hello everyone, I have difficulty to setting up the GSM configuration or the serial RTU configuration so that I allow you with another RTU. I use Schneider CPU Modicon M340 in conjunction with RTU communication NOR0200H and a Modem Schneider SR02 MOD02. This is the first time I'm working on this kind of project, want to help me, I'm stuck and I need a solution, thank you for your time.  
  15. I can not figure out how to perform Io Scanning without using NOE Module  Is it by using Read_Var and Write_Var ?  and if it is , How . Any links can help ?
  16. Hi guys, I have tried almost everything and ran out of option on how can I successfully connect modicon m34020 processor using mini USB with unity pro, I am working in Windows 10 and selected everything possibly correct I can, like setting address to USB, and "SYS" in Set parameters, I have USBplc driver installed and it shows, "disconnected" and local and remote id emptly fields. In my device manager, I can see a question mark on the processor driver "BMX CPU" and when I try to update/upgrade/fix it it simply goes to nothing. While the Unity Pro shows the error "this isn't the right address or the plc is too busy or off". Please advise, if i am missing something. thanks in advance.
  17.   Hi All.I hope you are all doing excellent and also, hope you can help me.Today I contact you as I am having some issue when programming a PLC.I need to create a piece of software that:1) Can control a random number of machines at any given time.2) Each machine is a slave 3) They are exactly the same, do exactly the same thing.--------------So far I have managed to create a piece of code that allows me to control a fixed number of machines but things get complicated when one job does not need 10 machines but 20 and the next one needs 15, and the next need 5 and so on.I have thought to use arrays to do this job but this is an area I have not touched at all and I would like to ask for your advice in this area.I hope everything is understood.Thank you very much for your help in advance.
  18. Hi guys, I'm in the middle of a little university project, I'm attempting to implement a control system purely based on artificial intelligence. A neural network will be used to map the characteristics of a power plant. A fuzzy logic controller will be used instead of the conventional PID and finally a genetic algorithm will be used to tune the controller while the system is online. This is all simulated of course. Each of those AI's will be developed in Matlab. Only problem with that is, is it outputs the code in C or C++ (From memory). I would have to convert this to structured text (Based on Pascal). So to circumvent this problem I thought I would just directly interface matlab to the PLC (Schneiders M340).  My idea being, all the calculations are done in matlab which are then sent back to the PLC. However this presents me with a new problem of how I would be able to interface matlab to the PLC. If anyone has experience with this sort of connectivity, any advice would be greatly appreciated. Thank you in advance, Luchek
  19. Hello everyone, I'm having some trouble to setup the GSM configuration so I can receive alarms on my cell phone I'm using Schneider CPU Modicon M340 in association with a communication RTU NOR0200H and a Schneider Modem SR02 MOD02 this is the first time that I work on this kind of project, would you please help me I'm kind of blocked and I need a solution asap thank you for your time
  20. hi everybody ; 1-i want to connect m340 with hmi (gto) via ethernet and i want to set adress of the (m340) in the vijeo designer but i don't know which protocol of these i can use and how to set the adresses does anyone has a pictured pdf for which protocol to choose 2- do i need to download (run time installer) to the target(hmi) before i download to it or it is already downloaded to the gto automatically .
  21. Dear All. I need an Instructor to teach me Unity Pro XL Programming used in M340. I am willing to pay whatever you ask for it. It can also be off line by Emails or whatever your Schedule works best. I need a coach trough out my Start and competition of the project. Thanks in advance.
  22. I have a rack with PLC and Ethernet card and I/O cards . I have an other rack with out PLC , Just I/O cards and Ethernet . I must be able to read the data from other rack through ethernet . How to config those external card into my plc . M340 Ethernet Remote I/O Any help or link or pdf is appreciated in advanced. Thanks
  23. I have 3 racks . 15 Digital input. Please see the attachment and let me know Do you think this is the good idea to do them for All the Inputs and outputs.? what are the limitation regarding %MW? Please excuse my English. Thanks.
  24. Hi Im new here! Please let me know What cable do you use to program a M340 ? -1- a mini USB ? -2- Ethernet ? -3-RS485? any one can give me a sample test program to test M340? just a dummy simple program to start from there. I appreciate it in advance.