Search the Community

Showing results for tags 'Program a M340'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 94 results

  1. hello every body.  I want to upload program from  HMIGXU3500 . I have  Vijeo Designer Basic v1.0   software Is it possible to upload program from this HMI.? I want to have back up file 
  2. 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
  3. Program lost after battery replace

    We think so we lost the program after a battery replace, because the program isn´t loaded on GOT. Is it possible restore it by the PLC?
  4. 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
  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. Granite Line Polisher Machine

    Hello friends, I have been working on Granite Line polisher machine. I have completed the program but there is a requirement for polishing the Uneven shape of granite slab. Has anyone worked on logic of this machine? Can anyone give some idea for the logic or the Plc program. I have seen Chinese machine manufacturers giving this feature. 
  9. 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.
  10. 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.
  11. Hello,, I have motion controller A series A172SHCPUN,, I have written the program ladder into the CPU, but I can't write the motion program.. i dont have the program to open file the program motion and I want to ask if I have the software SW3RNC-GSVE, my os computer is window XP, Can it be installed? and is the cable transfer used the same as the ladder transfer program cable (SC09)?
  12. Mitsubishi GT DESİGNER GOT1000

    Hi,  I need this program Please help me  R.lotfi@gmx.com
  13. 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
  14. Hello folks,   I am a rookie, self-training in PLC programming. I have written an SFC exercise (attached ACD file). I also try to call STL written subroutines and add-on instructions, from within the SFC main program. Calling the created subroutine works fine, but calling the add-on instruction fails from a reason which is above my level. I tried, tried and tried different solutions, with no avail. I am either wrong in writing the add-on (perhaps some missing but missing tag ?), or wrong is calling it. Can someone please give me a hint on what I do wrong ?   Thank you, Radu PS . I use Studio 5000 v24, combined with RSLogix 5000 Emulator.     SFC_trial.ACD
  15. PLC trainee

    Version 1.0.0

    80 downloads

    SFC test file; cant call an STL written add-on from SFC main program
  16. PLC trainee View File SFC test file; cant call an STL written add-on from SFC main program Submitter Radu Babau Submitted 02/04/19 Category PLC Sample Code
  17. Panasonic FP0 C14RS

    Hi All, I am new to the forum and new to programming PLC and like every newbie I have a lot of questions - Brief History of me - I had been a Manufacturing Technician for 20 years and recently got my BS on Electrical Engineering and now working as an Equipment Engineer. The main reason that got me interested in PLC's is my degree,  the field that I would like to get into and a recent problem that arise at work. My experience with PLC is very small in programming, some in TS I/O- However I had been studying by my self to the point that I built a test bench to understand it better and in the future create different project for learning purposes Currently I am putting together a tool Alarm delay program - Basically my exhaust sensors trigger an alarm (input signal turns OFF) before its send  the signal to my tool for abort, I want to create a different Alarm which will cause a different response from my tool and delay the original Alarm by 10 min and then trigger the original Alarm - PLC = Panasonic FP0C14RS  Reasons: Create a different Alarm: The response from my tool to this alarm will allow me to return my material back from the tool and put it in a safe spot. Delay the Alarm: Use a timer to perform this tasks - This the time that approx. it takes the to return the material. Trigger the original Alarm: I need to know which sensor was the problem in order to properly TS- So after my timer is complete - I want to know which sensor created the original Alarm My Current problem: I created the LD program, and while the original alarm stays OFF the program works fine - but since my exhaust sensor are always on - If my original alarm is trigger for  a few seconds, just enough to start my Delay Alarm: I dont have a way to know which sensor trigger after my Delay(Timer)is complete,  I reset my relays in order to be ready for new alarm.   Please provide feedback to my program - I know currently is not the best way or efficient way to do this and there are better ways, but my plan is to get it to work and then later revisions improve the way the program can be written   Thanks in advanced for your feedback and help Exh_delay_inv_rev1.pro
  18. ladder program

    Hello everyone, I want to know why the Y172 coil is ON / logic 1? whereas contact SM1 is worth OFF / logic 0? can anyone explain it to me ?
  19. Hello.. I have hmi Proface GP-4301TW, USB type B cable and ethernet cable. I want to transfer the program to the hmi but I cant. When I turn on the power of hmi,  a series of test appears and finally it looks like the photo below and I cant enter the offline menu.. can anybody help me to solve the problem?
  20. 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  
  21. Please,if anyone has a working program (.stx).I need it to test a PL7 JUNIOR software
  22. Hi, In conception phase we currently use GXWorks to upload programs to PLC (L-Series). In production mode, for different security reasons we would like to automate this transfer so that the operator does not access directly to the program. Do you know any tool allowing this by using command lines and not GXWorks UI ? (GXWorks does not seem to be "command line" friendly As a POC I  have automated the GXWorks UI in C#  (by simulating menu or buttons clicks) but I don't find it reliable (what if an unexpected popup "pops" ? ). PS : I am a totally noob in this PLC world so maybe I missed stg in the docs ... 
  23. A machine was bought at auction which included PLC-5/15 module.  It did not come with a backup of the program.  Our maintenance technician said the program would not load and turned the module over to me (IT).  I notice the battery was installed in '92 so am assuming the program is lost.  Is their any internal memory or last ditch effort i can attempt to recover the program from this module?
  24. Hi Guys! You can read my problem below, if anybody can help, please do it. Thank you. So, I have 4 knife. You can set the cutting width for each knife separately. The problem is, there is a lot of size. There is an example: No1 size:  #1: 20 mm, #2: 25mm, #3: 30mm, #4: 25mm   (#1=Knife1.......)                                       No2 size: #1: 22mm, #2:24mm, #3: 32mm, #4: 27mm What is make the problem more difficult is There are plenty of type code too. Like X1, X2, X3, Y1, Y2, Y3 ..... This is the main material code. and you can choose the belogging size. So you can select for X1 to No1 or No2 ... but you can select for X2 to No1 or No2 or any sizegroup you want. I can solve it with a lot programming, like deal every possible situation ... but there is a lot time .... :S  There is a touch panel where you can set the values.  Anybody have another idea for this problem ?