PLC Sample Code

Caps, LSS, CPT, Syswin, etc...

92 files

  1. HHMMSS.cxf

    FB to provide a simple long timer with time remaining outputs. Time can be entered in HMS (or just mins for example).
    Time remaining is normalised to HMS though.
    Uses 2 other FBs. Create instances of HHMMSS as required.

    761 downloads

    Submitted

  2. Recipe Sample Code - Ladder program with supporting NB project

    This is a quick bit of code to show how a recipe function might be written if one were to do it in the PLC rather than the HMI. This is the basic building blocks with which a program could begin to be written. The BSET instruction combined with the indirect addressing method demonstrated would allow for a delete function. Copy and other functionality could be added using similar concepts.

    1453 downloads

    Submitted

  3. Counter Multiplex

    A method of program flow control using reversible counter and MLPX function. Returns the bit value of the actual counter value to do sequence control. Similar to GE Counter bits. Format is Syswin 3.4 (.swp)

    3290 downloads

    Updated

  4. CS1/CJ1 Floating Point to Fixed Point Conversion for HMI

    Nested loop for quick conversion of CS1/CJ1 floating point words to fixed point words (xxxx.xxxx) for display on HMI. Format is CXP 2.0 (.cxp)

    2531 downloads

    Updated

  5. CQM1 Host Link Master

    Program allows 10 word exchange betwen a CQM1 serial port and any other Omron Hostlink port. Uses TXD and RXD instructions. Provision for disconnection and timeout. Format is CXP 2.0 (.cxp).

    3349 downloads

    Updated

  6. Quadrature Input for Standard CPM1A DC Inputs

    Allows quadrature input from encoders and drives into standard DC inputs on CPM1A or other Omron PLCs. Max Frequency is about 100hz. Format is CXP 2.0 (.cxp).

    2267 downloads

    Updated

  7. Template for Step-Step Next Sequence

    Provides a starting template for construction for an Omron STEP-STEP NEXT sequence. Similar to AB sequencer. Format is Syswin 3.4 (.swp).

    3490 downloads

    Updated

  8. TXD-RXD Serial Port Handling

    Basic format for handling ASCII and Binary serial strings through an Omron Serial port. Covers control bits and TXD-RXD functions. Format is CPT 1.12 (.cpt)

    7194 downloads

    Updated

  9. Polls and Writes setpoints to E5CK Process Controller - E5CK.swp

    Allows CPM2A to poll and write setpoints to E5CK Process Controller. Be sure to load the enclosed Data Memory File (E5CK.ddm)

    1425 downloads

    Updated

  10. V600-E5CK

    Demonstrates how to use the TXD and RXD commands with V600 RFID system and E5CK Temperature Controller. In Syswin format (Can be opened with CX-Programmer.)

    1068 downloads

    Updated

  11. CX-Programmer Ver.3 Introduction Guide R104-E1-01.pdf

    CX-Programmer Ver.3 Introduction Guide R104-E1-01. Quick start for beginning a project in CX-Programmer. Could also be useful for earlier versions of CX Programmer.

    5503 downloads

    Updated

  12. Toggle Button

    This program illustrates how to simply Toggle a bit on or off with a single input. (A basic flip flop if u like)
    Two versions are provided
    The first version will work in a CJ1 / CS1 PLC because of the direct diff funciton on the input bit.
    The se

    3103 downloads

    Updated

  13. Random Number Generator

    Generates a Pseudo random number using the mixed congrential method.
    Formula r(i+1) = (a r + b) MOD N
    This will generate a random number between 0 & N-1 with N = 2 (pwr 20) = 1048576 a = 1909 b = 221571
    The MOD operation is the integer

    3674 downloads

    Updated

  14. CX-Programmer Ver.3 Introduction Guide R104-E1-01 (ZIP VERSION)

    CX-Programmer Ver.3 Introduction Guide R104-E1-01. Quick start for beginning a project in CX-Programmer. Could also be useful for earlier versions of CX Programmer.
    Same as this download:
    http://forum.mrplc.com/index.php?&act=Download

    5377 downloads

    Updated

  15. CJ to CompactLogix Implicit Messaging

    This document shows the steps to create an Implicit Message connection between a CompactLogix or ControlLogix processor, and an Omron PLC on Ethernet/IP.

    197 downloads

    Submitted

  16. PLC Clock adjustment with screen

    This program will display the clock time and date on a screen and allow an operator to easily adjust the time/date values though the familar use of thumb wheel switches.
    The screen used was an Omron NT21 and the PLC is the Omron CJ1M.
    The zip f

    2857 downloads

    Updated

  17. CPM2A Interupt High Speed Counting Sample

    This sample program will allow you to use the standard inputs namely inputs 000.03000.04000.05 as single ended inputs high speed counters. Note the maximum speed on these inputs will be 2kHz. These will count independantly of the scan time.
    Why did

    3887 downloads

    Updated

  18. StepNext.cpt

    Provides a starting template for construction for an Omron STEP-STEP NEXT sequence. Similar to AB sequencer. Format is CPT 1.14 (.cpt)

    1387 downloads

    Updated

  19. Syswin 3.4 Manual

    Manual for the Syswin Programming Software for Omron Plcs

    27558 downloads

    Updated

  20. Syswin 3.3 Manual

    Manual for Syswin 3.3 Programming Software for Omron PLCs

    4697 downloads

    Updated

  21. Syswin 3.1 Manual Supplement

    Manual Supplement for Syswin 3.1 Programming Software for Omron PLCs

    2346 downloads

    Updated

  22. SMS - GSM PLC Communications

    Files for Setup of a FALCOM A2D GSM modem to an Omron CJ1M-cpu22 to send SMS text messages. Included files are CX-Prgrammer File and Word Doc explaining the Setup.

    6219 downloads

    Updated

  23. CP1L-EL/EM Built In Inputs

    FB used for Built In Analog Inputs of CP1L-EL/EM
    With Scaling Set Up Included
    Demo_Built_In_v1.bak
    Demo_Built_In_v1.cxp
    Demo_Built_In_v1.opt

    201 downloads

    Submitted

  24. cp1l-el/em CP1L-EL/EM Option Board Configuration

    FB for Option Boards in CP1L-EL/EM
    -Configuration of the option board left-right
    -Scaling Selection
    -Analog Input and Analog Output Conf.
    -Tested in CP1L-EM30

    236 downloads

    Submitted

  25. V700-V720 RFID Protocol Macro

    Protocol Macro for V700 and V720 RFID controlllers. Has additional lader code. Need CX Protocol to download to PLC.

    1289 downloads

    Updated