Jump to content

Marko984

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Marko984

  • Rank
    Newbie
  • Birthday 01/02/1984

Profile Information

  • Gender
    Male

Recent Profile Visitors

200 profile views
  1. Thank you for your response. Sgull, you are right. I am using MI whole numbers. And all for decimals are result of simple divide. Joe T., Simplest example that I have is ( A - 14.1 ) / 7.2. . A is MI input from user. Result is number of pieces machine needs to make (also MI). If result is for example between 3.5 and 4.4, result should be corrected to 4 pieces. Different example is ( A - 40 ) / 3 + B ; A is MI input from user, B is result from previous math (also MI), result is place where tool should pierce the material. This will be compared whit input from encoder. Needs to be precise to about 1/10 mm. I don't know should I even try to round it up. Best Regards: Marko
  2. Hi This is my second project, and I have a question. I'm using V430-J-34 (provided by user...) Whats the best way to round up or round down decimal numbers to whole numbers? Currently I'm using simple linealization to convert result of some math to some normal number. Problem is there is whole excel table of math to do, that I am currently working on to be in plc example: Fx=IF(AND(C6>=130;C6<220);C6-20;IF(AND(C6>=220;C6<310);(C6-40)/3+G6;IF(AND(C6>=310;C6<400);(C6-40)/4+G6;IF(AND(C6>=400;C6<490);(C6-40)/5+G6;IF(AND(C6>=490;C6<=600);(C6-40)/6+G6;))))) C6 is input user makes (before in excel table, now it will be on display); G6 is just some result from previous math So for every "IF" I write conditions, then math formula. Then linearization. Then I can use that for information to compare whit encoder input to stop the motor and do some action (drill, cut, pierce...) And I still have not connected and configured encoder, but that will be question for another post if I don't figure it out.. Sorry for any mistakes, English is not my main. Best regards; Marko
  3. Thank you for replying. The project is complete. Problem was in jumpers. And also tnx for all the other tips, without them I would not set it up properly. I have learned a lot. Thank you again. Until next time. Marko
  4. Thank you guys for responding. To be honest I didn't know i need to use Linearization block. I have read the instruction and this is what I got so far. Linearization http://t40i.imgup.net/Linearizat292a.png Im trying simple 0-100% Tank graph set up http://z27i.imgup.net/graphsetupfd81.png Parameters are same like Y in Linearization Wire set up http://w53i.imgup.net/Wiresetup8f60.jpg Its a bit hard to see, brown 24VDC, blue 0VDC, black analog com, red analog input, connected to current transmitter. Jumper set up for Analog input http://q75i.imgup.net/Jumpersetu20d2.jpg I have some response from 0-13 mA up to about 50%, then after that I have no response at all. I have no trouble with digital inputs or outputs. Tnx in advance Marko Edit: I don't know why images are broken, I can open them in new tab, I have put a link under them. tnx Marko
  5. Hi Im totally new at this (this is my first project) Im using V500 whit snap in module V200-18-E5B, and in trying to configure analog input for levels. Input is 4-20mA. As I understand this, I need to connect (com) to power (-), power(+) to device(+), device(-) to AN0. I also have current transmitter so I can simulate input. I have picture of what I have set up so far. But still I have no visible reaction on display. Sorry, english is not my main. Tnx in advance Marko
×