marcinmrag
MrPLC Member-
Content count
83 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by marcinmrag
-
hydraulic cylinder speed function
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
Thank you so much! Distance of encoder is 220mm -
hydraulic cylinder speed function
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
But how I can check velocity? I have analog enckoder 0-10V. I can do some virtual axis for this or what? I have value from analog input which give me actual position. I would like to do function to show actual speed of cylinder. -
How to make analog signal more stable?
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
resolution is 30000 but the card is -10V - 10V. So in fact i use half of card that's mean resolution is 15000. You are right averaging distort the signal. It slow down to much. -
Hello, I have a question. I have analog signal 0-10V from baluff encoder. When the cylinder is not moving the value from encoder is jumping. I add moving avg in card setting: Is possible to do this reading more stable? How I can do it in sysmac
-
How to make analog signal more stable?
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
Yes it is around +/- 3 counts. What do you think can i use function MovingAverage to do this more stable? -
Hello everyone! I have a question. I have a function : y=1E-06x6 - 0,0001x5 + 0,0043x4 - 0,0797x3 + 0,6374x2 - 1,5325x - 0,3771 . It's a characteristic that i would like to compare. It's the way that i can easy create some function block that will calculate this? I know that in siemens is something like a math function and than we can put this function and do calculation. I tried to do this in ST in function blok but i have a problem with x6 Any Ideas?
-
Hello Experts, It is possible to do data logging to csv file from controller? I founded some manual about Cx-Supervisor software. It is necessary to do it by this soft or is another way directly from CX- programmer? I would like to do some trend of signals and compare than in excel.
-
hydraulic cylinder speed function
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
But i read position by the analog input. I have a baluff encoder. So i have position value scaled from input. I create some function but im not sure if is working correct. I store position when i start movement than i calculate distance during the moment and i div this with the time. Time is very short is like 0,3-0,4 s. Cylinder speed should be 150mm/s for move up and 54mm/s for move down. working stroke of cylinder is really short like 40-45mm. When i move cylinder all the way up and down i get 200mm for up and 70 for down. It's possible that 40-45mm stroke is to short to rich the full speed? On this short distance i get 80mm/s for up and around 50 for down. Time reaction of cpu should be enough fast to make the calculation. I run this task i 2ms period time. -
question about NA RecipeViwer, selected recipe view
marcinmrag posted a topic in NJ Series / Sysmac Studio
Hello, I have a question. Every time when i save recipe or close page with recipeviewer. It's shows default first recipe which was added. It is possible to do that will select this recipe from the window which is downloaded to the controller every time? -
relationship between piston stroke and pressure function
marcinmrag replied to marcinmrag's topic in CX-Programmer
But the problem is that i need to detect kind of material on some short distance when the pressure is going up more aggressive for copper and than continue pressing with different parameters for aluminum and copper. The idea is to create intelligent electric press which detect kind of material, size of connector and stop pressing with two different ways for copper and aluminum. I hope that i describe the problem enough clear. -
Hello experts, Maybe someone can help me. I would like to create some function which detect the material from which the pressed element is made. I know that is a relationship between material and how fast pressure is build up. I would like detect two materials : aluminum and copper. I have research, which shows that the pressure builds up faster for copper than aluminum. Aluminum is more flexible. Maybe someone has some idea how to create function which will detect what kind of material is pressed? Im thinking to use linear function. It is a good way? Maybe someone have some good ideas and can help me a little :)
-
relationship between piston stroke and pressure function
marcinmrag replied to marcinmrag's topic in CX-Programmer
Yes i have CP1H Omron PLC . But how i can determine which material is using? Can you explain your idea? -
I use a counter. I count value of full movements of cylinder until it's stop. I would like to do history of last 5 counts. And display this values for example when F2 i pressed
-
problem fixed. It was some kind of conflict between local and global variables. I changed all variables to global and everything start working well .
-
Hello everyone! I would like to do something like this in CX-programmer : Can someone explain me how to do it? When i try to use F-(434) function something strange happend. The value is still jumping and the line is not active. I would like to add auto calibration option for the weight module.
-
You can set min a max value for each ingredients in recipice when you add ingredients. For example min 0 and max 100. Than you are not able to set value which is out of range.
-
Adept Viper Robot programming from PLC
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
nice manual! I couldn't find it before. THX! -
Pneumatic island valve with EtherCat protocol
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
thx -
Pneumatic island valve with EtherCat protocol
marcinmrag posted a topic in NJ Series / Sysmac Studio
Hello, I have pneumatic island which is control by the EtherCat protocol. Can someone explain my how to set a bit in a byte? One bit in byte is a coil of valve. I add this valve island to EtherCat configuration. In I/O maps i can find 85 output bytes and 45 Input bytes. I guess that i should create variable to this byte and then set bit in this byte. But How? It's the way to address this bit directly? I did a test i used a Union : array 0...7 of BOOL and BYTE. Than I activate one of bool from array and the value of BYTE is changing and I MOVE This to variable with this same name like i put in I/O Map. But maybe is some better way to do it? -
hydraulic cylinder speed function
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
I did this in this way: I think it should be works. I did have chance to test it yet but every second we move actual pos to store pos and speed is a difference in mm. -
Hello, I have speed function written in Siemens. Can someone help me convert this function to sysmac ? L #dt_PressPosition // Actual Press Position L #press_position_stored// Last Press Position -R // Difference in 200ms T #actual_diff_press // Speed in mm/200ms L #dt_PressPosition T #press_position_stored// store actual press Pos for next round // calculation of speed - mm/s L #actual_diff_press L 10.0 *R T #OutPressActSpeed NOP 0
-
sysmac studio using data from HMI recipie in NJ controller project
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
OK thx now is clear. SO i need to creat variable INT in plc than mapping this with the variable name from racipe tamplate -
sysmac studio using data from HMI recipie in NJ controller project
marcinmrag posted a topic in NJ Series / Sysmac Studio
Hello, How I can get acess for the data from HMI recipies in my controller project? Can someone explain me this in the easy way :) -
sysmac studio using data from HMI recipie in NJ controller project
marcinmrag replied to marcinmrag's topic in NJ Series / Sysmac Studio
I know that is write to controller. But how i can use it in plc program? There is no any recipie tab.. It will show in I/O Map? Is store in some memory? I do not know how this works in Omron plc