arnoldzw

MrPLC Member
  • Content count

    26
  • Joined

  • Last visited

Community Reputation

0 Neutral

About arnoldzw

  • Rank
    Sparky
  • Birthday 05/28/84

Profile Information

  • Gender
  • Country Netherlands
  1. Calculate exponent in FX2

    That make sense! thank you! Didn`t knew those where the same, only another way  of notation!   Have tested it, and it works now, thank you!
  2. Calculate exponent in FX2

    Sorry,  i still don`t get it when i read the example with DESQR an DEMUL as decribed above,      My base value is from an analog measurement and is an floating value. The power raising factor is also an float value, but fixed 1,5.   For example:  let`s say my measurement value is 0,25. What to calculate is:    Y = 0,25**1,5     (0,25 to the 1,5th)   or  ( in excel function   POWER(0.25;1.5)   )   Can someone explain how to do this in an FX2 CPU?    
  3. Calculate exponent in FX2

    Thank you for you`re answer, The SQRT instruction isn`t available in my FX2 CPU and GXWorks.   Searching in the manuals only gives  the SQR / SQRP / DSQR / DSQRP  instructions, but these are only for word format.   I need the float value, then the DESQR instruction and DESQRP are available. But these instructions only do square root operation. I have also an float exponent (1,5)   Don`t know how to calulate Y="float value"**1,5   My math skills from school are not that good anymore  
  4. Calculate exponent in FX2

    Hi All, I need to do some math in an FX2 PLC. I`m using GXWorks2. What i need is the function " ** / Exponentiation "  (but in help i see this function is only available in FX3U) For Example: d := s1 ** s2; The problem is my exponent is also an FLOAT value, 1.5. What is need to calculate is:     result :=  Measurement_value ** 1.5 How can this math been done in an FX2N, hope someone can give me some advice? Best regards, Arnold    
  5. Hi all, On behalf of my colleague, I would like to invite you all to participate in a short questionnaire about industrial automation. The questionnaire was prepared by someone who would like to gain more insight into the online market for industrial parts. It is a short questionnaire and requires less than 5 minutes of your time. He would really appreciate it if you would fill in the questions and offer him more insights into the market. Filling in can be completely anonymous! Thank you very much for your cooperation! Regards, Arnold You can find the survey in the url below: https://www.survio.com/survey/d/S0I6A9Q9J6R9K1O2P
  6. kHz signal on digital input

    Hi all,   I have an question for something i haven’t seen before, hope someone can help me.    There is an FX2N plc with an level transmitter connected to an digital input.  The output signal of the leveltransmitter is an kHz frequency.  Level = 0-10 meter = 1-2 kHz   PLC needs new software, cliënt wants to keep this sensor. change sensor for 4-20ma is not desirable by cliënt, also there is no analog input available.    Is there anybody who has seen this before? How can this sort of input been scaled to an level value inside plc?  Something with counter/scale blocks?
  7. Hi all,   I have an program for an FX2N PLC working in GXworks2. The reading of BFM,  analog input, i do with an FROM instruction, works fine for me! (see picture)  (Special module type FX2N-4AD)   Now i need to convert this program to an newer type PLC, the FX3U.  (with special module FX3U-4AD) I have set the new PLC type, and compiled the program. No errors for now.  Should the solution with the FROM instruction work on the FX3U as well without additional settings? Or do i need to configure some additional things in the PLC parameters? I see the screens as attached below, these settings are not available for the FX2 CPU, but they do for the FX3.   Do i need to configure these or other additional settings here, or can this be empty and leave the program as-is with only the FROM instruction?      
  8. Adressing extention module FX3

    Hi all, Have an question about adressing inputs of I/O expansion modules. Is there any diffrence in adressing for digital IO and analog IO and there position in line? For example: I have an FX3U-16MR-ES with three expansion modules: Module 1: FX2N-8EX-ES   (8x DI) Module 2: FX2N-8EX-ES   (8x DI) Module 3: FX2N-4AD       (4x AI) What is the right adressing for the inputs of these three modules? And what if the order is different, so analog module is first, and then the two digital modules? Who can give me some advice?
  9. Bit to word

    Hi @kaare_t, Can you show me how this instruction would look like? I would split the 16 bits from an word to additional bits.   D100.0=bit0 D100.1=bit1 ... D100.15=bit15     Regards  
  10. Exceed maximum step size

    Thank you sczot, The CPU is limited to 8K, so 16K wont work.  
  11. Exceed maximum step size

    Thank you Daniel,   Correct, but these are re-fits for an current installation where the PLC needs to stay unfortunally. Maybe its good to reprogram some parts into ST or ladder.  Do you know what language takes the less step sizes? Ladder of ST?    
  12. Exceed maximum step size

    Hi guys!   Need some help from the real specialists!   I`am used to work normally with Scheider Unity and make my program`s always in function blocks. Now working on my first GXworks2 project, and programmed the whole project also in FBD.   I have an FX2N-32MR plc, and defined in the configuration the maximum step size of the cpu to 8000 steps. I have compiled my program successfully, but the result gives an program size of 10217 steps. (and i`m not finished programming yet)   Converting the program to ladder or ST is not possible i think....?  (and i`am not very familiar with those languages) Add additional memory card is also not possible because of the type installation. Did have some self-made function blocks inside, but they are very simple.     How is counting of steps working in GXworks2? Are the 8000 steps for the complete project, or per POU, so than split into pou,s will reduce steps??  Strange is when i add one single BIT move block into the program, and compile again. Program size becomes 10229.  (so the one move block is 12 steps?)   Are there any tips for reducing the memory/program  load?     
  13. Bit to word

    Hi @collinsd70   Thank you, i have started to make my own FUN now indeed. Thank you for helping.  
  14. Bit to word

    Thank you for replying, is there also an function block available for this kind of instruction?
  15. Bit to word

    Hi all,   I was trying to write some bits to an data register, but when compiling i`ll get an error that there is an type mismatch. The bit "STORING_Netfout"  is declared as BIT, see attachement     In Schneider Unity there is an function block BIT_AS_WORD to do these things, do GX works2 also have something like this?