pat.stave

MrPLC Member
  • Content count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About pat.stave

  • Rank
    Newbie

Profile Information

  • Country Norway
  1. File Name: Lowpass filter function block File Submitter: pat.stave File Submitted: 21 Nov 2013 File Category: PLC Sample Code Lowpass filter for Omron PLCs. Only tested on CJ-series CPU. Use at own risk! Many thanks to Peter Nachtwey @ PLCS.net for providing the mathematical formula. Unfiltered = raw unfiltered value in INT. TC = Time constant tau, given in seconds. Filtered = Filtered value in INT. FilteredReal = Filtered value in REAL. - The FB can be duplicated. - The FB can only be used in program parts that are scanned every CPU cycle, as it relies on the "P_Scan_Time_Value" variable. According to the working principles of a lowpass filter, it will take the filtered value tau amount of seconds to reach 63% of the unfiltered value. The value will reach within 1% of the unfiltered value in approx 5x tau. Click here to download this file
  2. Version

    632 downloads

    Lowpass filter for Omron PLCs. Only tested on CJ-series CPU. Use at own risk! Many thanks to Peter Nachtwey @ PLCS.net for providing the mathematical formula. Unfiltered = raw unfiltered value in INT. TC = Time constant tau, given in seconds. Filtered = Filtered value in INT. FilteredReal = Filtered value in REAL. - The FB can be duplicated. - The FB can only be used in program parts that are scanned every CPU cycle, as it relies on the "P_Scan_Time_Value" variable. According to the working principles of a lowpass filter, it will take the filtered value tau amount of seconds to reach 63% of the unfiltered value. The value will reach within 1% of the unfiltered value in approx 5x tau.
  3. Project Specific Transfer Settings

    Project specific transfer settings is now available in the latest version Go run the update tool everybody
  4. NS Auto Reset?

    Hi Rob, We have this problem too on a lot of NS-panels. The panels get slower and slower until they freeze. I have contacted Omron and they are aware of the issue and are working on it. We have upgraded all the panels to firmware 8.5x, but that did not help. I have a vague suspicion that this could be related with Ethernet/IP protocol traffic. May i ask you if you have any EIP traffic running on your network? If so; - Do your network switches have IGMP snooping activated? - Are EIP connections set up multicast or unicast? (or is there explicit messaging going on?).
  5. Omron CQM1 + AD041

    CQM1 does not have the scaling functions like the CQM1H. However you should be able to use the arimethric process (APR) for the same purpose. Take a look at page 90 in this manual: http://www.rakurs.su/files/AutomationSystems/W384-E1-01+CS1W-HI_HC+Programming_Manual.pdf If you set Xm to the resolution of the AD041 card (4000 or 8000dec?), Y0 to -50dec and Ym to +150dec i think it should work. Remember to work with signed integer data type.
  6. Ethernet/IP CJ2 to Controllogix

    Is there a gateway present on the network? Is both EIP-cards set up to use this gateway? Is the gateway set up to route 10.70.xxx.xxx-10.73.xxx.xxx? Do you use the correct subnet mask for your class B network (255.255.0.0)? Do you use explicit (cyclic) or implicit messaging (on demand)? Which PLC is the EIP communications master?
  7. CX server OPC in run as service

    Hi TSI, You should check out the following topic on MyOmron: http://www.myomron.com/index.php?action=kb&article=1085 You can run the program automatically as another local or domain user. You provide the user account and password in DCOM settings. When CX OPC is invoked via DCOM it starts on that user. You may also want to check out http://www.opcfoundation.org/DownloadFile.aspx?RI=326
  8. Identify plc brand

    Hi skojpulla. A google search for "l1+" +"can" +"status" returned some interesting results. Seems this is a Berghof PLC / IO-modules. Have a look at: http://www.berghof.com/Automation/en/Products/Controls/PLC+controllers.html