SillyBoy

MrPLC Member
  • Content count

    77
  • Joined

  • Last visited

Community Reputation

3 Neutral

About SillyBoy

  • Rank
    Sparky
  • Birthday November 10

Profile Information

  • Gender Male
  • Location Ahmedabad
  • Country India
  1. NB HMI Macro

    Thank you very much @photovoltaic
  2. NB HMI Macro

      Thank you very much.
  3. NB HMI Macro

      @photovoltaic   Because I want to transfer almost 150 different addresses. So I guess it will be easy to use macro.
  4. NB HMI Macro

    Hello there. How to transfer data from one memory area to another using macro ?   Data Type - Double Word Length - 4 Format - BIN Integer - 3, Decimal - 1   From Area - D To Area - LW
  5. Hello there,   I have developed a project in Control Expert before 3-4 Months. Now I have to open that project backup (.stu file) in another computer with the same version of the control expert software. The project is opening successfully but I am getting errors from DTM, Because I have used 3 external EDS files for third-party Ethernet IP devices while the development. Now I do have only txt version of that three eds filed which I have used while developing the project.   Is there any why to add eds using that txt version of eds to get rid of the DTM errors ? Please refer attached images.
  6. I want to establish Ethernet IP communication between the following PLC CPUs. Schneider Electric - BMEP582040 Honeywell - ControlEdge UOC CPU900-CP1. Where the Schneider must be master and Honeywell must ne adapter. Let me know if anyone have done this or can help me to do so.
  7. Need help with Timer Logic

    Already sorted this out, mark this thread closed. I have used an Integer Tag to fulfill the required logic. If anyone needs the same logic, revert back to me I will send it.
  8. PLC_omron_cx_programmer

    According to the full-scale resolution of the module, you will get the AI_RAW in a channel-specific address.   (if the module resolution 1:1000) you will get 0 for 4mA and 1000 for 20mA in the appropriate CIO Address. (if the module resolution 1:4000) you will get 0 for 4mA and 4000 for 20mA in the appropriate CIO Address. (if the module resolution 1:8000) you will get 0 for 4mA and 8000 for 20mA in the appropriate CIO Address.   RAW MIN = 0 RAW MAX = (1000/4000/8000 according to module resolution)   AI RAW = Your channel address (for your case I guess somewhere between CIO2001 to CIO2100) (You can check by monitoring the CIO area after sourcing any channel to find exact address because I am not very much familiar with Omron Addressing)   if you want to scale the analog input in 0 to 25000. SCAL MIN = 0 SCAL MAX=25000/
  9. Suppose your flow unit is M3/Hr. Convert this value to M3/Sec. (This is easy) Now accumulate this value at every second. (at the rising edge of per second bit, hope you know how to do so) Call this function at every second ---- M3= (M3)+(M3/Sec) And you know how to convert M3 to liters, right ?   (Disclaimer - This will not give the 100% right value because there is something called scan time in the PLC.)  
  10. Display Integer from FB CX-Programmer

    Hello @Link068 For the testing, Can you send me the backup?
  11. PLC_omron_cx_programmer

    Hello @salah9719   I have attached the screenshot of the Function Block. (So you can figure out what are the input tags and output tags for this function block) Here is the logic of that block.   SCALED_OP:= (((SCAL_MAX-SCAL_MIN)*(INT_TO_REAL(AI_RAW)-INT_TO_REAL(RAW_MIN)))/(INT_TO_REAL(RAW_MAX)-INT_TO_REAL(RAW_MIN)))+SCAL_MIN; SCALED_OP_INT:= REAL_TO_INT(SCALED_OP);   Hope this helps.
  12. Need help with Timer Logic

    @chelton The BOOL tag will go high only when TON_1 running, and I will reset that BOOL tag as soon as TON_2 Starts. SO the cycle can run continuously.
  13. Need help with Timer Logic

    @Michael Walsh @BobLfoot @panic mode
  14. Dear @Jack1 Try Modnet30 Protocol.
  15. Hello Everyone, I am writing one logic and need some help regarding that logic.   CURRENT LOGIC -  -There are two timers TON_1 and TON_2. -TON_1 timer will start as soon as PLC turns on. -After the done bit of TON_1 timer, the TON_2 timer goes on. -After the done bit of TON_2 timer, again the TON_1 timer will start. -This logic cycle will run continuously, both timers will run turn by turn. Code (Codesys/Schneider Eco Structure Machine Expert)- PROGRAM POU_1 VAR      TON_1: TON;     TON_2: TON; END_VAR TON_1(IN:=(NOT(TON_2.Q)) , PT:= T#100S); TON_2(IN:=(TON_1.Q) AND (NOT(TON_2.Q)) , PT:= T#20S);   Actual Requirement -  -There is a BOOL tag. -If the BOOL tag gets high during the TON_1 running, the logic should move to the TON_2 immediately. -If the BOOL tag does not get high during the TON_1 running, the logic should move to the TON_2 after completion of TON_1. -after the completion of TON_2, again restart TON_1. -Logic Runs continuously in a cyclic mode.   Give me your valuable idea to fulfill the logic requirement.