arnoldzw

MrPLC Member
  • Content count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About arnoldzw

  • Rank
    Sparky
  • Birthday 05/28/84

Profile Information

  • Gender
  • Country Netherlands
  1. 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?
  2. 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?      
  3. 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?
  4. 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  
  5. Exceed maximum step size

    Thank you sczot, The CPU is limited to 8K, so 16K wont work.  
  6. 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?    
  7. 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?     
  8. Bit to word

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

    Thank you for replying, is there also an function block available for this kind of instruction?
  10. 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?
  11. How configure RUN

    That's true, i have alsof never used it. In my opinion an useless option. Maybe in old programs indeed as you described. The setting was wrong, and downloaded wrong config once, after change it back in software, forgot to download new config.  Nevermind! Works ok now!
  12. How configure RUN

    Thank all for help. kaare_t no the switch was at run.   I had configured the run terminal input, but forgot to check the right box when downloading to PLC.   Now its working, thank you all!  
  13. How configure RUN

    In The PLC parameters is the " RUN terminal input"  configured as "none"    (other choices are only inputs from X000-X017) Still when i power cycle the CPU, it stays in STOP and not going into RUN automaticly  
  14. Compile error s

    Thank you Daniel, i will give it a try
  15. Compile error s

    Hi all,   When compiling my program i`ll get an error:   The special relay M8023 is reset by the function INT_TO_REAL. Program is running OK, but don`t know what gives this error, and how to solve this error.   When searching the forum i found this theat where some user tells that special relay M8023 is for floating operation.   I`am using an FX2n CPU, and do some calculations with floating numbers.   Set an WORD to floating. and do some calculations with it.