Omron SYSMAC CP CP1E-N@@D@-@ Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Omron SYSMAC CP CP1E-N@@D@-@ herunter. Omron SYSMAC CP CP1E-N@@D@-@ User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 467
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - REFERENCE MANUAL

INSTRUCTIONSREFERENCE MANUALCat. No. W483-E1-03SYSMAC CP SeriesCP1E-E@@D@-@CP1E-N@@D@-@CP1E-NA@@D@-@CP1E CPU Unit

Seite 2 -  OMRON, 2009

7CP1E CPU Unit Instructions Reference Manual(W483)Sections in this Manual12341234Summary of InstructionsAAppendicesInstructionsInstruction Execution T

Seite 3 - CP1E-E@@D@-@

2 Instructions2-64CP1E CPU Unit Instructions Reference Manual(W483)Example 4: One-shot BitA TIM timer can be combined with OUT or OUT NOT to control

Seite 4 - Introduction

2-652 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions22) Clock PulseThe desired execution condition ca

Seite 5 - CP1E CPU Unit Manuals

2 Instructions2-66CP1E CPU Unit Instructions Reference Manual(W483)TIM/TIMXApplicable Program AreasOperandsN: Timer NumberThe timer number must be b

Seite 6 - (This Manual)

2-672 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 TIM/TIMXFunctionHint• A TIM/TIMX(550) instru

Seite 7

2 Instructions2-68CP1E CPU Unit Instructions Reference Manual(W483)*1 If the IOM Hold Bit (A500.12) has been turned ON, the status of timer Completi

Seite 8 - Manual Structure

2-692 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 TIMH/TIMHXTIMH/TIMHXApplicable Program Areas

Seite 9 - Terminology and Notation

2 Instructions2-70CP1E CPU Unit Instructions Reference Manual(W483)FunctionHintA TIMH(015)/TIMHX(551) instruction’s PV and Completion Flag can be re

Seite 10 - Sections in this Manual

2-712 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 TIMH/TIMHX*1 If the IOM Hold Bit (A500.12) h

Seite 11

2 Instructions2-72CP1E CPU Unit Instructions Reference Manual(W483)TMHH/TMHHXApplicable Program AreasOperandsN: Timer NumberThe timer must be betwee

Seite 12

2-732 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 TMHH/TMHHX• The setting range for the set va

Seite 13

8CP1E CPU Unit Instructions Reference Manual(W483)CONTENTSIntroduction ...

Seite 14

2 Instructions2-74CP1E CPU Unit Instructions Reference Manual(W483)TTIM/TTIMXApplicable Program AreasOperandsN: Timer NumberThe timer number must be

Seite 15 - LIMITATIONS OF LIABILITY

2-752 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 TTIM/TTIMXFunctionHint• Typical timers such

Seite 16 - Application Considerations

2 Instructions2-76CP1E CPU Unit Instructions Reference Manual(W483)• When a TTIM(087)/TTIMX(555) timer is forced set, its Completion Flag will be tu

Seite 17 - Disclaimers

2-772 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 TIML/TIMLXTIML/TIMLXApplicable Program Areas

Seite 18 - Safety Precautions

2 Instructions2-78CP1E CPU Unit Instructions Reference Manual(W483)Function• TIML(542)/TIMLX(553) can time up to 115 days for TIML(542) and 4,971 da

Seite 19 - CautionCaution

2-792 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 TIML/TIMLXSample programWhen timer input CIO

Seite 20

2 Instructions2-80CP1E CPU Unit Instructions Reference Manual(W483)CNT/CNTXApplicable Program AreasOperandsN: Counter NumberThe counter number must

Seite 21 - Precautions for Safe Use

2-812 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 CNT/CNTXFunction• The setting range 0 to 9,9

Seite 22 - Trademarks

2 Instructions2-82CP1E CPU Unit Instructions Reference Manual(W483)• When a CNT/CNTX(546) counter is forced set, its Completion Flag will be turned

Seite 23

2-832 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 CNTR/CNTRXCNTR/CNTRXApplicable Program Areas

Seite 24

9CP1E CPU Unit Instructions Reference Manual(W483)CNTR/CNTRX ...

Seite 25 - Summary of Instructions

2 Instructions2-84CP1E CPU Unit Instructions Reference Manual(W483)FunctionPrecautions• Counter numbers are shared by the CNT, CNTX(546), CNTR(012)

Seite 26 - 1 Summary of Instructions

2-852 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 CNTR/CNTRXThe add and subtract count inputs

Seite 27

2 Instructions2-86CP1E CPU Unit Instructions Reference Manual(W483)CNR/CNRXApplicable Program AreasOperandsN1: First Number in RangeN1 must be a tim

Seite 28

2-872 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 CNR/CNRXPrecautions• The timer/counter that

Seite 29

2 Instructions2-88CP1E CPU Unit Instructions Reference Manual(W483)Comparison Instructions=, <>, <, <=, >, >=Applicable Program Ar

Seite 30

2-892 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 =, <>, <, <=, >, >=Functioni Opt

Seite 31

2 Instructions2-90CP1E CPU Unit Instructions Reference Manual(W483)Unsigned input comparison instructions (i.e., instructions without the S option)

Seite 32

2-912 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 =DT, <>DT, <DT, <=DT, >DT, >=DT=D

Seite 33

2 Instructions2-92CP1E CPU Unit Instructions Reference Manual(W483)i Operand SpecificationsFlagsArea Word addresses Indirect DM addressesConstants

Seite 34

2-932 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 =DT, <>DT, <DT, <=DT, >DT, >=DTFu

Seite 35

10CP1E CPU Unit Instructions Reference Manual(W483)XORW/XORL ...

Seite 36

2 Instructions2-94CP1E CPU Unit Instructions Reference Manual(W483)Precautions• Time comparison instructions cannot be used as right-hand instructio

Seite 37

2-952 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 CMP/CMPLCMP/CMPLApplicable Program AreasOperands O

Seite 38

2 Instructions2-96CP1E CPU Unit Instructions Reference Manual(W483)The following table shows the status of the Arithmetic Flags after execution of

Seite 39 - Examples

2-972 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 CMP/CMPLPrecautions• Using CMP(020)Results in the P

Seite 40 - Symbol Instructions

2 Instructions2-98CP1E CPU Unit Instructions Reference Manual(W483)CPS/CPSLApplicable Program AreasOperands Operand SpecificationsFlagsInstruction

Seite 41 - Sequence Input Instructions

2-992 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 CPS/CPSLThe following table shows the status of th

Seite 42

2 Instructions2-100CP1E CPU Unit Instructions Reference Manual(W483)Precautions• When CPS(114)/CPSL(115) is executed, the result is reflected in the

Seite 43 - LD/LD NOT

2-1012 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 TCMPTCMPApplicable Program AreasOperands Operand

Seite 44

2 Instructions2-102CP1E CPU Unit Instructions Reference Manual(W483)FunctioniTCMP(085) compares the source data (S) to each ofthe 16 words T through

Seite 45 - AND/AND NOT

2-1032 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 BCMPBCMPApplicable Program AreasOperands Operand

Seite 46

11CP1E CPU Unit Instructions Reference Manual(W483)Other Instructions...

Seite 47 - OR/OR NOT

2 Instructions2-104CP1E CPU Unit Instructions Reference Manual(W483)FunctionBCMP(068) compares the source data (S) to the 16 ranges defined by pairs

Seite 48

2-1052 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 ZCP/ZCPLZCP/ZCPLApplicable Program AreasOperands

Seite 49 - AND LD/OR LD

2 Instructions2-106CP1E CPU Unit Instructions Reference Manual(W483)Function ZCPZCP(088) compares the 16-bit signed binary data in CD with the rang

Seite 50

2-1072 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Comparison Instructions2 ZCP/ZCPL• Do not program another instruction betwe

Seite 51

2 Instructions2-108CP1E CPU Unit Instructions Reference Manual(W483)Data Movement InstructionsMOV/MOVL/MVNApplicable Program AreasOperands Operand

Seite 52

2-1092 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 MOV/MOVL/MVNFunctionPrecautionsMOV(021) has an

Seite 53

2 Instructions2-110CP1E CPU Unit Instructions Reference Manual(W483)When CIO 0.00 is ON in the following example, the content of D101 and D100 are c

Seite 54

2-1112 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 MOVBMOVBApplicable Program AreasOperandsC: Cont

Seite 55

2 Instructions2-112CP1E CPU Unit Instructions Reference Manual(W483)FunctionHintThe same word can be specified for both S and D to copy a bit within

Seite 56

2-1132 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 MOVDMOVDApplicable Program AreasOperandsS: Sour

Seite 57

12CP1E CPU Unit Instructions Reference Manual(W483)Read and Understand this ManualPlease read and understand this manual before using the product. Ple

Seite 58

2 Instructions2-114CP1E CPU Unit Instructions Reference Manual(W483)FlagsFunctionPrecautionsIf the number of digits being read or written exceeds th

Seite 59

2-1152 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 XFRBXFRBApplicable Program AreasOperandsC: Cont

Seite 60

2 Instructions2-116CP1E CPU Unit Instructions Reference Manual(W483)FunctionHint• Up to 255 bits of data can be transferred per execution of XFRB(06

Seite 61

2-1172 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 XFERXFERApplicable Program AreasOperandsN: Numb

Seite 62

2 Instructions2-118CP1E CPU Unit Instructions Reference Manual(W483)FunctionHintPrecautions• Be sure that the source words (S to S+N-1) and destinat

Seite 63

2-1192 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 BSETBSETApplicable Program AreasOperandsSt: Sta

Seite 64

2 Instructions2-120CP1E CPU Unit Instructions Reference Manual(W483)FunctionPrecautions• Some time will be required to complete BSET(071) when a lar

Seite 65 - SET/RSET

2-1212 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 XCHGXCHGApplicable Program AreasOperands Opera

Seite 66

2 Instructions2-122CP1E CPU Unit Instructions Reference Manual(W483)HintSample programTo exchange 3 or more words, useXFER(070) to transfer the word

Seite 67 - SETA/RSTA

2-1232 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 DISTDISTApplicable Program AreasOperandsBs: Des

Seite 68

13CP1E CPU Unit Instructions Reference Manual(W483)Application ConsiderationsSUITABILITY FOR USE OMRON shall not be responsible for conformity with an

Seite 69 - SETB/RSTB

2 Instructions2-124CP1E CPU Unit Instructions Reference Manual(W483)FunctionHintThe same DIST(080) instruction can be used to distribute the source

Seite 70

2-1252 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Movement Instructions2 COLLCOLLApplicable Program AreasOperandsBs: Sou

Seite 71

2 Instructions2-126CP1E CPU Unit Instructions Reference Manual(W483)FunctionHintThe same COLL(081) instruction can be used to collect data from vari

Seite 72 -  Precautions

2-1272 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 SFTData Shift InstructionsSFTApplicable Program Ar

Seite 73

2 Instructions2-128CP1E CPU Unit Instructions Reference Manual(W483)Precautions• Do not use more than one SFT(010) instructions with overlapping shi

Seite 74

2-1292 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 SFTRSFTRApplicable Program AreasOperandsC: Control

Seite 75 - Usage OK OK OK

2 Instructions2-130CP1E CPU Unit Instructions Reference Manual(W483)FunctionNote • The above shift operations are applicable when the reset bit (bit

Seite 76

2-1312 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 WSFTWSFTApplicable Program AreasOperands Operand

Seite 77

2 Instructions2-132CP1E CPU Unit Instructions Reference Manual(W483)Sample programWhen CIO 0.00 is ON, data from CIO 100 through CIO 102 will be shi

Seite 78

2-1332 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 ASLASLApplicable Program AreasOperands Operand Sp

Seite 79

14CP1E CPU Unit Instructions Reference Manual(W483)DisclaimersCHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any ti

Seite 80 - MILH/MILR/MILC

2 Instructions2-134CP1E CPU Unit Instructions Reference Manual(W483)ASRApplicable Program AreasOperands Operand SpecificationsFlagsFunctionSample p

Seite 81

2-1352 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 ROLROLApplicable Program AreasOperands Operand Sp

Seite 82

2 Instructions2-136CP1E CPU Unit Instructions Reference Manual(W483)Sample programWhen CIO 0.00 is ON, word CIO 100 and theCarry Flag (CY) will shif

Seite 83

2-1372 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 RORRORApplicable Program AreasOperands Operand Sp

Seite 84

2 Instructions2-138CP1E CPU Unit Instructions Reference Manual(W483)Sample programWhen CIO 0.00 is ON, word CIO 100and the Carry Flag (CY) will shif

Seite 85

2-1392 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 SLD/SRDSLD/SRDApplicable Program AreasOperands Op

Seite 86

2 Instructions2-140CP1E CPU Unit Instructions Reference Manual(W483)Sample program SLDWhen CIO 0.00 is ON, words CIO 100 through CIO 102 will shift

Seite 87

2-1412 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 NASL/NSLLNASL/NSLLApplicable Program AreasOperands

Seite 88

2 Instructions2-142CP1E CPU Unit Instructions Reference Manual(W483)FlagsFunction NASLNASL(580) shifts D (the shift word) by the specified number o

Seite 89 - JMP/CJP/JME

2-1432 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 NASL/NSLLSample programWhen CIO 0.00 is ON, The co

Seite 90

15CP1E CPU Unit Instructions Reference Manual(W483)Safety PrecautionsThe following notation is used in this manual to provide precautions required to

Seite 91

2 Instructions2-144CP1E CPU Unit Instructions Reference Manual(W483)NASR/NSRLApplicable Program AreasOperandsC: Control word Operand Specifications

Seite 92 - FOR/NEXT

2-1452 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Shift Instructions2 NASR/NSRLFlagsFunction NASRNASR(581) shifts D (th

Seite 93

2 Instructions2-146CP1E CPU Unit Instructions Reference Manual(W483)Sample program• When CIO 0.00 is ON, CIO 100 will be shifted 10 bits to the righ

Seite 94

2-1472 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Increment/DecrementInstructions2 ++/++LIncrement/Decrement Instructions++/+

Seite 95

2 Instructions2-148CP1E CPU Unit Instructions Reference Manual(W483)FunctionSample program Operation of ++(590)/++L(591)In the following example, t

Seite 96 -  Basic Timer Specifications

2-1492 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Increment/DecrementInstructions2 ++/++L Operation of @++(590)/@++L(591)The

Seite 97 -  Operating Mode

2 Instructions2-150CP1E CPU Unit Instructions Reference Manual(W483)--/--LApplicable Program AreasOperands Operand SpecificationsFlagsInstruction M

Seite 98

2-1512 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Increment/DecrementInstructions2 --/--LFunctionSample program Operation of

Seite 99

2 Instructions2-152CP1E CPU Unit Instructions Reference Manual(W483) Operation of @--(592)/@--L(593)In the following example, the content of D100 w

Seite 100 - 2 Instructions

2-1532 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Increment/DecrementInstructions2 ++B/++BL++B/++BLApplicable Program AreasOp

Seite 101 -  Timer reset method

16CP1E CPU Unit Instructions Reference Manual(W483)Be sure to sufficiently confirm the safety at the destination when you transfer the program or I/O

Seite 102 - TIM/TIMX

2 Instructions2-154CP1E CPU Unit Instructions Reference Manual(W483)FunctionSample program Operation of ++B(594)/++BL(595)In the following example,

Seite 103 - Precautions

2-1552 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Increment/DecrementInstructions2 ++B/++BL Operation of @++B(594)/@++BL(595

Seite 104 - Sample program

2 Instructions2-156CP1E CPU Unit Instructions Reference Manual(W483)--B/--BLApplicable Program AreasOperands Operand SpecificationsFlagsFunctionIns

Seite 105 - TIMH/TIMHX

2-1572 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Increment/DecrementInstructions2 --B/--BLSample program Operation of --B(5

Seite 106

2 Instructions2-158CP1E CPU Unit Instructions Reference Manual(W483)Symbol Math Instructions+/+LApplicable Program AreasOperands Operand Specificat

Seite 107

2-1592 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 +/+LFlagsFunction ++(400) adds the binary values

Seite 108 - TMHH/TMHHX

2 Instructions2-160CP1E CPU Unit Instructions Reference Manual(W483)+C/+CLApplicable Program AreasOperands Operand SpecificationsFlagsInstruction M

Seite 109

2-1612 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 +C/+CLFunction +C+C(402) adds the binary values

Seite 110 - TTIM/TTIMX

2 Instructions2-162CP1E CPU Unit Instructions Reference Manual(W483)+B/+BLApplicable Program AreasOperands Operand SpecificationsFlagsInstruction M

Seite 111

2-1632 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 +B/+BLFunction +B+B(404) adds the BCD values in

Seite 112

 OMRON, 2009All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, orby any m

Seite 113 - TIML/TIMLX

17CP1E CPU Unit Instructions Reference Manual(W483)Program so that the memory area of the start address is not exceeded when using a word address or s

Seite 114

2 Instructions2-164CP1E CPU Unit Instructions Reference Manual(W483)+BC/+BCLApplicable Program AreasOperands Operand SpecificationsFlagsInstruction

Seite 115

2-1652 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 +BC/+BCLFunction +BC+BC(406) adds BCD values in

Seite 116 - CNT/CNTX

2 Instructions2-166CP1E CPU Unit Instructions Reference Manual(W483)–/–LApplicable Program AreasOperands Operand SpecificationsFlagsInstruction Mne

Seite 117

2-1672 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 –/–LFunction ––(400) subtracts the binary values

Seite 118

2 Instructions2-168CP1E CPU Unit Instructions Reference Manual(W483)Hint• 2’s ComplementA 2’s complement is the value obtained by subtracting each b

Seite 119 - CNTR/CNTRX

2-1692 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 –/–LSubtraction at (1)Subtraction at (2)Final Sub

Seite 120

2 Instructions2-170CP1E CPU Unit Instructions Reference Manual(W483)–C/–CLApplicable Program AreasOperands Operand SpecificationsFlagsInstruction M

Seite 121

2-1712 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 –C/–CLFunction –C–C(412) subtracts the binary va

Seite 122 - CNR/CNRX

2 Instructions2-172CP1E CPU Unit Instructions Reference Manual(W483)–B/–BLApplicable Program AreasOperands Operand SpecificationsFlagsInstruction M

Seite 123

2-1732 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 –B/–BLFunction –B–B(414) subtracts the BCD value

Seite 124 - Comparison Instructions

18CP1E CPU Unit Instructions Reference Manual(W483)Precautions for Safe UseObserve the following precautions when using a CP-series PLC. Handling• To

Seite 125 - Functioni

2 Instructions2-174CP1E CPU Unit Instructions Reference Manual(W483)Subtraction at (1)Subtraction at (2)Final Subtraction ResultSample programIf the

Seite 126 - 2: D210S1: D110

2-1752 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 –BC/–BCL–BC/–BCLApplicable Program AreasOperands

Seite 127 - Operands

2 Instructions2-176CP1E CPU Unit Instructions Reference Manual(W483)Function –BC–BC(416) subtracts BCD values in Su and CY from Mi and outputs the

Seite 128 -  Operand Specifications

2-1772 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 */*L*/*LApplicable Program AreasOperands Operand

Seite 129

2 Instructions2-178CP1E CPU Unit Instructions Reference Manual(W483)Function **(420) multiplies the signed binary values in Md and Mr and outputs t

Seite 130 - Day of month

2-1792 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 *B/*BL*B/*BLApplicable Program AreasOperands Ope

Seite 131 - CMP/CMPL

2 Instructions2-180CP1E CPU Unit Instructions Reference Manual(W483)Function *B*B(424) multiplies the BCD content of Md and Mr and outputs the resu

Seite 132

2-1812 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 /, /L/, /LApplicable Program AreasOperands Opera

Seite 133

2 Instructions2-182CP1E CPU Unit Instructions Reference Manual(W483)Function //(430) divides the signed binary (16 bit) values in Dd by those in Dr

Seite 134 - CPS/CPSL

2-1832 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Symbol Math Instructions2 /B, /BL/B, /BLApplicable Program AreasOperands O

Seite 135

19CP1E CPU Unit Instructions Reference Manual(W483)Regulations and Standards SYSMAC is a registered trademark for Programmable Controllers made by

Seite 136

2 Instructions2-184CP1E CPU Unit Instructions Reference Manual(W483)Function /B/B(434) divides the BCD content of Dd by those of Dr and outputs the

Seite 137

2-1852 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 BIN/BINLConversion InstructionsBIN/BINLApplicable

Seite 138

2 Instructions2-186CP1E CPU Unit Instructions Reference Manual(W483)FunctionSample programWhen CIO 0.00 is ON in the following example, the 8-digit

Seite 139

2-1872 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 BCD/BCDLBCD/BCDLApplicable Program AreasOperandsS:

Seite 140

2 Instructions2-188CP1E CPU Unit Instructions Reference Manual(W483)FunctionSample programWhen CIO 0.00 is ON in the following example, the hexadeci

Seite 141 - ZCP/ZCPL

2-1892 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 NEGNEGApplicable Program AreasOperands Operand Sp

Seite 142

2 Instructions2-190CP1E CPU Unit Instructions Reference Manual(W483)Sample programWhen CIO 0.00 is ON in the following example, NEG(160) calculates

Seite 143

2-1912 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 MLPXMLPXApplicable Program AreasOperands 4-to-16

Seite 144 - Data Movement Instructions

2 Instructions2-192CP1E CPU Unit Instructions Reference Manual(W483) 8-to-256 bit conversionC: Control Word Operand SpecificationsFlagsFunctionMLP

Seite 145

2-1932 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 MLPXHintPrecaution 4-to-16 bit conversionWhen two

Seite 146

20CP1E CPU Unit Instructions Reference Manual(W483)Related Manuals The following manuals are related to the CP1E. Use them together with this manual.

Seite 147

2 Instructions2-194CP1E CPU Unit Instructions Reference Manual(W483)Sample program 4-to-16 bit ConversionWhen CIO 0.00 is ON in the following examp

Seite 148

2-1952 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 MLPX Example of multi-digit decoding• Example of

Seite 149

2 Instructions2-196CP1E CPU Unit Instructions Reference Manual(W483)DMPXApplicable Program AreasOperands 16-to-4 bit conversionC: Control WordInstr

Seite 150 - • OFF in all other cases

2-1972 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 DMPX 256-to-8 bit conversionC: Control word Oper

Seite 151

2 Instructions2-198CP1E CPU Unit Instructions Reference Manual(W483) 256-to-8 bit ConversionWhen the fourth (leftmost) digit of C is 1, DMPX(077) f

Seite 152

2-1992 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 DMPXSample program 16-to-4 bit ConversionWhen CIO

Seite 153

2 Instructions2-200CP1E CPU Unit Instructions Reference Manual(W483) 256-to-8 bit ConversionIf the conversion data contains 0000 hex, but other dat

Seite 154 - Sample Program

2-2012 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 ASCASCApplicable Program AreasOperandsDI: Digit De

Seite 155

2 Instructions2-202CP1E CPU Unit Instructions Reference Manual(W483) Operand SpecificationsFlagsFunctionHint• The parity bit is appended to the dat

Seite 156

2-2032 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 ASCSample programWhen CIO 0.00 is ON in the follow

Seite 158

2 Instructions2-204CP1E CPU Unit Instructions Reference Manual(W483) ParityIt is possible to specify the parity of the ASCII data for use in error

Seite 159 - Of: Offset

2-2052 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 HEXHEXApplicable Program AreasOperandsDI: Digit De

Seite 160

2 Instructions2-206CP1E CPU Unit Instructions Reference Manual(W483) Operand SpecificationsFlagsFunctionHint• The parity bit is appended to the dat

Seite 161

2-2072 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 HEXSample programWhen CIO 0.00 is ON in the follow

Seite 162

2 Instructions2-208CP1E CPU Unit Instructions Reference Manual(W483) Output example* Parity bit - changes according to the parity specification.Whe

Seite 163 - Data Shift Instructions

2-2092 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Conversion Instructions2 HEX Example of converting multiple bytes of ASCII

Seite 164

2 Instructions2-210CP1E CPU Unit Instructions Reference Manual(W483)Logic InstructionsANDW/ANDLApplicable Program AreasOperands Operand Specificati

Seite 165

2-2112 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Logic Instructions2 ANDW/ANDLFunctionSample programWhen the execution condi

Seite 166

2 Instructions2-212CP1E CPU Unit Instructions Reference Manual(W483)ORW/ORWLApplicable Program AreasOperands Operand SpecificationsFlagsInstruction

Seite 167

2-2132 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Logic Instructions2 ORW/ORWLFunctionSample programWhen the execution condit

Seite 168

1-1CP1E CPU Unit Instructions Reference Manual(W483)1This section provides a summary of instructions used with a CP1E CPU Unit.1-1 Summary of Instruct

Seite 169

2 Instructions2-214CP1E CPU Unit Instructions Reference Manual(W483)XORW/XORLApplicable Program AreasOperands Operand SpecificationsFlagsInstructio

Seite 170

2-2152 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Logic Instructions2 XORW/XORLFunctionSample programWhen the execution condi

Seite 171 - ROL(027)

2 Instructions2-216CP1E CPU Unit Instructions Reference Manual(W483)COM/COMLApplicable Program AreasOperands Operand SpecificationsFlagsFunction C

Seite 172

2-2172 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Logic Instructions2 COM/COMLSample programWhen CIO 0.00 is ON in the follow

Seite 173

2 Instructions2-218CP1E CPU Unit Instructions Reference Manual(W483)Special Math InstructionsAPRApplicable Program AreasOperands Sine Function Cos

Seite 174

2-2192 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Special Math Instructions2 APR Linear Extrapolation Function• Linear Extra

Seite 175

2 Instructions2-220CP1E CPU Unit Instructions Reference Manual(W483) Operand SpecificationsArea Word addresses Indirect DM addressesConstants CF Pu

Seite 176

2-2212 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Special Math Instructions2 APRFlagsFunction Operation of the Linear Extrap

Seite 177 - NASL/NSLL

2 Instructions2-222CP1E CPU Unit Instructions Reference Manual(W483) 16-bit Unsigned BCD DataThe input data and/or the output data canbe 16-bit uns

Seite 178

2-2232 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Special Math Instructions2 APRSample program Sine Function (C: #0000)The f

Seite 179

1 Summary of Instructions1-2CP1E CPU Unit Instructions Reference Manual(W483)1-1 Summary of InstructionsThere are 200 types of instructions can be u

Seite 180 - NASR/NSRL

2 Instructions2-224CP1E CPU Unit Instructions Reference Manual(W483)This example shows how to construct a linear extrapolation with 12 coordinates.

Seite 181

2-2252 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Special Math Instructions2 APR• Using 32-bit Signed Binary Data In this exa

Seite 182

2 Instructions2-226CP1E CPU Unit Instructions Reference Manual(W483)• Using Floating-point Data In this example, APR(069) is used to convert the flu

Seite 183

2-2272 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Special Math Instructions2 BCNTBCNTApplicable Program AreasOperandsN: Numbe

Seite 184

2 Instructions2-228CP1E CPU Unit Instructions Reference Manual(W483)Precautions• Some time will be required to complete BCNT(067) if a large number

Seite 185

2-2292 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2Floating-point Math InstructionsThe Floating-p

Seite 186

2 Instructions2-230CP1E CPU Unit Instructions Reference Manual(W483) Writing Floating-point DataWhen floating-point is specified for the data forma

Seite 187

2-2312 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2(2) Non-normalized NumbersNon-normalized numbe

Seite 188

2 Instructions2-232CP1E CPU Unit Instructions Reference Manual(W483)(3) Precautions in Handling Special ValuesThe following precautions apply to han

Seite 189 - ++B/++BL

2-2332 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 FIX/FIXLFIX/FIXLApplicable Program AreasOp

Seite 190

1-31 Summary of InstructionsCP1E CPU Unit Instructions Reference Manual(W483)1-1 Summary of Instructions1Sequence Output InstructionsOUTPUT OUT-Outp

Seite 191

2 Instructions2-234CP1E CPU Unit Instructions Reference Manual(W483)Function FIXFIX(450) converts the integer portion of the 32-bit floating-point

Seite 192 - --B/--BL

2-2352 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 FLT/FLTLFLT/FLTLApplicable Program AreasOp

Seite 193

2 Instructions2-236CP1E CPU Unit Instructions Reference Manual(W483)Function FLTFLT(452) converts the 16-bit signed binary value in S to 32-bit flo

Seite 194 - Symbol Math Instructions

2-2372 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 +F, –F, *F, /F+F, –F, *F, /FApplicable Pro

Seite 195

2 Instructions2-238CP1E CPU Unit Instructions Reference Manual(W483)FlagsFunctionThe data specified in Au/Mi/Md/Dd and the data specified in AD/Su/M

Seite 196

2-2392 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 +F, –F, *F, /F *F /F• If the absolute va

Seite 197

2 Instructions2-240CP1E CPU Unit Instructions Reference Manual(W483) FLOATING-POINT MULTIPLY (*F)Note 1 The results could be zero (including underf

Seite 198

2-2412 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 =F, <>F, <F, <=F, >F, >=

Seite 199

2 Instructions2-242CP1E CPU Unit Instructions Reference Manual(W483)Function OptionsWith the three input types and six symbols, there are 18 differ

Seite 200 - +BC/+BCL

2-2432 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 =F, <>F, <F, <=F, >F, >=

Seite 201

1 Summary of Instructions1-4CP1E CPU Unit Instructions Reference Manual(W483)Sequence Control InstructionsEND END 001 Indicates the end of a program

Seite 202

2 Instructions2-244CP1E CPU Unit Instructions Reference Manual(W483)FSTRApplicable Program AreasOperandsC: First Control Word Operand Specification

Seite 203

2-2452 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 FSTRFunctionFSTR(448) expresses the 32-bit

Seite 204

2 Instructions2-246CP1E CPU Unit Instructions Reference Manual(W483) Storage of ASCII TextAfter the floating-point number is converted to ASCII tex

Seite 205 - Su+1: CIO 121 Su: CIO 120

2-2472 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 FSTR• Limits on the Number of Digits in th

Seite 206

2 Instructions2-248CP1E CPU Unit Instructions Reference Manual(W483) Converting to ASCII Text in Scientific NotationWhen CIO 0.00 is ON in the foll

Seite 207

2-2492 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 FVALFVALApplicable Program AreasOperands

Seite 208

2 Instructions2-250CP1E CPU Unit Instructions Reference Manual(W483)• Scientific NotationReal numbers expressed as an integer part, fractional part,

Seite 209

2-2512 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Floating-point MathInstructions2 FVAL Storage of ASCII TextThe following d

Seite 210

2 Instructions2-252CP1E CPU Unit Instructions Reference Manual(W483)Sample program Converting ASCII Text in Decimal Notation to Floating-point Data

Seite 211 - –BC/–BCL

2-2532 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Table Data ProcessingInstructions2 SWAPTable Data Processing InstructionsSW

Seite 212

1-51 Summary of InstructionsCP1E CPU Unit Instructions Reference Manual(W483)1-1 Summary of Instructions1Comparison InstructionsSymbol Comparison =

Seite 213

2 Instructions2-254CP1E CPU Unit Instructions Reference Manual(W483)FunctionSWAP(637) switches the position of the twobytes in all of the words in t

Seite 214

2-2552 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Table Data ProcessingInstructions2 FCSFCSApplicable Program AreasOperands

Seite 215

2 Instructions2-256CP1E CPU Unit Instructions Reference Manual(W483)FunctionFCS(180) calculates the FCS value for W unitsof data beginning with the

Seite 216

2-2572 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 PIDATData Control InstructionsPIDATApplicable Pr

Seite 217

2 Instructions2-258CP1E CPU Unit Instructions Reference Manual(W483) Operand SpecificationsFlagsFunctionWhen the execution condition is ON, PIDAT(1

Seite 218

2-2592 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 PIDATThe following flowchart shows the autotunin

Seite 219

2 Instructions2-260CP1E CPU Unit Instructions Reference Manual(W483)Hint• PIDAT(191) is executed as if the execution condition was a STOP-RUN signal

Seite 220

2-2612 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 PIDATBlock Diagram for Target Value PID with Two

Seite 221 - Conversion Instructions

2 Instructions2-262CP1E CPU Unit Instructions Reference Manual(W483)Note 1 When the unit is designated as 1, the range is from 1 to 8,191 times the

Seite 222 - 00 000 0520030D270

2-2632 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 PIDATSampling Period and Cycle TimeThe sampling

Seite 223 - BCD/BCDL

SYSMAC CP SeriesCP1E-E@@D@-@CP1E-N@@D@-@CP1E-NA@@D@-@CP1E CPU UnitInstructions Reference ManualRevised December 2009

Seite 224 - 00 D32 A02 02 619 039

1 Summary of Instructions1-6CP1E CPU Unit Instructions Reference Manual(W483)Data Shift InstructionsSHIFT REGISTER SFT 010 Operates a shift register

Seite 225

2 Instructions2-264CP1E CPU Unit Instructions Reference Manual(W483)PID control Proportional Action (P)Proportional action is an operation in which

Seite 226

2-2652 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 PIDAT Derivative Action (D)Proportional action

Seite 227

2 Instructions2-266CP1E CPU Unit Instructions Reference Manual(W483)Direction of ActionWhen using PID control, select either of the following two co

Seite 228

2-2672 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 PIDATSample program Interrupting PID Control to

Seite 229 - R=1 (Convert 2 bytes.)

2 Instructions2-268CP1E CPU Unit Instructions Reference Manual(W483) Starting PIDAT(191) with Autotuning Interrupting Autotuning Before Completion

Seite 230

2-2692 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 TPOTPOApplicable Program AreasOperandsS: Input W

Seite 231

2 Instructions2-270CP1E CPU Unit Instructions Reference Manual(W483)R: Pulse Output BitSpecifies the destination output bit for the pulse output.Nor

Seite 232

2-2712 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 TPOIn this case, set the same value for the PID

Seite 233

2 Instructions2-272CP1E CPU Unit Instructions Reference Manual(W483)• The parameters (in C to C+3) are read in real time each time that the instruct

Seite 234 - Precaution

2-2732 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 TPO• Input time setting = 2 (Use higher value.)•

Seite 235

1-71 Summary of InstructionsCP1E CPU Unit Instructions Reference Manual(W483)1-1 Summary of Instructions1Symbol Math InstructionsSIGNED BINARY ADD W

Seite 236 -  256-to-8 bit Conversion

2 Instructions2-274CP1E CPU Unit Instructions Reference Manual(W483)PrecautionsWhen using TPO(685) in combination with PIDAT(191) in a cyclic task a

Seite 237

2-2752 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 TPO Using TPO(685) AloneWhen CIO 0.00 is ON, TP

Seite 238

2 Instructions2-276CP1E CPU Unit Instructions Reference Manual(W483)SCLApplicable Program AreasOperandsP1: First Parameter Word Operand Specificati

Seite 239

2-2772 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 SCLFlagsFunctionSCL(194) is used to convert the

Seite 240 -  Examples of Di

2 Instructions2-278CP1E CPU Unit Instructions Reference Manual(W483)Sample programIn the following example, it is assume that an analog signal from

Seite 241

2-2792 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 SCLIn this example, values from 0000 to 00C8 hex

Seite 242

2 Instructions2-280CP1E CPU Unit Instructions Reference Manual(W483)SCL2Applicable Program AreasOperandsP1: First Parameter Word Operand Specificat

Seite 243

2-2812 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 SCL2FlagsFunctionSCL2(486) is used to convert th

Seite 244 -  Output example

2 Instructions2-282CP1E CPU Unit Instructions Reference Manual(W483)Hint• SCL2(486) can be used to scale the results of analog signal conversion val

Seite 245

2-2832 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 SCL2 Scaling 1 to 5-V Analog Input to –200 to 2

Seite 246 - Logic Instructions

1 Summary of Instructions1-8CP1E CPU Unit Instructions Reference Manual(W483)Conversion InstructionsBCD TO BINARY BIN/@BIN023 Converts BCD data to b

Seite 247

2 Instructions2-284CP1E CPU Unit Instructions Reference Manual(W483)SCL3Applicable Program AreasOperandsP1: First Parameter WordInstruction Mnemonic

Seite 248 - ORW/ORWL

2-2852 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 SCL3 Operand SpecificationsFlagsFunctionSCL3(48

Seite 249

2 Instructions2-286CP1E CPU Unit Instructions Reference Manual(W483)HintSCL3(487) is used to convert data using a user-defined scale to signed binar

Seite 250 - XORW/XORL

2-2872 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 AVGAVGApplicable Program AreasOperandsN: Number

Seite 251

2 Instructions2-288CP1E CPU Unit Instructions Reference Manual(W483)FunctionPrecautionsThe processing information (R+1) is cleared to 0000 each time

Seite 252 - COM/COML

2-2892 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Data Control Instructions2 AVG• In the following example, the content of CI

Seite 253

2 Instructions2-290CP1E CPU Unit Instructions Reference Manual(W483)Subroutines InstructionsSBSApplicable Program AreasOperandsN: Subroutine numberS

Seite 254 - Special Math Instructions

2-2912 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Subroutines Instructions2 SBSFunctionSBS(091) calls the subroutine with the

Seite 255

2 Instructions2-292CP1E CPU Unit Instructions Reference Manual(W483)Precautions• The subroutine number must be uniquefor each subroutine. You cannot

Seite 256

2-2932 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Subroutines Instructions2 SBSSample program Sequential (Non-nested) Subrou

Seite 257

1-91 Summary of InstructionsCP1E CPU Unit Instructions Reference Manual(W483)1-1 Summary of Instructions1Floating-point Math Instruc-tionsFLOATING T

Seite 258 -  32-bit Signed Binary Data

2 Instructions2-294CP1E CPU Unit Instructions Reference Manual(W483) Nested SubroutinesWhen CIO 0.00 is ON in the following example, subroutine 1

Seite 259

2-2952 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Subroutines Instructions2 SBN/RETSBN/RETApplicable Program Areas SBN RETO

Seite 260 - Ω 0F00 0086 000F )×(–=

2 Instructions2-296CP1E CPU Unit Instructions Reference Manual(W483)Flags SBN/RETThere are no flags affected by this instruction.Function SBN RET

Seite 261

2-2972 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Subroutines Instructions2 SBN/RET• The step instructions, STEP(008) and SNX

Seite 262

2 Instructions2-298CP1E CPU Unit Instructions Reference Manual(W483)Interrupt Control InstructionsCP1E CPU Units support the following interrupts. O

Seite 263

2-2992 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Interrupt Control Instructions2Related Memory Area WordsName Address Operation

Seite 264

2 Instructions2-300CP1E CPU Unit Instructions Reference Manual(W483)MSKSApplicable Program AreasOperands(1) I/O Interrupt TaskNote When the up/down

Seite 265 -  Special Numbers

2-3012 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Interrupt Control Instructions2 MSKS Operand SpecificationsFlagsFunctionWh

Seite 266 -  Writing Floating-point Data

2 Instructions2-302CP1E CPU Unit Instructions Reference Manual(W483)Precaution• Be sure that the time interval is longer than the time required to e

Seite 267

2-3032 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Interrupt Control Instructions2 CLICLIApplicable Program AreasOperands(1) C

Seite 268

1 Summary of Instructions1-10CP1E CPU Unit Instructions Reference Manual(W483)High-speed Counter and Pulse Output InstructionsMODE CONTROL INI/@INI8

Seite 269 - FIX/FIXL

2 Instructions2-304CP1E CPU Unit Instructions Reference Manual(W483)(3) Clearing/Retaining High-speed Counter Interrupts Operand SpecificationsFlag

Seite 270

2-3052 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Interrupt Control Instructions2 CLI(2) N = 4: Setting the Time to the First

Seite 271 - FLT/FLTL

2 Instructions2-306CP1E CPU Unit Instructions Reference Manual(W483)DIApplicable Program AreasFlagsFunctionDI(693) is executed from the main program

Seite 272

2-3072 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Interrupt Control Instructions2 EIEIApplicable Program AreasFlagsFunction•

Seite 273 - +F, –F, *F, /F

2 Instructions2-308CP1E CPU Unit Instructions Reference Manual(W483)High-speed Counter/Pulse Output InstructionsINIApplicable Program AreasOperandsP

Seite 274

2-3092 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 INIC: Control DataNV: First Wo

Seite 275 - +F, –F, *F, /F

2 Instructions2-310CP1E CPU Unit Instructions Reference Manual(W483) Changing a PV (C = 0002 hex) Stopping Pulse Output (P = 0000, 0001 or 1000 he

Seite 276 -  FLOATING-POINT DIVIDE (/F)

2-3112 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 PRVPRVApplicable Program Areas

Seite 277

2 Instructions2-312CP1E CPU Unit Instructions Reference Manual(W483)D: First Destination Word Operand SpecificationsFlagsFunctionPRV(881) reads the

Seite 278

2-3132 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 PRV Reading a PV (C = 0000 he

Seite 279

1-111 Summary of InstructionsCP1E CPU Unit Instructions Reference Manual(W483)1-1 Summary of Instructions1Other InstructionsSET CARRY STC/@STC040 Se

Seite 280

2 Instructions2-314CP1E CPU Unit Instructions Reference Manual(W483) Reading Pulse Output or High-speed Counter Frequency (C = 00@3 hex)If C is 00@

Seite 281

2-3152 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 CTBLCTBLApplicable Program Are

Seite 282 - Decimal point

2 Instructions2-316CP1E CPU Unit Instructions Reference Manual(W483)TB: First comparison table word• TB is the first word of the comparison table. T

Seite 283

2-3172 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 CTBLFlagsFunctionCTBL(882) reg

Seite 284

2 Instructions2-318CP1E CPU Unit Instructions Reference Manual(W483) Range ComparisonThe corresponding interrupt task is called and executed when t

Seite 285

2-3192 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 SPEDSPEDApplicable Program Are

Seite 286 - 15 87 0

2 Instructions2-320CP1E CPU Unit Instructions Reference Manual(W483)FlagsFunctionIn independent mode, pulse output will stop automatically when the

Seite 287 -  Storage of ASCII Text

2-3212 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 SPED Independent Mode Positio

Seite 288

2 Instructions2-322CP1E CPU Unit Instructions Reference Manual(W483)Sample programWhen CIO 0.00 turns ON in the following programming example, PULS(

Seite 289

2-3232 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 PULSPULSApplicable Program Are

Seite 290 - Byte position is swapped

1 Summary of Instructions1-12CP1E CPU Unit Instructions Reference Manual(W483)

Seite 291

2 Instructions2-324CP1E CPU Unit Instructions Reference Manual(W483)FlagsFunctionPULS(886) sets the pulse type and number of pulses specified in T a

Seite 292

2-3252 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 PLS2PLS2Applicable Program Are

Seite 293 - Data Control Instructions

2 Instructions2-326CP1E CPU Unit Instructions Reference Manual(W483)S: First Word of Settings TableThe actual number of movement pulses that will be

Seite 294

2-3272 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 PLS2FunctionPLS2(887) starts p

Seite 295 - PID Control

2 Instructions2-328CP1E CPU Unit Instructions Reference Manual(W483) Independent Mode PositioningNote Pulse output will stop immediately if the CPU

Seite 296 - Calculation Method

2-3292 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 PLS2Note Triangular ControlIf

Seite 297 - PID Parameter Settings

2 Instructions2-330CP1E CPU Unit Instructions Reference Manual(W483) Switching from Continuous Mode Speed Control to Independent Mode PositioningSa

Seite 298

2-3312 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 ACCACCApplicable Program Areas

Seite 299

2 Instructions2-332CP1E CPU Unit Instructions Reference Manual(W483) Operand SpecificationsFlagsFunctionACC(888) starts pulse output on the port sp

Seite 300 - PID control

2-3332 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 ACC Continuous Mode Speed Con

Seite 301 - PID Action

2-1CP1E CPU Unit Instructions Reference Manual(W483)2This section describes the functions, operands and sample programs of the instruc-tions that are

Seite 302 - Adjusting PID Parameters

2 Instructions2-334CP1E CPU Unit Instructions Reference Manual(W483) Independent Mode PositioningWhen independent mode operation is started, pulse

Seite 303

2-3352 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 ACCNote Triangular ControlIf t

Seite 304

2 Instructions2-336CP1E CPU Unit Instructions Reference Manual(W483)ORGApplicable Program AreasOperandsP: Port SpecifierC: Control Data Operand Spe

Seite 305

2-3372 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 ORGFlagsFunctionORG(889) perfo

Seite 306

2 Instructions2-338CP1E CPU Unit Instructions Reference Manual(W483)When the origin search operation has been completed, the Error Counter Reset Out

Seite 307 - Execution

2-3392 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) High-speed Counter/PulseOutput Instructions2 PWMPWMApplicable Program Areas

Seite 308

2 Instructions2-340CP1E CPU Unit Instructions Reference Manual(W483) Operand SpecificationsFlagsFunctionPWM(891) outputs the frequency specified in

Seite 309

2-3412 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Step Instructions2Step InstructionsIn CP1E series PLCs, STEP(008)/SNXT(009) ca

Seite 310 - Manipulated

2 Instructions2-342CP1E CPU Unit Instructions Reference Manual(W483)SNXT/STEPApplicable Program AreasOperands Operand SpecificationsFlagsFunction

Seite 311 -  Using TPO(685) Alone

2-3432 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Step Instructions2 SNXT/STEPProceeding to the Next StepWhen SNXT(009) occur

Seite 312

2 Instructions2-2CP1E CPU Unit Instructions Reference Manual(W483)Notation and Layout of Instruction DescriptionsInstructions are described in group

Seite 313

2 Instructions2-344CP1E CPU Unit Instructions Reference Manual(W483)HintRelated BitsPrecaution• The control bit, B, must be in the Work Area for STE

Seite 314

2-3452 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Step Instructions2 SNXT/STEP• STEP(008) and SNXT(009) cannot be used inside

Seite 315 - Reverse Scaling

2 Instructions2-346CP1E CPU Unit Instructions Reference Manual(W483)(1) Sequential ControlStep (A) W0.00Step (B) W0.01Step (C) W0.02End0.01 (Step (A

Seite 316

2-3472 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Step Instructions2 SNXT/STEP(2) Branching Control Additional Information:•

Seite 317

2 Instructions2-348CP1E CPU Unit Instructions Reference Manual(W483)(3) Parallel ControlStep (A) W0.00Step (B) W0.01Step (C) W0.02End0.05 (Step (C)

Seite 318

2-3492 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Step Instructions2 SNXT/STEPApplication Examples(1) Sequential ExecutionSW

Seite 319

2 Instructions2-350CP1E CPU Unit Instructions Reference Manual(W483)(2) Branching ExecutionSW A1SW A2SW C1SW C2SW DSW B2SW B1Process CProcess BProce

Seite 320

2-3512 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Step Instructions2 SNXT/STEP(3) Parallel ExecutionSW1SW2SW3SW4SW6SW5 SW7Pro

Seite 321

2 Instructions2-352CP1E CPU Unit Instructions Reference Manual(W483)Basic I/O Unit InstructionsIORFApplicable Program AreasOperandsSt: Starting Word

Seite 322

2-3532 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 IORFUnits Refreshed by IORF(097)Note CP1E CPU

Seite 323

2-32 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Notation and Layout ofInstruction Descriptions2ConstantsConstants input for oper

Seite 324

2 Instructions2-354CP1E CPU Unit Instructions Reference Manual(W483)SDECApplicable Program AreasOperandsDi: Digit designator Operand Specifications

Seite 325

2-3552 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 SDECFunctionPrecaution• If more than one digit

Seite 326 - Subroutines Instructions

2 Instructions2-356CP1E CPU Unit Instructions Reference Manual(W483) 7-segment DataThe following table shows the data conversions from a hexadecima

Seite 327

2-3572 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 DSWDSWApplicable Program AreasOperandsI: Input

Seite 328

2 Instructions2-358CP1E CPU Unit Instructions Reference Manual(W483)D: First Result WordSpecifies the leading word address where the external digita

Seite 329

2-3592 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 DSW External ConnectionsConnect the digital s

Seite 330 -  Nested Subroutines

2 Instructions2-360CP1E CPU Unit Instructions Reference Manual(W483)Precaution• Do not read or write the system word (C2) from any other instruction

Seite 331 - Combined-use instructions

2-3612 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 MTRMTRApplicable Program AreasOperandsI: Input

Seite 332

2 Instructions2-362CP1E CPU Unit Instructions Reference Manual(W483)D: First Register WordSpecifies the leading word address of the 4 words that con

Seite 333

2-3632 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 MTRFlagsFunctionMTR(213) outputs the selection

Seite 334

1CP1E CPU Unit Instructions Reference Manual(W483)IntroductionThank you for purchasing a SYSMAC CP-series CP1E Programmable Controller. This manual co

Seite 335 - Related Memory Area Words

2 Instructions2-4CP1E CPU Unit Instructions Reference Manual(W483)Condition FlagsWith the CX-Programmer, the condition flags are registered in advan

Seite 336

2 Instructions2-364CP1E CPU Unit Instructions Reference Manual(W483)Precaution• Do not read or write the system word (C) from any other instruction.

Seite 337

2-3652 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 7SEG7SEGApplicable Program AreasOperandsS: Sou

Seite 338

2 Instructions2-366CP1E CPU Unit Instructions Reference Manual(W483)• Converting 8 digitsC: Control DataThe value of C indicates the number of digit

Seite 339

2-3672 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Basic I/O Unit Instructions2 7SEG External ConnectionsConnect the 7-segmen

Seite 340

2 Instructions2-368CP1E CPU Unit Instructions Reference Manual(W483)Precaution• Do not read or write the system word (D) from any other instruction.

Seite 341

2-3692 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Serial CommunicationInstructions2 TXDSerial Communication InstructionsTXDAp

Seite 342

2 Instructions2-370CP1E CPU Unit Instructions Reference Manual(W483)FlagsRelated Auxiliary Area Words and Bits CPU Unit’s Built-in RS-232C Port Se

Seite 343

2-3712 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Serial CommunicationInstructions2 TXD• Up to 259 bytes can be sent, includi

Seite 344

2 Instructions2-372CP1E CPU Unit Instructions Reference Manual(W483)Sample program Sending Data to a Code ReaderThis example shows how to send data

Seite 345

2-3732 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Serial CommunicationInstructions2 TXDProgramming ExampleIf CIO 0.01 turns O

Seite 346

2-52 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Input Instructions2Sequence Input InstructionsDifferentiated and Immedi

Seite 347

2 Instructions2-374CP1E CPU Unit Instructions Reference Manual(W483)RXDApplicable Program AreasOperandsC: Control Word Operand SpecificationsFlagsI

Seite 348

2-3752 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Serial CommunicationInstructions2 RXDRelated Auxiliary Area Words and Bits

Seite 349 - Output Instructions

2 Instructions2-376CP1E CPU Unit Instructions Reference Manual(W483)Function• RXD(235) reads data that has been received in no-protocol mode at the

Seite 350

2-3772 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Serial CommunicationInstructions2 RXD Start Code/End Code Settings and Rec

Seite 351

2 Instructions2-378CP1E CPU Unit Instructions Reference Manual(W483)Sample program Receiving dataThis example shows how to receive data from the V5

Seite 352

2-3792 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Serial CommunicationInstructions2 RXDProgramming ExampleIf CIO 0.02 turns O

Seite 353

2 Instructions2-380CP1E CPU Unit Instructions Reference Manual(W483)Clock InstructionsCADD/CSUBApplicable Program AreasOperandsInstruction Mnemonic

Seite 354

2-3812 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Clock Instructions2 CADD/CSUB CADDC through C+2: Calendar Data T and T+1:

Seite 355

2 Instructions2-382CP1E CPU Unit Instructions Reference Manual(W483) CSUBC through C+2: Calendar Data T and T+1: Time DataR through R+2: Result Dat

Seite 356

2-3832 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Clock Instructions2 CADD/CSUB Operand SpecificationsFlagsFunction CADDCAD

Seite 357

2 Instructions2-6CP1E CPU Unit Instructions Reference Manual(W483)Operation Timing for I/O InstructionsThe following chart shows the differences in

Seite 358

2 Instructions2-384CP1E CPU Unit Instructions Reference Manual(W483)Sample program CADDWhen CIO 0.00 turns ON in the following example, the calenda

Seite 359

2-3852 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Clock Instructions2 DATEDATEApplicable Program AreasOperandsS through S+3:

Seite 360

2 Instructions2-386CP1E CPU Unit Instructions Reference Manual(W483)Related Auxiliary Area Words and BitsFunctionDATE(735) changes the internal cloc

Seite 361

2-3872 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Failure Diagnosis Instructions2 FALFailure Diagnosis InstructionsFALApplica

Seite 362

2 Instructions2-388CP1E CPU Unit Instructions Reference Manual(W483)FlagsRelated Auxiliary Area Words and Bits Auxiliary Area Words/Flags for User-

Seite 363

2-3892 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Failure Diagnosis Instructions2 FALFunction Generating Non-fatal User-defi

Seite 364

2 Instructions2-390CP1E CPU Unit Instructions Reference Manual(W483)1. The specified error code will be written to A400.2. The error code and the ti

Seite 365

2-3912 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Failure Diagnosis Instructions2 FALNote Even if PLC Setup word 129 bit 15 i

Seite 366

2 Instructions2-392CP1E CPU Unit Instructions Reference Manual(W483) Clearing a Particular Non-fatal ErrorWhen CIO 0.01 is ON in the following exam

Seite 367

2-3932 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Failure Diagnosis Instructions2 FALSFALSApplicable Program AreasOperands G

Seite 368

2-72 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Input Instructions2 LD/LD NOTLD/LD NOTApplicable Program AreasOperan

Seite 369

2 Instructions2-394CP1E CPU Unit Instructions Reference Manual(W483)Related Auxiliary Area Words and Bits Auxiliary Area Words/Flags for User-defin

Seite 370

2-3952 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Failure Diagnosis Instructions2 FALS4 When a user-defined fatal error is re

Seite 371

2 Instructions2-396CP1E CPU Unit Instructions Reference Manual(W483)The following table shows how to specify error codes and error details in S and

Seite 372

2-3972 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Failure Diagnosis Instructions2 FALSSample program Generating a User-defin

Seite 373

2 Instructions2-398CP1E CPU Unit Instructions Reference Manual(W483)Other InstructionsSTC/CLCApplicable Program AreasFlagsFunction STCWhen the exec

Seite 374

2-3992 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Other Instructions2 WDTWDTApplicable Program AreasOperandsT: Timer settingS

Seite 375

2 Instructions2-400CP1E CPU Unit Instructions Reference Manual(W483) PLC Setup settingsNote • The default value for the maximum cycle time is 1,000

Seite 376

3-1CP1E CPU Unit Instructions Reference Manual(W483)3This section provides the execution times for all instructions used with a CP1E CPUUnit. 3-1 CP1E

Seite 377 - Step Instructions

3 Instruction Execution Times and Number of Steps3-2CP1E CPU Unit Instructions Reference Manual(W483)3-1 CP1E CPU Unit Instruction Execution Times a

Seite 378 - SNXT/STEP

3-33 Instruction Execution Times and Number of StepsCP1E CPU Unit Instructions Reference Manual(W483)3-1 CP1E CPU Unit InstructionExecution Times an

Seite 379 - SNXT/STEP

2 Instructions2-8CP1E CPU Unit Instructions Reference Manual(W483)Hint• LD/LD NOT is used in the following circumstances as an instruction for indic

Seite 380 - Name Address Details

3 Instruction Execution Times and Number of Steps3-4CP1E CPU Unit Instructions Reference Manual(W483)Sequence Control InstructionsInstruction Mnemon

Seite 381

3-53 Instruction Execution Times and Number of StepsCP1E CPU Unit Instructions Reference Manual(W483)3-1 CP1E CPU Unit InstructionExecution Times an

Seite 382

3 Instruction Execution Times and Number of Steps3-6CP1E CPU Unit Instructions Reference Manual(W483)Data Movement InstructionsInstruction MnemonicF

Seite 383 - Step (C) ladder program

3-73 Instruction Execution Times and Number of StepsCP1E CPU Unit Instructions Reference Manual(W483)3-1 CP1E CPU Unit InstructionExecution Times an

Seite 384 - (3) Parallel Control

3 Instruction Execution Times and Number of Steps3-8CP1E CPU Unit Instructions Reference Manual(W483)Conversion InstructionsInstruction MnemonicFUNN

Seite 385 - Application Examples

3-93 Instruction Execution Times and Number of StepsCP1E CPU Unit Instructions Reference Manual(W483)3-1 CP1E CPU Unit InstructionExecution Times an

Seite 386

3 Instruction Execution Times and Number of Steps3-10CP1E CPU Unit Instructions Reference Manual(W483)Subroutine InstructionsInstruction MnemonicFUN

Seite 387 - (3) Parallel Execution

3-113 Instruction Execution Times and Number of StepsCP1E CPU Unit Instructions Reference Manual(W483)3-1 CP1E CPU Unit InstructionExecution Times a

Seite 388 - Basic I/O Unit Instructions

3 Instruction Execution Times and Number of Steps3-12CP1E CPU Unit Instructions Reference Manual(W483)Failure Diagnosis InstructionsInstruction Mnem

Seite 389 - Units Refreshed by IORF(097)

4-1CP1E CPU Unit Instructions Reference Manual(W483)4This section describes how to monitor and calculate the cycle time of a CP1E CPU Unitthat can be

Seite 390

2-92 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Input Instructions2 AND/AND NOTAND/AND NOTApplicable Program AreasOp

Seite 391

4 Monitoring and Computing the Cycle Time4-2CP1E CPU Unit Instructions Reference Manual(W483)4-1 Monitoring the Cycle TimeThe average, maximum, and

Seite 392 -  7-segment Data

4-34 Monitoring and Computing the Cycle TimeCP1E CPU Unit Instructions Reference Manual(W483)4-2 Computing the Cycle Time44-2-1 CPU Unit Operation

Seite 393

4 Monitoring and Computing the Cycle Time4-4CP1E CPU Unit Instructions Reference Manual(W483)The cycle time depends on the following conditions.• T

Seite 394

4-54 Monitoring and Computing the Cycle TimeCP1E CPU Unit Instructions Reference Manual(W483)4-2 Computing the Cycle Time44-2-3 I/O Refresh Times

Seite 395 -  Timing Chart

4 Monitoring and Computing the Cycle Time4-6CP1E CPU Unit Instructions Reference Manual(W483)The following example shows the method used to calcula

Seite 396

A-1ppCP1E CPU Unit Instructions Reference Manual(W483)AppAlphabetical List of Instructions by Mnemonic . . . . . . . . . . . . . . . . . . . . . . . .

Seite 397

AppendicesA-2CP1E CPU Unit Instructions Reference Manual(W483)Alphabetical List of Instructions by MnemonicAMne-monicInstructionFUNNo.Upward differen-

Seite 398 - CIO WR HR AR T C DM @DM *DM

A-3AppendicesCP1E CPU Unit Instructions Reference Manual(W483) Alphabetical List of Instructions by MnemonicAppBCAND>=SLAND DBL SIGNED GREATER THA

Seite 399 - Error Flag P_ER OFF

AppendicesA-4CP1E CPU Unit Instructions Reference Manual(W483)DEFHIJKLMne-monicInstructionFUNNo.Upward differen-tiationDownward differentia-tionImmedi

Seite 400

A-5AppendicesCP1E CPU Unit Instructions Reference Manual(W483) Alphabetical List of Instructions by MnemonicAppLD NOTLOAD NOT --- --- --- !LD NOT 2-7

Seite 401

2 Instructions2-10CP1E CPU Unit Instructions Reference Manual(W483)Precautions• Differentiate up (@) or differentiate down (%) can be specified for

Seite 402 - (Cannot be accessed b

AppendicesA-6CP1E CPU Unit Instructions Reference Manual(W483)MNOMne-monicInstructionFUNNo.Upward differen-tiationDownward differentia-tionImmediate r

Seite 403

A-7AppendicesCP1E CPU Unit Instructions Reference Manual(W483) Alphabetical List of Instructions by MnemonicAppPROR= OR EQUAL 300 --- --- --- 2-88OR=

Seite 404

AppendicesA-8CP1E CPU Unit Instructions Reference Manual(W483)STUWXMne-monicInstructionFUNNo.Upward differen-tiationDownward differentia-tionImmediate

Seite 405

A-9AppendicesCP1E CPU Unit Instructions Reference Manual(W483) Alphabetical List of Instructions by MnemonicAppZSymbolMne-monicInstructionFUNNo.Upwar

Seite 406 - Related PLC Setup Settings

AppendicesA-10CP1E CPU Unit Instructions Reference Manual(W483)ASCII Code Table*BL DOUBLE BCD MULTI-PLY425 @*BL --- --- 2-179*F FLOATING-POINT MULTIPL

Seite 407

Revision-1Revision HistoryA manual revision code appears as a suffix to the catalog number on the front cover of the manual.Revision code Date Revised

Seite 408

Revision-2

Seite 409 -  Controlling Signals

Authorized Distributor:In the interest of product improvement, specifications are subject to change without notice.Cat. No. W483-E1-030110 © OMRON Cor

Seite 410

2-112 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Input Instructions2 OR/OR NOTOR/OR NOTApplicable Program AreasOpera

Seite 411

2 Instructions2-12CP1E CPU Unit Instructions Reference Manual(W483)Precautions• Differentiate up (@) or differentiate down (%) can be specified for

Seite 412

2-132 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Input Instructions2 AND LD/OR LDAND LD/OR LDApplicable Program Area

Seite 413

2CP1E CPU Unit Instructions Reference Manual(W483)CP1E CPU Unit ManualsInformation on the CP1E CPU Units is provided in the following manuals. Refer t

Seite 414

2 Instructions2-14CP1E CPU Unit Instructions Reference Manual(W483)PrecautionsWhen a logic block is connected by AND LOAD or OR LOAD instructions, t

Seite 415 - Controlling Signals

2-152 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Input Instructions2 AND LD/OR LDSample program AND LDi• The AND LO

Seite 416 - Clock Instructions

2 Instructions2-16CP1E CPU Unit Instructions Reference Manual(W483)NOTApplicable Program AreasFlagsThere are no flags affected by NOT(520).FunctionN

Seite 417 - R through R+2: Result Data

2-172 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Input Instructions2 UP/DOWNUP/DOWNApplicable Program AreasFlagsTher

Seite 418

2 Instructions2-18CP1E CPU Unit Instructions Reference Manual(W483)Sequence Output InstructionsOUT/OUT NOTApplicable Program AreasOperands Operand

Seite 419

2-192 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 OUT/OUT NOTHint• Immediate refreshing (!) can

Seite 420

2 Instructions2-20CP1E CPU Unit Instructions Reference Manual(W483)TRFunctionTR bits are used to temporarily retain the ON/OFF status of execution c

Seite 421

2-212 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 KEEPKEEPApplicable Program AreasOperands Oper

Seite 422

2 Instructions2-22CP1E CPU Unit Instructions Reference Manual(W483)Hint• KEEP(011) has an immediate refreshing variation (!KEEP(011)). When a CPU Un

Seite 423

2-232 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 KEEP• If a holding bit is used for R, the bit

Seite 424

3CP1E CPU Unit Instructions Reference Manual(W483)The CP1E CPU manuals are organized in the sections listed in the following tables. Refer to the appr

Seite 425 - FAL error codes 4101 to 42FF

2 Instructions2-24CP1E CPU Unit Instructions Reference Manual(W483)Sample programCodingNote KEEP(011) is input in different orders on in ladder and

Seite 426

2-252 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 DIFUDIFUApplicable Program AreasOperands Oper

Seite 427

2 Instructions2-26CP1E CPU Unit Instructions Reference Manual(W483)Precautions• The operation of DIFU(013) depends on the execution condition for th

Seite 428

2-272 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 DIFDDIFDApplicable Program AreasOperands Oper

Seite 429

2 Instructions2-28CP1E CPU Unit Instructions Reference Manual(W483)Precautions• The operation of DIFD(014) will not be consistent if the same functi

Seite 430

2-292 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 SET/RSETSET/RSETApplicable Program AreasOperan

Seite 431

2 Instructions2-30CP1E CPU Unit Instructions Reference Manual(W483)Hint• Differences between OUT/OUT NOT and SET/RSETThe operation of SET differs fr

Seite 432

2-312 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 SETA/RSTASETA/RSTAApplicable Program AreasOper

Seite 433

2 Instructions2-32CP1E CPU Unit Instructions Reference Manual(W483)Hint SETA• SETA(530) can be used to turn ON bits in data areas that are normally

Seite 434 - Other Instructions

2-332 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Output Instructions2 SETB/RSTBSETB/RSTBApplicable Program AreasOper

Seite 435

4CP1E CPU Unit Instructions Reference Manual(W483)Section 15 Analog I/O Function This section describes the built-in analog function for NA-type CPU U

Seite 436

2 Instructions2-34CP1E CPU Unit Instructions Reference Manual(W483)Hint• Differences between SET/RSET and SETB(532)/RSTB(533)The instructions operat

Seite 437 - Number of Steps

2-352 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2Sequence Control InstructionsOverview of Interloc

Seite 438 - Times and Number of Steps

2 Instructions2-36CP1E CPU Unit Instructions Reference Manual(W483) Differences between MILH(517) and MILR(518)Differentiated instructions (DIFU, D

Seite 439 - Sequence Output Instructions

2-372 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 Differences between Interlocks and JumpsThe fol

Seite 440 - Sequence Control Instructions

2 Instructions2-38CP1E CPU Unit Instructions Reference Manual(W483)ENDApplicable Program AreasFlagsThere are no flags affected by this instruction.F

Seite 441

2-392 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 NOPNOPApplicable Program AreasFlagsNo flags a

Seite 442

2 Instructions2-40CP1E CPU Unit Instructions Reference Manual(W483)IL/ILCApplicable Program AreasFlagsThere are no flags affected by this instructio

Seite 443

2-412 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 IL/ILCHintPrecautions• The cycle time is not

Seite 444

2 Instructions2-42CP1E CPU Unit Instructions Reference Manual(W483) Operation of Differentiated InstructionsIf there is a differentiated instructio

Seite 445

2-432 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 IL/ILCSample programWhen CIO 0.00 is OFF in t

Seite 446 - Subroutine Instructions

5CP1E CPU Unit Instructions Reference Manual(W483)Manual StructureThe following page structure and icons are used in this manual.Special information i

Seite 447 - I/O Unit Instructions

2 Instructions2-44CP1E CPU Unit Instructions Reference Manual(W483)MILH/MILR/MILCApplicable Program AreasOperandsN: Interlock NumberThe interlock nu

Seite 448

2-452 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 MILH/MILR/MILCFunctionWhen the execution cond

Seite 449

2 Instructions2-46CP1E CPU Unit Instructions Reference Manual(W483)• A1 and A2 are interlocked when theEmergency Stop Button is ON.• A2 is interlock

Seite 450 - 4-1 Monitoring the Cycle Time

2-472 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 MILH/MILR/MILC Differences between MILH(517)

Seite 451 - 4-2 Computing the Cycle Time

2 Instructions2-48CP1E CPU Unit Instructions Reference Manual(W483) Operation of Differentiated Instructions in an MILR(518) InterlockIf there is a

Seite 452 - 4-2-2 Cycle Time Overview

2-492 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 MILH/MILR/MILCHint• The cycle time is not sho

Seite 453 - Additional Information

2 Instructions2-50CP1E CPU Unit Instructions Reference Manual(W483)• If there is an ILC(003) instruction betweenan MILR(518) and MILC(519) pair, the

Seite 454 -  Calculation Example

2-512 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 MILH/MILR/MILC• Program operation can be swit

Seite 455 - Appendices

2 Instructions2-52CP1E CPU Unit Instructions Reference Manual(W483)Sample programWhen W0.00 and W0.01 are both ON, the instructions between MILH(517

Seite 456

2-532 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 JMP/CJP/JMEJMP/CJP/JMEApplicable Program Area

Seite 457

6CP1E CPU Unit Instructions Reference Manual(W483)Terminology and NotationTerm DescriptionE-type CPU Unit A basic model of CPU Unit that support basic

Seite 458

2 Instructions2-54CP1E CPU Unit Instructions Reference Manual(W483)FunctionHint• Because all of instructions between JMP(004)/CJP(510) and JME(005)

Seite 459

2-552 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 JMP/CJP/JMESample program• When there are two

Seite 460

2 Instructions2-56CP1E CPU Unit Instructions Reference Manual(W483)FOR/NEXTApplicable Program AreasOperandsN: Number of loopsThe number of loops mus

Seite 461

2-572 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 FOR/NEXTHintThere are two ways to repeat a pr

Seite 462

2 Instructions2-58CP1E CPU Unit Instructions Reference Manual(W483)• A jump instruction such as JMP(004) may be executed within a FOR-NEXT loop, but

Seite 463

2-592 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Sequence Control Instructions2 BREAKBREAKApplicable Program AreasFlagsFuncti

Seite 464 - Four rightmost bits

2 Instructions2-60CP1E CPU Unit Instructions Reference Manual(W483)Timer and Counter InstructionsRefresh Methods for Timer/Counter PV OverviewThere

Seite 465 - Revision History

2-612 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2 Operating ModeItemTIM/TIMX(550)TIMH(015)/TIMHX

Seite 466 - Revision-2

2 Instructions2-62CP1E CPU Unit Instructions Reference Manual(W483) Example Timer and Counter ApplicationsExample 1: Long-term TimersThe following

Seite 467 - Regional Headquarters

2-632 InstructionsCP1E CPU Unit Instructions Reference Manual(W483) Timer and Counter Instructions2Example 2: Two-stage CounterWhen an SV higher th

Kommentare zu diesen Handbüchern

Keine Kommentare