hasy1000

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hasy1000

  • Rank
    Newbie

Profile Information

  • Country United Kingdom
  1. DSCL2 scaling Instruction usage problem

    thank you all for all your inputs. I have downloaded and changed K values according to my own scaling and it is working just perfect.  thank @glavanov :)
  2. DSCL2 scaling Instruction usage problem

    I am testing your code with R08 cpu and with the same ladder logic code though I usually work with ST language. unfortunately, cannot getting scaled output at D200. Don't know why
  3. DSCL2 scaling Instruction usage problem

    unfortunately, this program is not working properly :(
  4. DSCL2 scaling Instruction usage problem

    Thank you for the detailed reply. just one thing, how the coordinate points works? Does not get this thing straight into my head. I want 0-1200 to scale into 0-10. So the values should be assigned so I can get the correct scaling output?
  5. DSCL2 scaling Instruction usage problem

    First, thank you for your quick response. I know the gain and offset formula. In fact, I have used the same formula previously in my other project. However in this case, I want to specifically see how to use this instruction for my understanding. OK lets consider them integers. Could you please provide me what to write in the parameters like s1, s2, d ? please provide me an example. I just gave you an example of 1200 and to scale it to 10.  thank you looking forward to your reply.
  6. Hi guys, I am having difficulty in understanding and implementing the scaling of 32 or 16 bit binary data using Mitsubishi DSCL2 instruction. I just don't understand what to pass in its parameters particularly s2 parameter. I tried many variables but I get errors.  Please can someone provide an example how to implement that and scale any float no, for example 1200.00 to 100.00 using this instruction with output scale 0-100 being 100 at maximum for the sensor value of 1200.00  I am attaching pdf for DSCL2 instruction taken from Mitsubishi manual for help. and the error I am getting on my melsoft. instructions_manual.pdf