Search the Community

Showing results for tags 'nx102-1200 ssi encoder'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 115 results

  1. Siemens S7-1500 and SICK

    Hello all, Let me start by saying that although I have been working with PLCs for 20+ years I am very (as in brand) new to the Siemens world (my wheelhouse is AB). That being said I have a Siemens S7-1500 (1511 specifically) CPU with a couple of SICK multi-turn Profi-Net encoders (AFM60A-S4NB018x12) that I need to talk to. - I am using TIA v13 with all of the updates. - I have the GSD file from SICK for the encoder. - I have no clue what I am doing - I can see the encoder values update in the watch table as I move the encoder. All fine and dandy so far... Here's where the white flag is going up.... - I am of the belief that there are existing function blocks out there 'somewhere' that can read and write to the base parameters. I have contacted our local rep who deferred me to SICK. I have emailed and left messages with them and have not gotten a return anything thus far. Here's our application... We are attaching each encoder to its own rotary gear mechanism. The rotary will need to turn in the CW direction approximately 400 degrees then return to its start point by rotating in the CCW direction by the same amount. If/When production/maintenance needs to 'rehome' the assembly, the expectation is that they 'pin' the drive in a known location then a bit would be set within the CPU that would assign a specific value to the encoder's actual position. In the SICK manual (8015078/YIX6/2015-01-16) on page 31 (section 3.6.3) there is reference to Preset control. This is what I believe we need to perform the aforementioned function. Does anyone have any examples that they could share on how to read/write to these encoders by use of a Function Block or other? Relatively desperate for help at this point. Can post test code if need be. Thank you in advance, TLAF
  2. Dear colleagues and siemens experts, I''m new in siemens. As all I make my program for PLC, but I need help with PID autotunig (pretuning) I use : 1.CPU 1214C DC/DC/DC (6ES7214-1AG40-0XB0) 2. 6ES7214-1AG40-0XB02. 16IN/16 OUT DC/DC/DC (6ES7-223-1BL32-0XB0) 3. 2x 6ES7231-5PD32-0XB0 ( 4 channel RTD analog module - PT100) We use 7(seven) Pt100 points with 7(seven) heaters ... so I need 7 additional outputs..... [you can see example of wiring in attached pic 6es7231-5pd32-0xb0-modules.jpg] Maximum heating point is around 220 degrees. I make my configuration for PID_Compact : 1. Basic settings 1.1 Controller type : Temperature : °C Set mode to : Pretuning ( sometimes I make it Automatic mode) 1.2 Input_Per(analog) -----> Output_PWM 2.Process value setting: 2.1 Process value limits: Process value high limit : 220.0 °C 2.2 Process value limits: Default 3. Advance setting 3.1Process value monitor : Default 3.2 PWM limits Minimum ON time : 0.5 sec Minimum OFF time : 0.5 sec 3.3 Output value : Default 3.4 PID parameters : Default I start Commissioning with these steps : 1. Measurement : Sampling time 0.5 Start 2. Start PID_Compact 3.Tuning mode : Start When I try first time my setpoint was 90 degrees , second time I try with 120 degrees. After 4-5 hours it stop more in Progress bar it stop when I reach a little more then 50%, and I stop PID. For heaters it is not normal to process to be 4-5 hours, there have some wrong. Example with 120 degrees : During process I make : When Input_PER reach 120[1200] degrees I stop physical access to heaters. When Input_PER reach 100[1000] degrees I start physical access to heaters So 4-5 hours is soo long time for this type process. Time to reach 120 degrees from 100 degrees is around 2-3 min. Time to fall from 120 degrees to 100 degrees is around 4-5 min. Total time for one whole cycle around : 8min. Sometimes when I set setpoint to 140, 150 degrees it writes me that output set value is to high after I give Start Pretuning ? Even sometimes when try for 120 degrees .... As all I want to start PID pretuning (autotuning) with setpoint 140 - 150 degrees. Which are minimum requirement to start PID autotuning with PID_Compact ? Could you send me some very simple example and steps that I must make or only steps ? I attached files in dropbox with images and program example, because I can't attached nothing here. This form don't give me access to attached something. So link is here : Even program is there. Thanks in advance Best regards : Altan
  3. Hello! I have a PLC S7-1200 (1212C DC/DC/DC) and a few question about programming S7-1200 in TIA Portal v13. 1. I want to make "upload station", because I am not surre whichone project is the last. But, when I start upload data, the error hapens, and the decription of error is: The name of the station "S7-1200 Station_1" is already in use in the project. How and where can I change it? 2. And the last question: I try to connect my S7-1200 and Weintek simualtion. There is all time :"PLC not connected". I have chceck everything: PLC is OK, communication PC-PLC ok (ping ok), windows firewall off, administrator rights ok, configuration made with manuals, (CPU - Siemens S7-1200, IP: 192.168.1.100, port 102, tags import - ok.) I have read the manual many times, and check settings - nothing change. Maybe have someone problems like this, and found a solution? PLC: 6ES7212-1AE40-0XB0 WIndows: 7 Proffessional 32 bit Program: TIA Portal V13 Basics Weintek: EasyBuilder Pro V5.02.01 Best Regards! Andrzej.
  4. Hello Everyone, I want to have a serial communication using Siemens S7-1200 with CM 1241 (RS-232) and communicate with my Arduino. Here is the setup of the communication. I have 2 temperature sensor and one Led connected to my Arduino, and on the PLC side I have S7-1200 from Siemens and CM-1241. Arduino and my PLC are connected just by using Tx and Rx pin no handshake is done. I am sending the temperature data from both the sensor to the PLC. on the PLC side i decide when to turn on the Led connected to my arduino depending on the different temperature values. I have assigning a ID to both the sensors before sending out the data. This is how the transmitted data from Arduino looks like $AOPT_TEMP1_20_TEMP2_21 . So far its good, I am receiving serial data on my PLC using RCV_PTP (received data are placed on the buffer) and sending data using SEND_PTP. I have also implement a filter on the PLC which will only accepts the serial data starting with '$AOPT_'. Now, I want to receive the temperature value from two temperature sensor TEMP1 & TEMP2 and then control the Led. For instance if (TEMP1>TEMP2 ) then turn ON the Led else turn OFF. I am able to receive the data on the PLC from Arduino but now I don't know how to proceed with comparing the received information. How do i extract the only required data from the received buffer? Any suggestions will be highly appreciated. Thanks in advance....
  5. S7 Schedule program block (HVAC)

    Hi, Lately I've been working with Siemens S7 1200 for HVAC applications and I was wondering if anyone has a working schedule program. I need to be able to set weekly schedules and exception schedules. Also its supposed to be controlled from a SCADA so there needs to be a DB. I've heard some rumors that siemens have made something like this but I can't seem to find it anywhere.
  6. I'll set the scene a little before I explain the issue that I am having. I have an application where I have a Linear Servo Slide acting as a Press Kick-off cylinder on a ceramic press. In order to trigger this Slide accurately, I have installed an Absolute Rotary Encoder (a Turck product) to the press, which outputs an Analog signal for its specific position. I then have this as an input into my CompactLogix L33ERM through a 1769-IF4 Analog Input card. Within my code, I'm trying to capture the moment where the press has presented the part out of the die and it can be ejected from the press cavity without damage the part. Mis-timing on this ejection and the part will clip the die pad tooling and incur damage upon ejection. Now, one last point of clarification, I am a Mechanical Engineer by trade, so I don't claim to be an expert programmer. But I have learned a lot and have gained experience in programming applications like this, so I can learn quick and should be able to program this task. I have had my local Allen Bradley guy look at the code I'm using for this application, and he thinks it looks good, but I'm still having issues. What I have done, is within the code, I have a window that I look for, of the encoder's position, to trigger the ejection shoe to fire its sequence and kick the part off. However, I have had to make this window so large in order for the code to see it every press cycle, that occasionally, the ejection shoe will be fired at the back end of the window, which is actually too late, and my part is being damaged. Attached is a snapshot of the code. The OkSamplePress.DN is actually a timer that I have that looks at the current press rate and puts a delay in to not allow the kick-off to fire too early, because I was actually getting a glitch before where the kick-off would fire prematurely for some reason. I don't know if anyone can offer assistance on this or not, but I would greatly appreciate any help at all. Its become quite frustrating, as the rest of my machine functions quite well, and this seems to be the nagging issue I can't get rid of. Thanks in advance...Josh
  7. HELP S7-1200 tia portal

    Hi I m new and I need some help in programmin an actuator with S7-1200 on TIA PORTAL Here is the topic: program an actuator which move between two position located by thwo limit switch END_FWD_SW and END_BCK_SW To do that I have : Hardware: S7-1200 CPU 1212C AC/DC/RLY 6ES7 212-1BD30-0XB0 1 REVERSING CONTACTOR WITH LED 1 STARTER 1 POWER SUPPLY the list of inputs I have : 1 FWD_BUTTON to send the actuator forward until it reach the limit switch END_FWD_SW 1 BCK_BUTTON to send the actuator backward until it reach the limit switch END_BCK_SW 1 ESTOP_BUTTON to stop the actuator at any time 1 AUTO_BUTTON to set the system in auto mode so that the actuator could move itself from one position to another and so on go and come automatically 1 MANUAL_BUTTON to set the system in manual mode 1 INPUT_FWD_SWITCH this is the limit switch for the END FORWARD POSITION 1 INPUT_BCK_SWITCH this is the limit switch for the END BACKWARD POSITION The list of outputs I have 1 OUT_FWD to send the actuator forward 1 OUT_FWD to send the actuator Backward I do not know if I have to put the coil of the reversing contactor as OUTPUT too ??? because the reversing contactor has two coils : one that i used to go Forward and the other that I use to go backward the reversing contactor has an mechanical interlock of course. The actuator connection has two switch to send it Extended or Retracted. Of course the actuator is connected to a motor as you can see in the file attached showing it with his drawing connection. I also have to count the number of thime the actuator is used for the history. Any help please ???? Thanks you ! i HAVE ALSO ATTACGED THE PROGRAM I HAVE WRITE, I WANTED TO USED DB AND DB INSTANCE TO DO THAT CAN SOMEONE HELP ME IN MY PROGRAM ????
  8. Induction Motor with encoder

    Hello, I am not sure if this topic is too far from what the forum concerns, but any advice is greatly appreciated including reference to other reference. I want to know if any induction motor has internal encoder equipped. We are using servo motors, and additionally an encoder for position check. Because the position control resolution requirement is about 1 degree, I am thinking about abandoning servo motor, and to use induction instead. Servo motor has internal encoders for outputting pulse information. And I wonder, if there are induction motors with internal encoders. Thanks in advance. Ting
  9. I am currently trying to get my program to take distance traveled per pulse, which is based off of the diameter, and convert it into IPM. I am using RS Logic 5000 software. If anyone could help me get over this hump I would really appreciate it!
  10. SIMATIC S7-1200 + HMI +network

    I have a Simatic S7-1200 and i have a couple of questions :) I have three analog sensor giving information to the plc. software = Simatic step 7 basic V11 my questions: - can i connect the plc via a cable to a rooter to access the network to use a printer ? -can i connect a SIMATIC HMI KTP400 BASIC COLOR PN via a cable to a rooter to use with the plc via the network? - can i generate a document in the software , add my sensor data and print the document using all of the above ? thanks for all the help :)
  11. String encoder

    I need to replace existing encoder with quadrature output which is failing. We need to have minimum measuring distance of 60 inches. The encoder installed by manufacturer is Temposonics R-series RHS0650UMSO1Q1AC10 The resolution can be lower than the current encoder, probably 500 counts/inch or higher would be OK. Do you have any product that can be used? I was thinking about string encoder but I am open to suggestions.
  12. Hi Good Day, I need a suggestion, I have an omron encoder, encoder counter meter (K3NC-NB1A) and communication card RS-232C 25pins (K31-FLK1). My question is, what is the best omron software to read and manipulate the data from the encoder (I have CX-one software but I only use CX-programmer). I want to capture the encoder pulse and convert to velocity, acceleration, deceleration and also energy absorbtion. I have to use mathematical formula such as two times differentiation. I also need to show grapf and display final result that is energy absorbtion reading. Or is it much simple if I use VB / labview / java software? Thank you in advance
  13. I have a project where I need to use an SSI Absolute Encoder with a Micrologix 1400 PLC. I've never done this and need help. The SSI have a Clock and Data signals that are different from anything I've ever used. 1.Can it be done using the HSC inputs? 2. I found an AMCI card I could use but I am trying to keep everything AB and in the Micro Family. 3. I don't want to use Gray Scale encoders because of the number of Inputs I have to use. Trying to package a small enclosure and don't much room left. 4. AB sells an SSI encoder but they don't have any info on hooking up to anything other than Point IO module.(kills my budget) Thanks and any assistance would be greatly appreciated. ~Angel
  14. Version 3.11.5.0

    3821 downloads

    .NET class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with Siemens S7-200, S7-300, S7-400, S7-1200, & S7-1500 PLCs via Ethernet.   For .NET Framework 2.0 - 4.8 projects. Supports UDTs Does not require OPC, Siemens, or 3rd party drivers x86, x64, and Any CPU compatible Visual Studio.NET 2010, 2012, 2013, 2015, 2017, 2019, and 2022 compatible Most .NET targets are supported, including Web, Windows, console, and service apps Can be configured programmatically or visually Visually design your entire communications configuration without writing a single line of code Extremely high performance - 5~10 mSec typical transaction time Highly optimized to minimize communications transactions Tag database can be configured via code or visual designer 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 including A-B, GE, Modbus, etc. 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 to your factory floor systems. Immediate Internet delivery and online license activation. No runtime fees or keys for qualified applications  
  15. File Name: Siemens S7 Ethernet Driver for .NET File Submitter: Automated Solutions File Submitted: 21 Apr 2013 File Category: Demo Software .NET Component for use in Visual Studio.NET to create HMI/SCADA apps that communicate with Siemens S7-200, S7-300, S7-400, S7-1200, & S7-1500 PLCs via Ethernet. Supports UDTs Does not require OPC, Siemens, or 3rd party drivers x86, x64, and Any CPU compatible Visual Studio.NET 2005, 2008, 2010, 2012, and 2013 Compatible Most .NET targets are supported, including Web, Windows, console, and service apps. Can be configured programmatically or visually Visually design your entire communications configuration without writing a single line of code Extremely high performance - 5~10 mSec typical transaction time Highly optimized to minimize communications transactions Tag database can be configured via code or visual designer 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 including A-B, GE, Modbus, etc. 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 to your factory floor systems. Immediate Internet delivery and online license activation. No runtime fees or keys for qualified applications Click here to download this file