BITS N BYTES

MrPLC Member
  • Content count

    911
  • Joined

  • Last visited

Everything posted by BITS N BYTES

  1. Controlling heater element with PWM

    That code only addresses PWM Output 0 at 200Hz with a 50% or 25% duty cycle. Physical output is 2961.4 = Output 4 on the right hand MD211 [Closest to PLC]. "I don't see anything! Or where I can see this pwm signal? " THIS WILL NOT WORK IF YOU ARE USING SIMULATION MODE IN CX PROGRAMMER OR IF YOU ARE USING 2961.4 AS AN OUTPUT ANYWHERE IN YOUR PROGRAM. You must have physical PLC and MD211 with downloaded program to "SEE SOMETHING"!
  2. Controlling heater element with PWM

    PWM can only be used for outputs of MD211/212 Pulse I/O module. Not possible with OD212. You say "I read in documentation about Pwm but is a poor explication about this problem." What documentation are you using? It is very clearly explained in the Instruction Reference Manual W474 and Pulse I/O manual W486. Do you have these? Here are links:- https://assets.omron.eu/downloads/manual/en/v3/w486_cj2m-md21_pulse_i_o_module_users_manual_en.pdf https://assets.omron.eu/downloads/manual/en/v3/w474_cs_cj2_nsj-series_plc,_sysmac_one_nsj_series_reference_manual_en.pdf    
  3. Read position from rotary encoder

    Port Specifier should be #10, #11, #12 and #13. Control Data should be #0 in all cases.
  4. APR - OUTPUT VALUE

    The example I posted works correctly for the values you are asking for.
  5. APR - OUTPUT VALUE

      CP1L_APR_SCALING.cxp
  6. APR - OUTPUT VALUE

    This example for a CP1L might help you. http://forums.mrplc.com/index.php?/topic/30950-proble-with-scale-function-in-cp1l/#comment-145675
  7. Cx Integrator

    Simplest method! Don't need CX Integrator. http://forums.mrplc.com/index.php?/topic/36339-send-data-memory-from-plc-to-other-plc-with-cx-programmer/#comment-169499
  8. how to set up timer in st

    What is the model number of the PLC you are using? CJ2M, CP1L, CP1E............................ Structured Text timers or Counters can ONLY be used with CS/CJ series CPU units version 4.0 or later, or with CJ2-Series CPU units.
  9. Send data memory from PLC to other PLC with CX Programmer

    If you are using Serial Communications between the PLC's I would use PLC Serial Links for such a small amount of exchanged data. Requires NO programming in PLC! Attached extract is for CJ2M PLC but available in most OMRON models. Serial PLC Links.pdf
  10. Need Manual for CS1W-CTS21 SSI Interface

    CS1W_CTS21_W902.pdf Is this the one you need?
  11. I am struggling to establish Ethernet communications between an IDEC HMI and OMRON PLC. Can ping both devices on the network, BUT HMI shows a communication error "ID:00h 0". Anyone have any suggestions how to resolve? Do I need to use CX-Configurator to setup a routing table, and if YES how to do it?   Frustrated/Confused.
  12. Thanks for quick response and app. note. Connection via Serial as gtsupport mentions works just fine. But I really prefer to go with Ethernet if I can get it working. Attached are extracted pages from IDEC manual showing that the HMI "should" be capable of connecting directly to the PLC. Setup procedure in IDEC WindOI-NV4 is somewhat confusing and missing anything regarding the need to use CX-Integrator as IO_Rack mentions. Have contacted IDEC Tech. Support and await reply. Meanwhile I'll continue working with "Good Ole Serial" Idec Specs 2.pdf Idec Specs 1.pdf Idec Specs.pdf
  13. CP1L and timers in ST

    So how about showing us all how you did it? Sharing feedback on posts is one way of showing gratitude and helping other MRPLC members who may have similar problems.
  14. CP1L and timers in ST

    ST TIMER not supported on CP1L http://forums.mrplc.com/index.php?/topic/28706-timer-in-function-block-with-cp1l-e/#comment-136695
  15. Feedback after project completion. The combination of a CompactLogix 1769-L18ER-BB1B and ProSoft PLX82-EIP-PNC worked like a charm. Pretty straightforward to setup and after writing an AOI allowed quick and simple connection and control of multiple Profinet devices. Only gotcha was figuring out that BYTE swapping was required on both input and output maps. The PROSOFT gateway allowed this change to be easily implemented vs. writing additional code in PLC. Couldn't be happier with the results!!  
  16. I have an upcoming project that consists of a CompactLogicx PLC  with onboard I/O AND ProfiNet I/O Devices on a separate network. This is my first time attempting to connect and control via different network protocols. As best as I can tell I require a Gateway that transfers data between each network. Either the Prosoft PLX82-EIP-PNC or AnyBus AB7649 Gateways appear to be viable solutions. If anyone has used these devices would you kindly share your experiences with either of these products OR suggest other alternatives. Pros, Cons and Suggestions always welcome. Thanks B & B  
  17. I have shared tags between two CompactLogix 5370 PLC's using produced/consumed method. I need to confirm whether communications between each PLC is working. Is there a built-in PLC tag available that monitors communications status or must I add an ACK/NACK heartbeat tag in the produced/consumed data.
  18. Thanks Ken, some of the tags in the producing PLC are AOI's. I don't currently have access to the test whether AOI's be included as a member of a UDT and successfully passed to the consuming PLC. Any suggestions/feedback most welcome!
  19. AHA!! Looks like Mr. Ken answered this already!!  
  20. OK I reviewed the Ptoduced/Consumed manual so will set Connection Status Included for the tags [see picture], also found this on the Rockwell CustHelp site. If RSLogix 5000 version 16 or lower is being used, this exact method is not possible.  Several options would include using the GSV with the CONTROLLERDEVICE object, Status Attribute, or use the MODULE Object with the EntryStatus Attribute. So AndrewG's method will work, but I am using V30 and would like to implement the UDT approach. What is not clear is how the UDT is structured. If I understand correctly the UDT requires just a single member of type CONNECTION_STATUS. Can anyone confirm if this is the correct approach? Again many thanks to all for feedback.
  21. Thanks Ken but I cannot access 60813 because it is only available with a Tech Connect subscription.  
  22. Thanks for the suggestion. I'll give it a try when I'm back online next week. Looks like I should be monitoring if the EntryStatus value in the connected PLC = 16#4000. • 16#4000. Running. All connections to the module are established and data is transferring. Hope I'm on the right track!!
  23. I'm trying to figure out best/preferred method of handling the input assembly. Attached is 11 byte incoming data consisting of three datatypes  UINT, INT and USINT. It appears most efficient method of handling data in Logix 5000 is to convert all elements to DINT using COP command. But I'm not clear as to how the resulting DINT data will be converted or how best to utilize the COP instruction. Note I'm new to Logix 5000!
  24. I have a custom module on Ethernet/IP with an EDS import that consists of a single BOOLEAN and array of 11 SINT. How do I copy dissimilar data types [1xBoolean and 11xSINT] using Logix5000? This data will be eventually used to develop a AOI where multiple Ethernet/IP modules could be used?  
  25. Remote I/O modules we are dealing with are solely Profinet RT [Real Time] so signals are of fast type NOT process. Unfortunately Red Lion does not support Profinet I/O on their DSP or HMI's so using Crimson software is off the table. So far I have found a number of Gateway suppliers but am trying to find best one from actual end user experiences. When studying user manuals from above vendors the Gateway configuration seems overly complex and I am concerned I will struggle to get it working. So other than the specific Gateway hardware selection, quality/response of support is really critical. Very confused as to whether Gateway should be an Adapter or a Scanner and which is simplest to configure from Logix 5000. Thanks for your response.