Omron C500-LDP01-V1 Operation Manual
Omron C500-LDP01-V1 Operation Manual

Omron C500-LDP01-V1 Operation Manual

Ladder program i/o unit

Advertisement

Quick Links

C500-LDP01-V1
Ladder Program I/O Unit
Operation Manual
Revised January 1992

Advertisement

Table of Contents
loading

Summary of Contents for Omron C500-LDP01-V1

  • Page 1 C500-LDP01-V1 Ladder Program I/O Unit Operation Manual Revised January 1992...
  • Page 3 All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product. The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word”...
  • Page 5          !"  " #!  "! %!& " ' #! '( )'" (" * + ,& % ( ) !" (" * + /( )/ (" * % / )/0* +...
  • Page 6 About this Manual: This manual describes the installation and operation of the C500-LD01-V1 Ladder Program I/O Unit and includes the sections described below. Please read this manual completely and be sure you understand the information provide before attempt- ing to install and operation the Ladder Program I/O Unit. Section 1 introduces the Unit and describes its components and the way it fits into a PC system.
  • Page 7 / ! !     "!     '02 4   !8 #  "  '02 3!   3! ' "  3  8"   !8      3    4  3    "!   3    4 ...
  • Page 8 The C500-LDP01-V1 Ladder Program I/O Unit executes a ladder program to control external I/O independently of the PC. The ladder program contained in the Unit is written by the user. The C500-LDP01-V1 Ladder Program I/O Unit can be used with the following SYSMAC C-series PCs: C500, C1000H, C2000H. Applications Examples •...
  • Page 9 Section 1-3 Comparing the C500-LDP01 and the C500-LDP01-V1 The following table shows the improvements that have been made to create the C500-LDP01-V1. Item C500-LDP01 C500-LDP01-V1 Instruction set 40 instructions The following instructions were added to make a total of 49 instructions.
  • Page 10 Section 1-4 Nomenclature Front Panel Back Panel Mounting screw Indicators Backplane connector Switches Remove the display window to access the switches. Output connectors Connector for transistor outputs. (Use connector provided.) Input connector Connector for 24 VDC power supply input. (Use connector provided.) RS-485 interface connector Connector for the GPC, FIT, or LSS.
  • Page 11 / !  !8  #!  9    /   4 ! : #!  !"" 8  #! :  "   !8  " #!  "! %!& " ' #! ...
  • Page 12 Section 2-1 Front Panel Switches and Selectors Switch/Selector Location Remove the display window using a standard screwdriver to access the switches and selectors shown below. Reset switch (SW2) Indicator selector (SW3) Mode selector (SW4) Mode switch (SW5) Standard screwdriver Switch/Selector Functions Switch Designation Function...
  • Page 13 Section 2-1 Display Selector Switching the display selector (SW3) alters the indicator operation as follows: Description Indicator Function Indicate operating mode Lit during operation. Not lit in PROGRAM mode. MONITOR Lit in MONITOR (debug) mode. Not lit in (debug) RUN or PROGRAM mode. PROGRAM Lit in PROGRAM mode.
  • Page 14 Section 2-1 Description Indicator Function Indicate the status of input 0108 Lit while corresponding input is ON. bits 0108 to 0115 0109 0110 0111 0112 0113 0114 0115 Indicate the status of 0200 Lit while corresponding input is ON. external input bits 0200 to 0207 0201 0202...
  • Page 15 Section 2-1 Description Indicator Function Indicate the status of 0308 Lit while corresponding output is ON. external output bits 0308 to 0315 0309 0310 0311 0312 0313 0314 0315 Indicate the year of the clock x 10 The last two digits of the calendar year are displayed.
  • Page 16 Section 2-1 Description Indicator Function Indicate the hour of the clock ------ Data: 00 to 23 (24-hour clock) Indicators 0 and 1 are always OFF. ------ x 10 x 10 Indicate the minutes of the ------ Data: 00 to 59 (minutes) clock Indicator 0 is always OFF.
  • Page 17 Section 2-2 Back Panel DIP Switch The DIP switch on the back panel sets the operating conditions of the Unit. All pins are OFF at the time of delivery. Not used Not used. *2 *3 *4 (Must be OFF.) (Must be OFF.) *1.
  • Page 18 / !  !8    3"8"      /     '02 (5+  '02 ,('/5  !  "   !8 '( )'" (" * +  " '02 2  2 3 ,('/).-*0(5+)..* ,& % ( ) !"...
  • Page 19 Section 3-1 IR (Internal Relay) Area Data Word/bit address 16 bits (0000 to 0015) IR 00 Input bits as seen from the Unit. Output bits as seen from the PC Cannot be used as work bits. The use of these bits depends on the setting of pin 2 of the back panel DIP switch.
  • Page 20 Section 3-1 3-1-1 Normal I/O Operation When pin 2 of the back panel DIP switch is OFF, data is transferred through 2 words allocated for I/O. If pin 2 is OFF, data cannot be not transferred to and from the Ladder Program I/O Unit using the I/O WRITE and I/O READ (WRIT(87)/READ(88)) instructions from the PC.
  • Page 21 Section 3-1 3-1-2 Operation via WRIT(87)/READ(88) When pin 2 of the back panel DIP switch is ON, data can be transferred to and from the Ladder Program I/O Unit using the I/O WRITE and I/O READ (WRIT(87)/READ(88)) instructions from the PC. WRIT(87) and READ(88) are used automatically for this data transfer in the Ladder Program I/O Unit and are not available for user programming except in the PC.
  • Page 22 Section 3-2 Work Bits Works bits are available for use in programming as required by the user. In the Ladder Program I/O Unit, work bits run from word 04 to word 12 and from bit 0400 to bit 1207, as shown below. Word/bit address Word 04 Word 05...
  • Page 23 Section 3-6 SR (Special Relay) Area The following 16 bits are available for use in programming. Most of these are flags that can be read to determine program execution status or results. Bit 1304, the Carry Flag, is also manipulated by the user with STC(40) and CLC(41).
  • Page 24 Section 3-6 DM address DM 000 DM 001 DM 126 DM 127 Data Configuration in DM 060 to DM 127 Word Bits 8 to 15 Bits 0 to 7 DM 060 Minutes (0 to 59) Seconds (0 to 59) DM 061 Date (1 to 31) Hour (0 to 23) DM 062...
  • Page 25 / !  !8     8"    3!     ,     8 !""    #     : 6!    !    8 ""                    (  ...
  • Page 26 the operating mode of the Unit can be changed to RUN or MONITOR mode as long as the PC is in RUN or MONITOR mode. The operating mode cannot be changed to PROGRAM mode or when the PC is in PROGRAM mode. When the PC mode is changed, the operating mode is determined by switch 4.
  • Page 27 4-5-1 Online Operations with the GPC Menu No. Operation MONITOR PROGRAM Connect/disconnect PC Mode changes Monitoring Error readout Error clear Monitoring bit status Monitoring I/O status Force set/reset Change PV1 Change PV2 Change ASCII Multipoint I/O monitor Word monitor Change TC PV Change TC SV1 Change TC SV2 Pause monitor display...
  • Page 28 Monitoring Operation Application MONITOR PROGRAM Monitor I/O status Program transfer Ladder Program I/O Unit to FIT/LSS FIT/LSS to Ladder Program I/O Unit Compare Ladder diagram (without comments) Ladder diagram (with comments) Online editing Line connection I/O comments Line comments Scan time read Data area clear Search I/O comments...
  • Page 29 / !  !8  " !    4: !"   6! ! !":   ! 6!  :   '02     ' "   !8        2  (4  12 '/2( 1 ! / ' ! 56! /...
  • Page 30 Section 5-2 Operation in RUN and MONITOR Modes In RUN mode, the overseeing processes, program execution, and I/O refresh are repeated cyclically, as shown on the left below. MONITOR mode processing is identical to RUN mode processing, but Program- ming Device servicing is performed after program execution, as shown in the flowchart on the right below.
  • Page 31 Section 5-3 Pin 2 ON (WRIT(87)/READ(88) Operation) Data is transferred to and from the PC using the I/O WRITE/READ (WRIT(87)/READ(88)) instructions. Pin 2 OFF (Normal I/O Operation) Data is transferred to and from the PC through 2 words allocated for I/O. Process Content Time requirements...
  • Page 32 Section 5-3 Execution times for instructions depend on whether they are executed with an ON or an OFF execution condition. The OFF execution time for an instruction can also vary depending on the circumstances, i.e., whether it is in an inter- locked program section and the execution condition for IL is OFF or whether it is reset by an OFF execution condition.
  • Page 33 Section 5-3 µ Instruction No. of Conditions ON execution time OFF execution time ( µ bytes Top: Min.; Top: Min.; Bottom: Max. Bottom: Max. TIMH(15) 128.125 When reset When interlocked Min: Constant for SV 113.750 146.250 Max: Word for SV 150.000 WSFT(16) Min: When shifting 1 word...
  • Page 34 Section 5-4 µ Instruction No. of Conditions ON execution time OFF execution time ( µ bytes Top: Min.; Top: Min.; Bottom: Max. Bottom: Max. INC(38) Min: When incrementing a word 112.500 When reset When interlocked Max: When incrementing DM 116.250 29.375 26.875 DEC(39)
  • Page 35 Section 5-4 5-4-1 Normal I/O Timing Minimum I/O Response Time The Unit responds most quickly when it receives an input signal just prior to I/O the refresh. Minimum I/O response time = input ON delay + scan time + output ON delay I/O refresh Scan time Scan time...
  • Page 36 Section 5-4 5-4-2 High-speed Inputs High-speed inputs can be used by turning on pin 3 and/or pin 4 on the back panel DIP switch. Pin 3 enables high-speed inputs on IR 0200 through IR 0203; pin 4 on IR 0204 through IR 0207. When high-speed inputs are enabled, any pulse of 0.5 ms or longer will be acknowledged regardless of when it occurs, as shown below.
  • Page 37 / ! 3    ! 8 4 !  8"   / !  "!       4  "  3 5 1   /8"  1! ...
  • Page 38 Section 6-1 Error Messages and Troubleshooting Error Possible Cause Correction Indicators do not light PC power is OFF Apply power to PC Unit is not mounted securely Mount Unit and tighten mounting screws Indicator 4 lights during PROGRAM or GPC/FIT/LSS power is OFF Apply power to the GPC/FIT/LSS MONITOR when SW 3 is set to 0 (GPC/FIT/LSS connection error)
  • Page 39 Section 6-2 Maintenance Stand-by Unit It is recommended to keep a stand-by Unit on hand at all times. Fuse Replacement The Ladder Program I/O Unit uses two fuses; one for each eight outputs. Re- place blown fuses, after eliminating the cause, with fuses of the following specifi- cations: 125 V, 2 A (5.2 mm dia.
  • Page 40 Appendix A Standard Models Product Name Model No. Ladder Program I/O Unit C500-LDP01-V1 Main unit 3G2C5-GPC03-E/3G2C5-GPC04-E System Memory Cassette C500-MP303-EV2 FIT10-SET11-E 3 1/2” FD 720 KB (4 floppy disks) C500-SF312-EV2 5 1/4” FD 360 KB (8 floppy disks) C500-SF711-EV2...
  • Page 41 Appendix B Specifications Item Specification Words allocated in the PC 2 words The I/O WRITE and I/O READ (WRIT(87)/READ(88)) instructions can be used when enabled via a switch setting. Control method Stored program Main control element MPU, C-MOS Programming Ladder diagram Instruction Length 1 to 17 bytes/instruction Instructions...
  • Page 42 Appendix B External Input/Output Specifications DC inputs Item Specification +10% Input voltage 24 VDC --15% Input impedance 3.3 k Input current 7 mA typical (at 24 VDC) ON voltage Minimum 16.0 VDC OFF voltage Maximum 5.0 VDC ON response time Maximum 0.5 ms OFF response time Maximum 0.5 ms...
  • Page 43 Appendix B Transistor Output Item Specification Maximum switching capacity 16 mA/4.5 VDC to 100 mA/26.4 VDC Current leakage Maximum 0.1 mA Residual voltage Maximum 0.4 V ON response time Maximum 0.2 ms OFF response time Maximum 0.3 ms Number of circuits 16 points (8/common, 2 circuits) Fuse 2 A, 125 V (5.2 mm (dia.) x 20 mm) GG92...
  • Page 44 (1) FCN-361J024-AU (soldered) 2 pieces FCN-360C024-B (connected cover) (2) FCN-363J024 (solderless housing) FCN-363J-AU (contact) 2 sets each FCN-360C024-B (Connector cover) (3) FCN-367J024-AU/F (pressure welded) 2 pieces OMRON Connectors (OMRON supplies each as a set) C500-CE241 (soldered) C500-CE242 (solderless crimp type) C500-CE243 (pressure-welded)
  • Page 45: Table Of Contents

    Appendix C Programming Instructions A PC instruction is input either by inputting the corresponding Programming Device key(s) (e.g., LD, AND, OR, NOT) or by using function codes. To input an instruction via its function code, press FUN, the function code, and then WRITE. Function Code Name Mnemonic...
  • Page 46 Appendix C Function Code Name Mnemonic No. of bytes OR WORD EXCLUSIVE OR XORW EXCLUSIVE NOR XNRW INCREMENT DECREMENT SET CARRY CLEAR CARRY ONE DIGIT SHIFT LEFT ONE DIGIT SHIFT RIGHT 4-TO-16 DECODER MLPX 16-TO-4 ENCODER DMPX Applicable Data Areas The following table shows the addresses that can be used in each data area when programming.
  • Page 47: And

    Appendix C Instruction Tables The following tables list all of the ladder diagram programming instructions for the Ladder Program I/O Unit. These are all the same as corresponding instructions for the C500, except that data areas differ and not all C500 instruc- tions are supported (see table at the end of this appendix).
  • Page 48: Or Ld

    Appendix C Name and Symbol Function Operand Data Areas Mnemonic OR LOAD Logically ORs the resultant execution conditions None OR LD of the preceding logic blocks. OUTPUT Turns ON B for an ON execution condition; turns OFF B for an OFF execution condition. IR (except IR 00 and IR 02) Work bits OUTPUT NOT...
  • Page 49: Ilc

    Appendix C Name Symbol Function Operand Data Areas Mnemonic INTERLOCK If an interlock condition is OFF, all outputs None IL(02) and all timer PVs between the current IL(02) INTERLOCK IL(02) and the next ILC(03) are turned OFF CLEAR or reset, respectively. Other instructions ILC(03) are treated as NOP.
  • Page 50: Cmp

    Appendix C Name Symbol Function Operand Data Areas Mnemonic COMPARE Compares data 4-digit Cp1/Cp2: CMP(20) hexadecimal words (Cp1 and Cp2) and outputs result to the GR, EQ, or LE Flags. CMP(20) Work bits MOVE Transfers data from source word, (S) to MOV(21) destination word (D).
  • Page 51: Asr

    Appendix C Name Symbol Function Operand Data Areas Mnemonic ARITHMETIC Each bit within a single word of data (Wd) SHIFT RIGHT is shifted one bit to the right, with zero ASR(26) written to bit 15 and bit 00 moving to CY. Work bits (except word 12) ASR(26) ROTATE LEFT...
  • Page 52 Appendix C Name Symbol Function Operand Data Areas Mnemonic EXCLUSIVE OR Exclusively ORs two 16-bit input words (I1 I1/I2: XORW(36) and I2) and sets the bits in the result word XORW(36) (R) when the corresponding bits in input Work bits (ex- Work cept word 12) words differ in status.
  • Page 53 Appendix C Name Symbol Function Operand Data Areas Mnemonic ONE DIGIT SHIFT Shifts all data, between starting word (St) St/E: RIGHT and ending word (E), one digit (four bits) to SRD(75) the right, writing zero into the leftmost digit Work bits (except word 12) SRD(75) of the ending word.
  • Page 54 Appendix C Unsupported Instructions The following C500 instructions are not supported by the Ladder Programming I/O Unit and will be treated as NOP if used. WRIT(87) and READ(88) are used internally only and cannot be programmed by the user in the Ladder Program I/O Unit.
  • Page 55: Andw

    Appendix D Error and Arithmetic Flag Operation The following table shows the instructions that affect the Error (ER), Carry (CY), Greater Than (GT), Equals (EQ), and Less Than (LT) Flags. Vertical arrows in the table indicate the flags that are turned ON and OFF according to the result of the instruction.
  • Page 56    :  !"!& : 1 : .   : ' #! :  !: 6": !! <0'/0 :   "":  !   " :   3 ,('/).-*0(5+)..*: $ '02  : . '02   :    '02    :  1: .=7  : ...
  • Page 57 (4 : "   3!   : : . !: !: .  :  ! : . "& :  : 7 : 4 ! : . '02    :   ! 6!  : 7  : 6": #! !! :  "! : : $ !!: 6"...
  • Page 58 Original production (C500-LDP01) June 1989 Corrections to pages 18, 22 to 26 January 1992 Revision for new model (C500-LDP01-V1). For a list of the differences between the C500-LDP01 and the C500-LDP01-V1 refer to Section 1-3 Comparing the C500-LDP01 and the C500-LDP01-V1.
  • Page 59 For US technical support or other inquiries: 800.556.6766 OMRON CANADA, INC. Milner Avenue Toronto, Ontario M 416.286.6465 OMRON ON-LINE Global - http://www.omron.com USA - http://www.omron.com/oei Canada - http://www.omron.ca W151-E1-3 ©2002 OMRON ELECTRONICS LLC Specifications subject to change without notice. Printed in the U.S.A.

Table of Contents