User manual OMRON CP1E 12-2009

DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Diplodocs provides you a fast and easy access to the user manual OMRON CP1E. We hope that this OMRON CP1E user guide will be useful to you.


OMRON CP1E 12-2009: Download the complete user guide (4242 Ko)

You may also download the following manuals related to this product:

   OMRON CP1E BROCHURE (583 ko)
   OMRON CP1E INTRODUCTION MANUAL (9775 ko)
   OMRON CP1E INTRODUCTION MANUAL (9589 ko)
   OMRON CP1E INTRODUCTION MANUAL (7540 ko)
   OMRON CP1E INTRODUCTION MANUAL (9175 ko)
   OMRON CP1E INTRODUCTION MANUAL (9830 ko)
   OMRON CP1E INTRODUCTION MANUAL (9429 ko)
   OMRON CP1E INTRODUCTION MANUAL (16181 ko)
   OMRON CP1E INTRODUCTION MANUAL (7788 ko)
   OMRON CP1E INTRODUCTION MANUAL (7649 ko)
   OMRON CP1E INTRODUCTION MANUAL (10511 ko)

Manual abstract: user guide OMRON CP1E12-2009

Detailed instructions for use are in the User's Guide.

[. . . ] W483-E1-03 SYSMAC CP Series CP1E-E_D_-_ CP1E-N_D_-_ CP1E-NA_D_-_ CP1E CPU Unit INSTRUCTIONS REFERENCE MANUAL © OMRON, 2009 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. [. . . ] Subtracts 8-digit (double-word) hexadecimal data and/or constants with the Carry Flag (CY). ­C ­CL ­C(412) Symbol ­CL(413) Mi: Minuend word Su: Subtrahend word R: Result word Mi Su R Mi: Minuend word Su: Subtrahend word R: Result word Mi Su R Applicable Program Areas Area Usage Step program areas OK Subroutines OK Interrupt tasks OK Operands Data type Operand ­C: Minuend word ­CL: First minuend word ­C: Subtrahend word ­CL: First subtrahend word ­C: Result word ­CL: First result word Description ­C Mi INT ­CL DINT ­C 1 ­CL 2 Size Su INT DINT 1 2 R INT DINT 1 2 Operand Specifications Word addresses Area CIO Mi, Su OK R OK OK OK OK OK OK OK OK --WR HR AR T C DM @DM *DM OK ------Indirect DM addresses Constants CF Pulse bits TR bits Flags Operation Name Error Flag Equals Flag Label ­C P_ER P_EQ OFF · ON when the subtraction result is 0. Overflow Flag P_OF · ON when the result of subtracting a negative number and CY from a positive number is in the range 8000 to FFFF hex. Underflow Flag P_UF · ON when the result of subtracting a positive number and CY from a negative number is in the range 0000 to 7FFF hex. Negative Flag P_N · ON when the leftmost bit of the result is 1. · ON when the result of subtracting a negative number and CY from a positive number is in the range 80000000 to FFFFFFFF hex. · ON when the result of subtracting a positive number and CY from a negative number is in the range 00000000 to 7FFFFFFF hex. ­CL 2-170 CP1E CPU Unit Instructions Reference Manual(W483) 2 Instructions Function ­C Symbol Math Instructions ­C(412) subtracts the binary values in Su and CY from Mi, and outputs the result to R. When the result is negative, it is output to R as a 2's complement. Mi Su (Signed binary) (Signed binary) ­ CY will turn ON when there is a borrow. CY R CY (Signed binary) ­CL ­CL(413) subtracts the binary values in Su and Su+1 and CY from Mi and Mi+1, and outputs the result to R, R+1. When the result is negative, it is output to R, R+1 as a 2's complement. Mi+1 Su+1 Mi Su CY R+1 R (Signed binary) (Signed binary) (Signed binary) 2 ­C/­CL ­ CY will turn ON when there is a borrow. CY Hint · To clear the Carry Flag (CY), execute the Clear Carry (CLC(041)) instruction. · 2's Complement A 2's complement is the value obtained by subtracting each binary digit from 1 and adding one to the result. Example: The 2's complement for the binary number 1101 is as follows: 1111 (F hex) ­ 1101 (D hex) + 1 (1 hex) = 0011 (3 hex). Example: The 2's complement for the 4-digit hexadecimal number 3039 is as follows: FFFF hex - 3039 hex + 0001 hex = CFC7 hex. Accordingly, the 2's complement for the 4-digit hexadecimal value "a" is as follows: FFFF hex ­ a hex + 0001 hex = b hex. And to obtain the true number "a" hex from the 2's complement "b" hex: a hex + 10000 hex ­ b hex. Example: To obtain the true number from the 2's complement CFC& hex: 10000 hex ­ CFC7 hex = 3039 hex. Sample program 0. 00 -C D100 D110 D120 When CIO 0. 00 is ON in the following example, D110 and CY will be subtracted from D100 as 4-digit signed binary values and the result will be output to D120. 0. 00 -CL D100 D110 D120 When CIO 0. 00 is ON in the following example, D111, D110 and CY will be subtracted from D101 and D100 as 8-digit signed binary values, and the result will be output to D121 and D120. If the result of the subtraction is a negative number (Mi<Su or Mi+1, Mi <Su+1, Su), the result is output as a 2's complement. To convert the 2's complement to the true number, a program which subtracts the result from 0 is necessary, as an input condition of the Carry Flag (CY). The Carry Flag turning ON thus indicates that the result of the subtraction is negative. CP1E CPU Unit Instructions Reference Manual(W483) 2-171 2 Instructions ­B/­BL Instruction BCD SUBTRACT WITHOUT CARRY DOUBLE BCD SUBTRACT WITHOUT CARRY ­B ­BL Mnemonic Variations @­B @­BL Function code 414 415 Function Subtracts 4-digit (single-word) BCD data and/or constants. Subtracts 8-digit (double-word) BCD data and/or constants. ­B ­BL ­B(414) Symbol ­BL(415) Mi: Minuend word Su: Subtrahend word R: Result word Mi Su R Mi: 1st minuend word Su: 1st subtrahend word R: 1st result word Mi Su R Applicable Program Areas Area Usage Step program areas OK Subroutines OK Interrupt tasks OK Operands Data type Operand ­B: Minuend word ­BL: First minuend word ­B: Subtrahend word ­BL: First subtrahend word ­B: Result word ­BL: First result word Description ­B Mi WORD ­BL DWORD ­B 1 ­BL 2 Size Su WORD DWORD 1 2 R WORD DWORD 1 2 Operand Specifications Word addresses Area CIO Mi, Su OK R OK OK OK OK OK OK OK OK --WR HR AR T C DM @DM *DM OK ------Indirect DM addresses Constants CF Pulse bits TR bits Flags Operation Name Error Flag Label ­B P_ER · ON when Mi is not BCD. · OFF in all other cases. 2-172 CP1E CPU Unit Instructions Reference Manual(W483) 2 Instructions Function ­B Symbol Math Instructions ­B(414) subtracts the BCD values in Su from Mi and outputs the result to R. If the result of the subtraction is negative, the result is output as a 10's complement. Mi Su CY will turn ON when there is a borrow. [. . . ] 011 Upward differentiation --Downward differentiation --Immediate refreshing specification !KEEP Page FCS 180 @FCS --- --- 2-255 KEEP 2-21 FIX FIXL FLT FLTL 450 451 452 453 @FIX @FIXL @FLT @FLTL --------- --------- 2-233 2-233 2-235 2-235 L Mnemonic LD LD=DT LD =S Instruction FUN No. --341 302 Upward differentiation @LD ----Downward differentiation %LD ----Immediate refreshing specification !LD ----Page LOAD LOAD DATE EQUAL LOAD SIGNED EQUAL 2-7 2-91 2-88 A-4 CP1E CPU Unit Instructions Reference Manual(W483) Appendices Mnemonic LD NOT LD< LD<= Instruction FUN No. --310 315 Upward differentiation ------- Downward differentiation ------- Immediate refreshing specification !LD NOT ----- Page Mnemonic LD=F Instruction FUN No. 329 Upward differentiation --- Downward differentiation --- Immediate refreshing specification --- Page LOAD NOT LOAD LESS THAN LOAD LESS THAN OR EQUAL LOAD DATE LESS THAN OR EQUAL LOAD FLOATING LESS THAN OR EQUAL 2-7 2-88 2-88 LOAD FLOATING EQUAL 2-241 LD=L LD=SL LOAD DOU- 301 BLE EQUAL LOAD DOU- 303 BLE SIGNED EQUAL LOAD GREATER THAN LOAD GREATER THAN OR EQUAL LOAD DATE GREATER THAN OR EQUAL LOAD FLOATING GREATER THAN OR EQUAL 320 ----- ----- ----- 2-88 Alphabetical List of Instructions by Mnemonic 2-88 LD<= DT LD<=F 344 --- --- --- 2-91 332 --- --- --- 2-241 LD> --- --- --- 2-88 LD>= ------2-88 325 --- --- --- 2-88 LD<=L LOAD DOU- 316 BLE LESS THAN OR EQUAL LOAD SIGNED LESS THAN OR EQUAL 317 LD<=S --- --- --- 2-88 LD>= DT 346 --- --- --- 2-91 LD>=F ------2-88 334 --- --- --- 2-241 LD<= SL LOAD DOU- 318 BLE SIGNED LESS THAN OR EQUAL LOAD NOT EQUAL LOAD DATE NOT EQUAL LOAD FLOATING NOT EQUAL 305 342 App LD>=L ------------2-88 2-91 LD>=S LD<> LD<> DT LD<>F LOAD DOU- 326 BLE GREATER THAN OR EQUAL LOAD SIGNED GREATER THAN OR EQUAL LOAD DBL SIGNED GREATER THAN OR EQUAL LOAD DATE GREATER THAN LOAD FLOATING GREATER THAN 327 --- --- --- 2-88 --- --- --- 2-88 330 --- --- --- 2-241 LD<>L LOAD DOU- 306 BLE NOT EQUAL LOAD SIGNED NOT EQUAL 307 --- --- --- 2-88 LD>= SL 328 --- --- --- 2-88 LD<>S --- --- --- 2-88 LD>DT 345 --- --- --- 2-91 LD<> SL LOAD DOU- 308 BLE SIGNED NOT EQUAL LOAD DT 343 LESS THAN LOAD 331 FLOATING LESS THAN LOAD DOU- 311 BLE LESS THAN LOAD 312 SIGNED LESS THAN LOAD DOU- 313 BLE SIGNED LESS THAN LOAD EQUAL 300 --- --- --- 2-88 LD>F 333 --- --- --- 2-241 LD>L ------------2-91 2-241 LD>S ------2-88 LD>SL ------2-88 LD<DT LD<F LOAD DOU- 321 BLE GREATER THAN LOAD SIGNED GREATER THAN 322 --- --- --- 2-88 --- --- --- 2-88 LD<L LD<S LOAD DOU- 323 BLE SIGNED GREATER THAN --- --- --- 2-88 LD<SL --- --- --- 2-88 LD= --- --- --- 2-88 CP1E CPU Unit Instructions Reference Manual(W483) A-5 Appendices M Mnemonic MILC Instruction FUN No. [. . . ]

DISCLAIMER TO DOWNLOAD THE USER GUIDE OMRON CP1E




Click on "Download the user Manual" at the end of this Contract if you accept its terms, the downloading of the manual OMRON CP1E will begin.

 

Copyright © 2015 - manualRetreiver - All Rights Reserved.
Designated trademarks and brands are the property of their respective owners.