MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About SillyBoy

  • Rank
  • Birthday November 10

Profile Information

  • Gender Male
  • Location Ahmedabad
  • Country India
  1. 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.
  2. 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.
  3. 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.
  4. 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/
  5. 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.)  
  6. Display Integer from FB CX-Programmer

    Hello @Link068 For the testing, Can you send me the backup?
  7. 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.
  8. 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.
  9. Need help with Timer Logic

    @Michael Walsh @BobLfoot @panic mode
  10. Dear @Jack1 Try Modnet30 Protocol.
  11. 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.
  12. Understanding the Virtual Machines

    Thank you everyone for your valuable comments and suggestions, I really appreciate that.  
  13. Hello Dear Friend, Need some advice regarding using the Virtual Machines. I bought a new laptop for office use. (for Programming various PLC and designing HMI/SCADA etc...)   The configurations of the Laptop are as below. Model - Asus Tuf Gaming F15 Processor - Intel Core I5-10300H 10th Generation RAM - 8GB DDR4 HDD - 1TB SSD M.2 NVMe PCIe Graphics - 4GB NVIDIA GeForce GTX 1650 Ti GDDR6 2.5 GHz Base Speed, Up to 4.5 GHz Turbo Boost Speed, 8MB Cache, 4 Cores, 8 Threads.   I have never used Virtual Machine before, but this time I am planning to install all the automation-related software on VMs. Main System - Windows 7 64bit + MS Office + Accounting Software + Mail etc. I am planning to create 4 VMs as of now. VM1 - Windows 7 + Schneider Software (Control Expert, Machine Expert, Citect, Vijeo Designer, etc...) VM2 - Windows 7 + Omron + Delta + Fuji Software VM3 - Windoes 7 + Siemens Software VM4 - Windows 7 + Rockwell Softwares   I am planning to make two partitions of 1 TB SSD. Partition-1 for Main System (100 GB) Partition-2 VMs and all other Data (900 GB)   I will not run more than 1 VM at a time. All the VMs will be used to run the software only. I am planning to store all the project backups outside the VMs.   Now my Questions -  1) Should I use the VMs ? 2) Which VM software should I use? (I am preferring Freeware) 3) How much RAM and Processor should be assigned to each VM ? 4) How to configure a Graphics card to improve the performance of VM ? 5) How to access the storage of partition 2 in all the VMs to store all the data outside of VM ? 6) How do VMs use Processing Power of CPU and RAM ?   Please share your valuable suggestion and answers.   Have a Good Day.  
  14. OMRON CQM1H-CPU21 Serial Connection

    My Computer doesn't have a built-in Serial Port. I am using RS232 Serial to USB Converter to connect the Controller. What will be the communication cable scheme for using the convertor?
  15. Analog Input Filtering in OMRON

    Thank You.