Search the Community

Showing results for tags 'usage'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 2 results

  1. 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
  2. I have a simple St code ! Which in it I used JMP but it gives me error " E1206 usage of jump statements is disabled" Please HELP. if Period = t#0s then JMP SkipLogic; end_if; RecycleTimer(NOT RecycleTimer.Q, Period); if RecycleTimer.Q then PeriodCapture := IN; end_if; PeriodDelta := ABS(PeriodCapture - IN); Alarm := PeriodDelta > Delta; SkipLogic: E1206 usage of jump statements is disabled