LestatSan

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About LestatSan

  • Rank
    Newbie
  • Birthday 10/13/84

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Location Paris, France
  1. PID Function

    Heu... It was me upside
  2. PID Function

    It still doesn't work.... The output of the PID doesn't changes whatever be the mesure or the set point... I send you the .cpx file. Maybe someone could find the error I remplace all symbols W by symbol H. H200 and H250=&3 r_gul_moteur4.cxp
  3. PID Function

    Thank you Sleepy Wombat Omron should learn how to make a programtion guide, cause in the guide I have, it's not APR but ARP written... It shouldn't work -_- But, il fact, I forgot that the values should be between 0 and 100%... Now, I've got 2 days to finish this project, thanks for your help ^^
  4. PID Function

    I think too ^^; I use theese symbols : W10 to W14 W100 and W101 W1 W20 is the word C f the PID instruction W102 <== Although it would be contant, it changes... My PID instructions' values : C+1 : 10 (temporary) C+2 : 9999 (temporary) C+3 : 0 (temporary) C+4 : 1 (int) C+5 : 000B (Hex) All bits are forced C+6 : +6281 (int) Bits 12,11,7,3 and 0 are forced on Bits 1 and 2 are forced to off Other bits are off but not forced C+7 : -1500 (its the minimum that the process accepts) C+8 : +1500 I've tried to change the value of SP, but it's fixed to 0, and and can't change it (as all PID values : G, Ti, Td....) But, with the SP at 0 and the mesure is at 1000 and the output of the pid instruction doesn't changes... (I tried with values under 100, and I have the same results...) When I send the program to the API, I've got those advertisings messages : * Sortie **** is duplicated * The symbol SP has a data type (int) which is not compatible with the data's operand (DINT) (This my traductions, maybe there are not good at 100%) The input and output are ok when I'm not in auto (in regulation) but maybe you'll be interested by this : I use devicenet modules. I have this configuration : output : node 01. pins 1,2,4,5, and 8 are on. Only the first channel is connected input : node 00. pins 1,2,4,5 and 8 are on. Only the first channel is connected I hope I sent you the good informations
  5. PID Function

    Hello I'm studiant and I have this project to do : To control an "engine with DC current" with the PID function of the CJ1M CPU22 automate. But, the function doesn't work... But I have configured the words C to C+9 as written in the documentation... I have tested the acquisition of mesure and the command of the engine, and all is ok. That's why I think the problem comes from the PID And I would like to manipulate words in my programation (with du function MOV), so I used the "W" caracter, is it the good symbol ? I saw I can change the caracteristics of this symbol (dint, int, channel....). When I send the program to my API I have the message Error which say that my data are not compatibles (dint and int for example). So I tried to change their caracteristics, but it doesn't work for some words... Do I use the best method to manipulates words ? If not, which is the best one ? If yes how can I change the caracteristics of the variables ? Thank you and excuse me for my English ^^;