PLC Sample Code

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

92 files

  1. Modbus Protocol Macro

    Omron Protocol Macro for Modbus Communicaitons RTU. Master and Slave.. To be used with the CJ/CS serial cards capable of Protocol Macro.
    Original version by Omron.
    Modified by me getting rid of a couple of bugs!!!

    9391 downloads

    Updated

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

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

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

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

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

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

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

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

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

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

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

  13. Syswin 3.4 Manual

    Manual for the Syswin Programming Software for Omron Plcs

    27558 downloads

    Updated

  14. Syswin 3.3 Manual

    Manual for Syswin 3.3 Programming Software for Omron PLCs

    4697 downloads

    Updated

  15. Syswin 3.1 Manual Supplement

    Manual Supplement for Syswin 3.1 Programming Software for Omron PLCs

    2346 downloads

    Updated

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

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

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

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

  21. DeviceNet Explicit Message Example

    Example Ladder Code for Sending a DevicNet Explicit Message. Example is for a CS1 and coded in CX Programmer.

    2437 downloads

    Updated

  22. Woodwood Controler Example Protocol Program

    This is a sample program to communicate to a Woodwood controller. This program is to be used in conjunction with the Modbus Protocol Macro Software. (See download section)

    1700 downloads

    Updated

  23. CQMaster.swp

    Provides for transmission and reception of ten Data Memories each between two CQM1 PLCs

    1279 downloads

    Updated

  24. Compact Flash Memory Write

    The attached code will enable the Omron CJ1 PLC to write a combined text number file in a csv format to the compact flach memory card.
    To extract the data some minor manipulation is required. The file is stored as an DATA.IOM file in the TEST directo

    2937 downloads

    Updated

  25. Modbus Protocol Macro Object Code

    This file contains the object code for Sleepy Wombat's Modbus Protocol Master PMCR. This is the file necessary if you do not have CX Protocol and want to use the Protocol Macro Transfer Utility found in the Omron - Utilities download section.

    3703 downloads

    Updated