pat.stave

MrPLC Member
  • Content count

    12
  • Joined

  • Last visited

Everything posted by pat.stave

  1. GXWorks2 - Quotation mark string constant

    Thanks. Ended up doing it in this manner. Not very elegant as i use the character many places (including inside functions that cannot access global labels). But - it works!    
  2. How can i write a string constant to represent the character " (american quotation mark, ASCII code 34dec). I've tried the following: '"' (single quotation mark, american quotation mark, single quotation mark) '$"' (single quotation mark, escape character, american quotation mark) """ (american quotation mark, american quotation mark, american quotation mark) "$"" (american quotation mark, escape character, american quotation mark, american quotation mark) None of these are seen as valid by GX Works 2. How do i represent an american quotation mark as a string constant?
  3. GXWorks2 - Quotation mark string constant

    Nope, doesn't work.
  4. Is it possible to configure the MSG block (RSLogix 500 / Micrologix 1400) to have a dynamic destination IP adress?
  5. 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
  6. Version

    700 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.
  7. Project Specific Transfer Settings

    Project specific transfer settings is now available in the latest version Go run the update tool everybody
  8. 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?).
  9. 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.
  10. 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?
  11. 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
  12. 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