Search the Community

Showing results for tags 'micrologix 1200'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 93 results

  1. Square Wave Problem With Micrologix

    Hello all, this is my first post. I am using an AB Micrologix 1400 (1766-L32BXB Ser C FW 21). I was trying to generate a pulse train using the PTO instruction. I have modified PTOX funct. file. The ladder is just a simple XIO followed by PTO, (The Quick Start ladder from 1766-RM001). When I looked at the output waveform on my oscilloscope, I noticed that it wasn't a square wave. I decided to run it at several different frequencies to see how the wave form would change. At 10Hz i got a square wave. As I increased the frequency the falling edge became sloped and almost horizontal. Is this how the output should behave? The data sheet indicates a max frequency of 100kHz, but at frequencies over 150 Hz. The wave form looks like the output of SMPS. 
  2. Hi all, I have my own driver to communicate with a MicroLogix 1400. Please refer to the attached screenshot from Wireshark. is my driver's host, and is the ML1400. The startup sequence to establish a connection & session with the PLC is correct I believe: - In the grey highlight, client requests a connection to .192 via SYN and this is ack'd - A session is registered, and forward open is successful - There's a lot of stuff in green simply because I've also got an HTTP browser session open to the PLC to monitor its session table - In between, spaced 8 seconds apart, are my two attempts to keep the connection alive by sending a List Identity request (as a ping, if you like). These are highlighted in pale blue. - However, 16.5 seconds from the start of the grey highlight, and 16.4 seconds after sequence=115 ack=99, the controller sends back a [RST, ACK] and a callback from my socket code tells me that the session has been dropped. The connection timeout for the PLC is configured as either 30 or 60 seconds, so I don't see how that's relevant here when the reset is happening only 17 seconds after it was established ? However, presumably the PLC doesn't see the application-level "List Identity" request as a valid means of keeping the connection alive. What is the correct mechanism to use that the PLC will accept as a keep-alive ?
  3. Siemens Simatic S7-1200 component selection

    Hi,  I am designing measurement devices and i intend to use Simatic S7-1200 as PLC for my new device. The problem is, my background is nothing close the electric and I am having quite a lot troubles when it comes to select components, I do not know how can I select components that are compatible with the PLC i am going to use.  Pressure sensor, humidity sensor shall be selected and which parameters I should be careful about? I read somewhere 24VDC supply voltage is needed. Is it needed even the device has digital output or is it for analog output only? How do I make sure about the communication interface? For some devices it says I2C, is that compatible with S7-1200? or do i need a special communication module for each component? Then it will be super expensive.  I would appreciate any answer. 
  4. Hi there, As a software engineer, but a newbie to the Allen-Bradley world, sorry if this question doesn't make sense. I'm enhancing an existing driver by trying to add the ability to read/write structured and array data types - rather than just the elementary data types it supports right now. This following question is only in the context of SLC/500 & MicroLogix 1400. And I'm currently working on a Counter as a test case, but any solution obviously needs to take into account other structured (and array) data types. One of the requirements is that the user should be able to select a specific atomic item within a parent structure/array that they want to read/write. So, using the Counter as an example, they might want to define a field which holds just the value of the accumulator. I know that I can achieve this with a CIP command. I specify file type 87 for counter, file number as 5 (my test example happens to be the standard C5 data file of counters), and element is 0 (for the first counter in C5). Bit number is irrelevant so remains as zero. I ask CIP to return me 2 bytes of data (to hold just the accumulator word). Finally, I tell CIP that I want sub-element 2 (because the accumulator is Word 2 of the whole structure). Sure enough, the CIP response gives me exactly the 2-byte accumulator value I was expecting, nothing more, nothing less. Success. My question is this: I knew I had to specify the sub-element as 2; this happens to work for a Counter because of the way it is structured as 3 words. However, it implies that the value I specify for sub-element is ALWAYS measured in units of 16-bit words. Is this a universal truth (i.e. works for other structured types too ?), or does the size of a sub-element depend on other factors, such as the file type ?   Thank you in anticipation.
  5. I'm a Controls Engineer and have exclusively used Allen Bradley for 8 years. Outside of my job, I was asked by a new start up brewery if I could help with some PLC and HMI issues they are having.  I'm anxious to lend a hand, but unfortunately it's all Siemens and I don't have any experience with it.  I'm sure I'll be fine once I'm able to communication with the PLC, but the software and license are my concern. My biggest hurdle is determining what software I need and hopefully finding a free version I can use. The PLC is a Simatic S7-1200.  I found a link on Siemens for a free 21 day trial for TIA Portal and WinCC, but wanted to make sure that was my best option. If anyone could offer any advice, I would greatly appreciate it! 

    I thought only PLC5's had EEPROM, but I was told MicroLogix PLC's also have an EEPROM that need to be burned to... What are all the PLC's that have EEPROM and require an EEPROM burn to prevent the program from being wiped in a power cycle?
  7. My project is to read an RFID tag (ascii) with a Micrologix 1400, send the string to a PC using Ethernet/IP, lookup and compare in an Excel spreadsheet, and send back data (probably an integer) for the plc to use to control direction. I have to scan and compare an RFID tag to a list of 1400 possible part numbers, at different locations (more than 1 plc). I want the several PLCs to go to a single PC to make it easy to update when changes occur (on a weekly basis). Has anyone done anything like this? I'm assuming there will have to be some kind of vb or c+ application involved.   Thanks,  CK
  8. Hi All, Am trying to communicate and make In-Sight bar code reader to trigger through MicroLogix 1100 with RSLogix 500.  Does any have any info as to the steps to follow. Most of the info I saw and have tried were for SLC processor In fact, I created the String file ST10:0  for the target device as was mentioned in one of the posts but when I complied it there was error saying that St10:0 was not supported by the module. Please see attached file. Any insight will be appreciated  
  9. Mitsubishi & Siemens OPC connection

    Hi All,  I am undergoing a project that requires me to connect a siemens s7-1200 with a Mitsubishi FX-3GE PLC using OPC UA. I was under the impression that Kepserver ex could do this, you ca install a 'mitsubishi suite' and a 'siemens suite' which will allow the kepserverex server to choose the drivers and connect the two plcs. Siemen's support however have told me that the s7-1200 CPU cannot function as an OPC client, and just as a server? If true, I do not understand how to get the mitsubishi FX to be a client to the siemens server, as kepserverex seemed to provide a solution.   
  10. I know nothing about HMI's or Crimson software.  I'm in I.T. and we had to change the third octet in the IP address and gateway on all devices at our warehouse.  I extracted the file on one HMI, changed the ethernet info, and clicked send.  That HMI that runs a carpet machine works perfectly.  I went to the second carpet machine.  Extracted the file changed it's ethernet info, clicked send.  It came back with all ---- (dash's) instead of zeros, the carpet machine won't work.  I kept messing with the file trying different things, and inadvertently saved over the original extracted file!!!!!  So I thought I'd extract the file from the working carpet machine and loaded it on the second carpet machine.  I get the same issue, all ---- (dash's) on the HMI and you push any of the buttons on the front of the HMI and nothing works.  These are Allen Bradley MicroLogix 1500 running Crimson 2.0 HELP I don't know how to resolve this issue.  I would have thought both HMI's would have been the same!  HMI all dashes.eml HMI all dashes2.eml
  11. Sample blocks for S7 1200 plc's

    Hi experts, please share the sample blocks for the EDITABLE TIMER block it should be editable from HMI(Siemens). And also motor run hour block. Actually i am having all blocks in tia v12 version and sadly i dont have the old software to convert it again. So please share the blocks that it shoud be work in TIA V14 for s7 1200 plc's. Please note that the blocks should use add instructions to calculate the time because i don't have much memory.
  12. MicroLogix 1100 IP Addressing

    I have a micrologix 1100 PLC as well as a weintek HMI all connected through a network switch for them to communicate between each other, however I'm having an issue where the Micrologix Controller will not retain its IP address once I set it through Allen Bradleys BootP tool. I can set it through the tool and then go into RSlogix 500 and communicate with it and all that, but once the controller is turned off the IP address goes back to its factory setting of not showing an IP at all. Any suggestions/ ideas as to what I'm doing wrong?
  13. Hi, to start, I'm very new to Siemens PLCs, but quite experienced on others (mainly ABB). I'm looking to set up a profinet network between an ABB AC500 PLC and an S7-1200. The goal is to transfer variables from an existing S7-1200 (owned by the customer) to my new AC500. It is required that I do this without having to stop the S7-1200. I can set up the AC500 as a profinet device, and have the S7-1200 remain as the controller, but this requires a config change on the S7-1200, which means I'd have to stop the PLC. I tried setting up the ABB as a profinet controller, but I'm having trouble finding a GSDML for the S7-1200 to allow me to do this.  Can anyone advise me on the best route to take to solve this problem? Thanks in advance.
  14. Tia Portal Programming Help PLEASE

    Hello I am having some difficulty writing code for a specific function using Tia portal and a S7-1200. I 10 Digital inputs and 1 analogue output set for 0-10V. When 1 DI is high I need the AQ to be at 1V, when any 2 DIs are high I need the AQ to be at 2, When any 3 DIs are high I need the AQ to be at 3V and so on.... I just can't work out the best way to do achieve this.   For a bit more info the to what the project entails the digital inputs are all coming back from DOL starters for woodworking equipment at workstations. When one of these starters is turned on a signal is sent back to the PLC DI card, this open a solenoid in extraction pipework and also increases the frequency at a VSD to extract the dust. So when more workstations are in use the higher the frequency of the VSD will be and the faster the motor will run allowing adequate extraction at all stations
  15. Stepper Motor Control

    can anybody Know how to control stepper motor using PLC
  16. Hey, I have a 1763 L16BBB...when I plug the 1762IF20F2 analog card in, I get a 0189h error code. Any help would be appreciated. Currently looking at doing a bootp on the plc to get ip
  17. Hello All I am new to sysmac studio, i am using a NJ301-1200  and R88M-KN10H servo drive , i connected the servo to the NJ using ethercat. I was able to write a program where i was able to activate the servo from the NJ using the mc_Power instruction . My question is , i am not able to run the servo using the mc_movevelocity and mc_moverelative . Do any one have any suggestion to how to go from here ..  
  18. S7-1200 timer

    Hi All I am struggling to get a TON in TIA v15 to work properly (s7_1212). I have tried reading what i can but still dont understand why what i have is not working.  I have attached a screen shot. I am trying to achieve a bit that is active for 1 scan cycle and resets every second. Coil1 is just staying active however and not resetting the timer.  What i have written works in Connected Components Workbench and other plc software i have used. What am i doing wrong? Thank you in advance. Trevor  
  19. Hello! I am using S7-1200 PLC 1212C AC/DC with configured Modbus TCP Server. I can already read/write Inputs/Outputs (Coils) and Memory Words. However I'd like to read/write Memory BITS. Is it possible? If so, how? What addresses should I use in TIA portal? And which function codes on client side? Thanks in advance!
  20. Hello! I am beginner in PLC world, also in SIEMENS PLCs. I managed communication over private network. Now I have a problem that I get same values on all inputs. Picture below shows my configuration of driver and data monitor. First picture shows values when input I0.0 is in state 0. Second picture shows values when input I0.0 is in state 1. Physically on PLC only input I0.0 is forced to 1, input I0.1 stays 0. But data monitor shows both inputs as state 1. Where is problem? Is problem in PLC program, TIA portal? I saw some guys using DataBlocks but I am not skilled enough to use it. Third picture shows simple PLC program on my PLC. Please help. Thanks in advance!
  21. Hello! I am trying to connect my PLC with SCADA. I am using S7-1200 1212C CPU (RELAY outputs). My SCADA system is iFIX 5.8 with driver S7A. I am trying to establish connection via GPRS router (TCP/IP). Port being used is 102 (default by S7A driver). In my company we have private network, SIM card in GPRS router gets static IP (set by RADIUS server)  which is 10.247.XXX.XXX. My PLC has IP set in Project. I am not sure what am I doing wrong. How to correctly set IP address in PLC to communicate in private network via GPRS router with static IP? I already enabled TCP port 102 in my router but I am not sure to which IP should I enable it because I am not sure if IP address set in PLC is correct. Should I use some communication blocks in program? I also enabled PUT/GET function (see attached pictures). Please help. Thanks in advance! :)  
  22. Have a micrologix 1200R 1762-L40BWAR.  If anyone could help with providing the following information: Need a communication port with single receptacle that will mount through the door of electrical enclosure and then the communication cable (6 to 10') that will go from the com. port to the micrologix. Thanks
  23. Does anyone have an example piece of ladder logic, created on a Micrologix 1200, using ASCII to READ and Write to a serial device?  I am building a ladder on a Micrologix 1200 that will send data to an old CNC once a certain ASCII instruction is received on the PLC.  For example, when the machine spits out an ASCII "1", the PLC will see the "1" and send out a three digit number depending on a sequence of discrete inputs.   Thank you,
  24. Hello, I'm new to PLC Programming, with just a simple course about the basics. I've got a micrologix 1400 PLC which seems to have had its program wiped when the battery was replaced. I've had the company that supplied the machine it runs send me the program for the PLC. However, I don't have any software to communicate with it, and download the program to the PLC. I was hoping some one here could help me out and direct me towards what I will need to do to get the new program installed on the PLC. Thank you 
  25. Hello I have a scenario that's been bugging me for some time now. The scenario consists of a Micrologix 1400 that I need to control it's output from modbus/tcp. In detail what I really need is to be able to manipulate the O0:0 through modbus/tcp. The PLC would be the master and I would be the slave that triggers the connection to the master. I'm using a Modbus-Client on my PC and that should be the slave. Any idea as to how I can manage that? Currently I can send data to the master but everything is "stored" on B10 and I have no idea how I could write directly on O0. Thanks a bunch guys. PS: I'm borderline noob.