PLC Sample Code

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

92 files

  1. DATE Instruction for CP PLCs

    Sample code to set the RTC on a CP PLC. Individual sections can be enabled/disabled.

    95 downloads

    Submitted

  2. CP1 Modbus TCP Peer to Peer

    This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules

    231 downloads

    Submitted

  3. 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.

    199 downloads

    Submitted

  4. 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

  5. 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

  6. Basic Servo Control Code for NJ and 1S

    This is a very simple ladder program that shows the basic steps to enable, zero and move a 1S servo using the NJ controller.

    560 downloads

    Submitted

  7. CJ2 to V680S (ETN version) using Socket Service function blocks

    This is a short bit of sample code using Socket Service function blocks to read and write data from / to a V680S RFID tag using the Modbus TCP (-ETN) version of the V680S.

    302 downloads

    Submitted

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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)

    7195 downloads

    Updated

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. Syswin 3.4 Manual

    Manual for the Syswin Programming Software for Omron Plcs

    27558 downloads

    Updated

  24. Syswin 3.3 Manual

    Manual for Syswin 3.3 Programming Software for Omron PLCs

    4697 downloads

    Updated

  25. Syswin 3.1 Manual Supplement

    Manual Supplement for Syswin 3.1 Programming Software for Omron PLCs

    2346 downloads

    Updated