Search the Community
Showing results for tags 'sample filter'.
Found 9 results
Sample blocks for S7 1200 plc's
gowthamsudherson posted a topic in SiemensHi 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.
Rolling / Gliding average in GX Works 2
Rolf_Inge posted a topic in MitsubishiHello. Can anyone tell me if there is a function for this in gxworks2? I want to even a jumpy analog signal. I am aware there is a MEAN-function, but that needs me to feed an array of buffered analog values to it. Which I am not familiar with how to do. Cheers
Twincat 2 with Motion control (Maxon motor) and torque sensor
TwinCAT Newbie posted a topic in Other PLCsHi, I'm new to TwinCAT 2 and i'm upgrading a long time design (hence the TwinCAT 2 reference), to read a more sensitive torque signal. I'm using a Beckhoff CX1030 as my PLC Controller. I needed to add 'homing' to my motor sequence and confirmed with Maxon, im using the function blocks correctly and in the correct sequence to establish my 'absolute zero'/'home' position. The motor has an output to write to: ControlWord, which tells the motor that the position it is sitting in is '0.' My program compiles, it runs, it writes each function block, but it's not seeming to get back to the test run opMode, even though i tell it to and the function block performs the 'Write' function. it's stuck at zero and not reading an analog input signal from my torque sensor. so im getting an artificial torque reading through every test. i think this is related to my tare motion. I start the program, home the motor, get into profile velocity mode, tare my sensor, enter profile position mode, go back to position 0, then back to profile velocity mode, run a test, sample data, go back to 'home' or '0.' I wonder 1st, is my variable not linked properly through the system manager? 2nd, i set a boolean variable to set the 4th bit to 1 in my control word write (setting the 4th bit high will set my current position to absolute zero), but did i not connect the program to the main sequence properly? looking to read a valid signal again and see that my motor moves back to 'home' each time. Do i not need to home the motor after the tare, since the tare nulls out the torque value after the tare? after this i need to program my sample period, instead of it being fixed, as it is currently written and then use my home position as my trigger to start sampling.... Beckhoff applications department is overloaded, currently and can't help and this is all beyond the knowledge of the general support line. I've gotten fairly far, on my own, but of course, the project is under a time crunch. Does anyone know twincat well enough to help guide me?
Keyence lvdt to fx3u232 bd communication
Rams posted a topic in MitsubishiAny body having sample program. Please share.
Time between output and input signal
mangan posted a topic in Allen Bradley / Rockwell AutomationHi! I just started with PLC programming. I am trying to get the time between a output signal and a input signal. The problem is that the time is ~200 ms but when i measure it with this code: TONR(Timer1); IF PosFeedback <= PosFeedback_Min & not Timer1.Reset THEN Timer1.TimerEnable := 0; FullCloseDeltaTime := Timer1.ACC; Timer1.Reset := 1; END_IF; IF (move & not Move_LastScan) THEN //Start timer Timer1.TimerEnable := 1; Timer1.Reset := 0; END_IF; Move_LastScan := move; i only get even values in intervalls of 50 ms like 150, 200 and 250 ms. I have changed the real time sample rate to 11 ms so i don't understand why i don't get a more exact result. And i can see in my trend that the time isn't exactly 150, 200 or 250 each time. I i tried and time my own click on a button and i see the problem is the timer, i only get values in an interval of 50 ms. Is there a way to make the timer more exact?
QD75MS Module MR-J3-B program with functional block sample
sachincool786 posted a topic in MitsubishiDear Experts!!! Could you please provide me the sample of "QD75MS Module & MR-J3-B program with functional block" As you can see the page no. 3 in the attached document "KI-Doc_QD77MSXX_MR-J3-XXBS.Zip" sample is there but i am not able to find it anywhere. Or if you have any otherone please share it. Please help!!! KIdoc_QD77servo_English_20130131.pdf
IN NEED OF RSLOGIX 5000 SAMPLE CODE
electric101 posted a topic in Allen Bradley / Rockwell AutomationGreetings, I'm ok with RSLOGX 500 but am an absolute beginer with RSLOGIX 5000 and was wondering if anyone had any simple sample code just to study. I would love something using analog input and or analog output. thanks in advance.
First Order Lag Filter
Inntele posted a topic in MitsubishiIn any FX PLC:
FX2N-232IF module programming
Mohit Singh posted a topic in MitsubishiHi All, I want to connect 3 nos. Barcode scanner with FX-3U PLC, So I am using 232BD card, 232-ADP card and 232-IF card. I need help for FX2N-232IF card programming for Motorola Barcode scanner. I am already done programming with 232-BD & 232-APD card using RS Instruction. But in 232-IF card TO/FROM instruction required. Anyone have FX2N-232IF Card program sample so please send me. My mail id:- firstname.lastname@example.org