Omron CP1E-N@@D@-@ manuals
Computer Equipment > Computer Hardware
When we buy new device such as Omron CP1E-N@@D@-@ we often through away most of the documentation but the warranty.
Very often issues with Omron CP1E-N@@D@-@ begin only after the warranty period ends and you may want to find how to repair it or just do some service work.
Even oftener it is hard to remember what does each function in Computer Hardware Omron CP1E-N@@D@-@ is responsible for and what options to choose for expected result.
Fortunately you can find all manuals for Computer Hardware on our side using links below.
Omron CP1E-N@@D@-@ Manual
467 pages 2.62 Mb
4 IntroductionCP-series CP1E CPU Units Intended Audience Applicable Products 5 CP1E CPU Unit Manuals8 Manual Structure10 Sections in this Manual11 CONTENTS18 Safety PrecautionsDefinition of Precautionary Information Symbols WARNING Caution 21 Precautions for Safe UseHandling External Circuits 23 Related Manuals The following manuals are related to the CP1E. Use them together with this manual. 1-2 26 1-1 Summary of Instructions37 Instructions41 Sequence Input Instructions54 Sequence Output InstructionsOUT/OUT NOT 56 TRUsing TR0 to TR152-21 Sequence Output Instructions KEEP 57 KEEPNo flags are affected by KEEP(011).Instruction Mnemonic Variations Function KEEP KEEP !KEEP 011 Operates like a latching relay. 59 NEVER61 DIFU63 DIFD65 SET/RSETNo flags are affected by SET and RSET. SET RSET2-31 Sequence Output Instructions SETA/RSTA 67 SETA/RSTAInstruction Mnemonic Variations Function 2-33 Sequence Output Instructions SETB/RSTB 69 SETB/RSTBInstruction Mnemonic Variations Function SETB 70 RSTB71 Sequence Control Instructions96 Timer and Counter InstructionsRefresh Methods for Timer/Counter PV 102 TIM/TIMXThe timer number must be between 0000 and 0255 (decimal). S: Set Value (100-ms Units)TIM (BCD): #0000 to #9999. TIMX (Binary): &0 to &65535 (decimal) or #0000 to #FFFF (hex).Instruction Mnemonic Variations Function 2-69 Timer and Counter InstructionsN: Timer number SS: Set value N: Timer number SS: Set value TIMH/TIMHX 105 TIMH/TIMHXThe timer number must be between 0000 and 0255 (decimal). TIMH (BCD): #0000 to #9999 TIMHX (Binary): &0 to &65535 (decimal) or #0000 to #FFFF (hex)Instruction Mnemonic Variations Function TIMH(015) TIMHX(551) 108 TMHH/TMHHX110 TTIM/TTIMXThe timer number must be between 0000 to 0255 (decimal). TTIM (BCD): #0000 to #9999 TTIMX (Binary): &0 to &65535 (decimal) or #0000 to #FFFF (hex)Instruction Mnemonic Variations Function 2-77 Timer and Counter Instructions TIML/TIMLX 113 TIML/TIMLXInstruction Mnemonic Variations Function D1: Completion Flag D2: PV Word S: SV WordNote S, S+1, D2 and D2+1 must be in the same 115 2-79 Timer and Counter Instructions TIML/TIMLX 2-80 116 CNT/CNTXN: Counter NumberThe counter number must be between 0000 and 0255 (decimal). CNT (BCD): #0000 to #9999 CNTX (Binary): &0 to &65535 (decimal) or #0000 to #FFFF (hex)Instruction Mnemonic Variations Function COUNTER CNT/CNTX --- 546 CNT/CNTX(546) operates a decrementing counter. 2-83 Timer and Counter Instructions CNTR/CNTRX 119 CNTR/CNTRXN: Counter NumberThe counter number must be between 0000 and 0255(decimal). CNTR (BCD):#0000 to #9999 CNTRX (Binary): &0 to &65535 (decimal) or #0000 to #FFFF (hex)Instruction Mnemonic Variations Function REVERSIBLE COUNTER CNTR --- 012 --- CNTRX --- 548 121 2-85 Timer and Counter Instructions CNTR/CNTRX 2-86 122 CNR/CNRXN1: First Number in RangeN1 must be a timer number between T000 and T255 or a counter number between C000 and C255. N2: Last Number in RangeN2 must be a timer number between T000 and T255 or a counter number between C000 and C255. Instruction Mnemonic Variations Function 123 2-87The timer/counter that is reset is as follows. 2-88 124 Comparison InstructionsMnemonic =, <>, <, <=, >, >=Instruction Mnemonic Variations Function Input Comparison Instructions =, <>, <, <=, >, >= --- 300 to 328 2-89 Comparison Instructions =, <>, <, <=, >, >= 125 FunctionOptionsFunction Mnemonic Name Code 2-91 127 =DT, <>DT, <DT, <=DT, >DT, >=DT131 CMP/CMPL134 CPS/CPSLSIGNED BINARY COMPARE CPS !CPS 114 Instruction Mnemonic Variations Function CPS(114) CPSL(115) 2-99 Comparison Instructions CPS/CPSL 135 The following table shows the status of the Arithmetic Flags after execution of CPS(114).* A status of --- indicates that the Flag may be ON or OFF. The following table shows the status of the Arithmetic Flags after execution of CPSL(115)* A status of --- indicates that the Flag may be ON or OFF. CPS CPSLS1 S2 Signed binary S1S1+1 S2S2+1 Signed binary 2-101 Comparison Instructions TABLE COMPARE TCMP @TCMP 085 TCMP 137 TCMPInstruction Mnemonic Variations Function T: First word of table R: Result word 138 Function2-103 Comparison Instructions BLOCK COMPARE BCMP @BCMP 068 BCMP 139 BCMPInstruction Mnemonic Variations Function B: First word of block R: Result word 141 ZCP/ZCPL144 Data Movement InstructionsMOV/MOVL/MVNInstruction Mnemonic Variations Function 145 MOVMOVL MVN146 2-110 2-111 Data Movement Instructions MOVB 147 MOVBInstruction Mnemonic Variations Function MOVE BIT MOVB @MOVB 082 Transfers the specified bit. 2-113 Data Movement Instructions MOVD 149 MOVDS: Source Word D: Destination WordInstruction Mnemonic Variations Function 2-114 The following diagram shows examples of data transfers for various values of C. 150 Example of transferring multiple digits2-115 Data Movement Instructions XFRB 151 XFRBC: Control Word D: First destination WordNote The source words and the destination words must be in the same data area respectively.Instruction Mnemonic Variations Function MULTIPLE BIT TRANSFER XFRB @XFRB 062 Transfers the specified number of consecutive bits. 2-117 Data Movement Instructions XFER 153 XFERN: Number of WordsInstruction Mnemonic Variations Function BLOCK TRANSFER XFER @XFER 070 Transfers the specified number of consecutive 2-119 Data Movement Instructions BSET 155 BSETSt: Starting WordSpecifies the first word in the destination range. E: End WordSpecifies the last word in the destination range.Note St and E must be in the same data area.Instruction Mnemonic Variations Function BLOCK SET BSET @BSET 071 Copies the same word to a range of consecutive 2-121 157 XCHGXCHG(073) exchanges the contents of E1 and E2. 2-123 Data Movement Instructions SINGLE WORD DISTRIBUTE DIST @DIST 080 DIST 159 DISTBs: Destination Base Address Of: OffsetThe offset can be any value from 0000 to FFFF (0 to 65,535 decimal).Note Bs and Bs+Of must be in the same data area.Instruction Mnemonic Variations Function 2-125 Data Movement Instructions DATA COLLECT COLL @COLL 081 COLL 161 COLLBs: Source Base Address Of: OffsetThe offset can be any value from 0000 to FFFF (0 to 65,535 decimal).Note Bs and Bs+Of must be in the same data area.Instruction Mnemonic Variations Function 2-127 Data Shift Instructions SFT 163 Data Shift InstructionsSFTInstruction Mnemonic Variations Function SHIFT REGISTER SFT --- 010 Operates a shift register. SFT(010) St E 164 Shift Register Exceeding 16 Bits2-129 Data Shift Instructions SFTR 165 SFTRNote St and E must be in the same data area.Instruction Mnemonic Variations Function REVERSIBLE SHIFT REGIS- TER SFTR @SFTR 084 Creates a shift register that shifts data to either the right or the left. 166 Controlling Data2-131 Data Shift Instructions WSFT 167 WSFTInstruction Mnemonic Variations Function WORD SHIFT WSFT @WSFT 016 Shifts data between St and E in word units. 2-133 Data Shift Instructions ASL 169 ASLInstruction Mnemonic Variations Function ARITHMETIC SHIFT LEFT ASL @ASL 025 Shifts the contents of Wd one bit to the left. 170 ASR2-135 Data Shift Instructions ROL 171 ROLInstruction Mnemonic Variations Function ROTATE LEFT ROL @ROL 027 Shifts all Wd bits one bit to the left including the Carry Flag (CY). ROL(027) Wd 2-137 Data Shift Instructions ROR 173 RORInstruction Mnemonic Variations Function ROTATE RIGHT ROR @ROR 028 Shifts all Wd bits one bit to the right including the Carry Flag (CY). ROR(028) 01514 1 175 SLD/SRDSLD SRD 176 SLDSRD2-141 Data Shift Instructions NASL/NSLL 177 NASL/NSLLInstruction Mnemonic Variations Function NASL NSLL 178 NASLNSLL179 2-143 Data Shift Instructions NASL/NSLL 2-144 180 NASR/NSRLD: Shift word CC: Control wordInstruction Mnemonic Variations Function the specified number of bits. NASR NSRL 181 NASRNSRL 183 Increment/Decrement Instructions194 Symbol Math Instructions+/+L2-159 Symbol Math Instructions +/+L 195 ++(400) adds the binary values in Au and Ad and outputs the result to R. +L+L(401) adds the binary values in Au and Au+1 and Ad and Ad+1 and outputs the result to R. 2-160 196 +C/+CLInstruction Mnemonic Variations Function SIGNED BINARY ADD WITH CARRY +C @+C 402 Adds 4-digit (single-word) hexadecimal data DOUBLE SIGNED BINARY ADD WITH CARRY +CL @+CL 403 Adds 8-digit (double-word) hexadecimal data +C(402) Au Ad Au: Augend word Ad: Addend word +CL(403) Au Ad Au: 1st augend word Ad: 1st addend word R: 1st result word 2-161 Symbol Math Instructions +C/+CL 197 +C+C(402) adds the binary values in Au, Ad, and CY and outputs the result to R. +CL+CL(403) adds the binary values in Au and Au+1, Ad and Ad+1, and CY and outputs the result to R. To clear the Carry Flag (CY), execute the Clear Carry (CLC(041)) instruction. 2-162 198 +B/+BLInstruction Mnemonic Variations Function BCD ADD WITHOUT CARRY +B @+B 404 Adds 4-digit (single-word) BCD data and/or con- DOUBLE BCD ADD WITHOUT CARRY +BL @+BL 405 Adds 8-digit (double-word) BCD data and/or con- 2-163 Symbol Math Instructions +B/+BL 199 +B+B(404) adds the BCD values in Au and Ad and outputs the result to R. +BL+BL(405) adds the BCD values in Au and Au+1 and Ad and Ad+1 and outputs the result to R, R+1. 2-164 200 +BC/+BCLInstruction Mnemonic Variations Function stants with the Carry Flag (CY). 2-165 Symbol Math Instructions +BC/+BCL 201 +BC+BC(406) adds BCD values in Au, Ad, and CY and outputs the result to R. +BCL+BCL(407) adds the BCD values in Au and Au+1, Ad and Ad+1, and CY and outputs the result to R, R+1. To clear the Carry Flay (CY), execute the Clear Carry (CLC(041)) instruction. 2-166 202 /L-L(410) Instruction Mnemonic Variations Function SIGNED BINARY SUBTRACT WITHOUT CARRY @ 410 Subtracts 4-digit (single-word) hexadecimal data and/or constants. DOUBLE SIGNED BINARY SUBTRACT WITHOUT CARRY L @L 411 Subtracts 8-digit (double-word) hexadecimal data and/or constants. 2-167 Symbol Math Instructions /L 203 L204 Example 1 Example 2 205 2-169 Symbol Math Instructions /L Subtraction at (1) Subtraction at (2) Final Subtraction Result 2-170 206 C/CLInstruction Mnemonic Variations Function SIGNED BINARY SUBTRACT WITH CARRY C @C 412 Subtracts 4-digit (single-word) hexadecimal data C(412) CL(413) 207 CCL 208 B/BLInstruction Mnemonic Variations Function BCD SUBTRACT WITHOUT CARRY B @B 414 Subtracts 4-digit (single-word) BCD data and/or DOUBLE BCD SUBTRACT WITHOUT CARRY BL @BL 415 Subtracts 8-digit (double-word) BCD data and/or 209 BBL210 2-174 Subtraction at (1) Subtraction at (2) Final Subtraction Result 2-175 Symbol Math Instructions BC/BCL 211 BC/BCLInstruction Mnemonic Variations Function BCD SUBTRACT WITH CARRY BC @BC 416 Subtracts 4-digit (single-word) BCD data and/or constants with the Carry Flag (CY). 212 BCBCL2-177 Symbol Math Instructions */*L 213 */*LInstruction Mnemonic Variations Function SIGNED BINARY MULTIPLY * @* 420 Multiplies 4-digit signed hexadecimal data and/or DOUBLE SIGNED BINARY MULTIPLY *L @*L 421 Multiplies 8-digit signed hexadecimal data and/or 2-178 214 **(420) multiplies the signed binary values in Md and Mr and outputs the result to R, R+1. *L2-179 Symbol Math Instructions *B/*BL 215 *B/*BLInstruction Mnemonic Variations Function BCD MULTIPLY *B @*B 424 Multiplies 4-digit (single-word) BCD data and/or DOUBLE BCD MULTIPLY *BL @*BL 425 Multiplies 8-digit (double-word) BCD data and/or 2-180 216 *B*B(424) multiplies the BCD content of Md and Mr and outputs the result to R, R+1. *BL 217 /, /L2-182 218 /Note Division of hexadecimal #8000 by #FFFF is undefined. /LNote Division of hexadecimal #80000000 by #FFFFFFFF is undefined. 2-183 Symbol Math Instructions /B, /BL 219 /B, /BLInstruction Mnemonic Variations Function BCD DIVIDE /B @/B 434 Divides 4-digit (single-word) BCD data and/or con- DOUBLE BCD DIVIDE /BL @/BL 435 Divides 8-digit (double-word) BCD data and/or 2-184 220 /B/BL2-185 Conversion Instructions BIN/BINL 221 Conversion InstructionsBIN/BINLInstruction Mnemonic Variations Function (32-bit binary) data. 2-186 222 BINBINL2-187 Conversion Instructions BCD/BCDL 223 BCD/BCDLS: Source Word (BCD)/First Source Word (BCDL)Instruction Mnemonic Variations Function to 8-digit BCD data.S: Source word D: Result word BCD(024) S: First source word D: First result word BCDL(059) 2-188 224 BCDBCDL2-189 Conversion Instructions Note The result for 8000 hex will be 8000 hex. 225 NEGInstruction Mnemonic Variations Function 2S COMPLEMENT NEG @NEG 160 Calculates the 2s complement of a word of hexa- decimal data. NEGS: Source word NEG(160) 2s complement (Complement + 1) 226 2-190 2-191 Conversion Instructions Note The result words must be in the same data area.DATA DECODER MLPX @MLPX 076 MLPX 227 MLPX232 DMPXDATA ENCODER DMPX @DMPX 077 16-to-4 bit conversionInstruction Mnemonic Variations Function R: Result WordNote The source words must be in the same data area. 2-197 233 256-to-8 bit conversion16-to-4 bit ConversionS+15 to S: 1st digit of digits to be encoded S+31 to S+16: 2nd digit of digits to be encoded R: Result WordNote The source words must be in the sameR C Leftmost bit n=2 (Start with digit 2.) R=1 (Convert 2 words.) 234 256-to-8 bit Conversion16-to-4 bit conversion 256-to-8 bit conversion2-199 Example of 16-to-4 bit decoding 235 16-to-4 bit ConversionExample of multi-digit decoding 236 256-to-8 bit Conversion2-201 Conversion Instructions ASC 237 ASCDI: Digit DesignatorInstruction Mnemonic Variations Function S: Source Word D: First Destination WordNote The destination words must be in the same 2-203 Conversion Instructions ASC 239 Example of ASCII code conversion* Parity bit - changes according to the parity specification. 240 ParityExamples of Di2-205 Conversion Instructions ASCII TO HEX HEX @HEX 162 HEX 241 HEX246 Logic InstructionsANDW/ANDLInstruction Mnemonic Variations Function 2-211 (I1,I1+1) 247 ANDWANDW(034) takes the logical AND of data spec- ified in I1 and I2 and outputs the result to R. ANDLI1, I2 R (I2,I2+1) (R, R+1)I1, I1+1 I2, I2+1 R, R+1 100 010 2-212 248 ORW/ORWLInstruction Mnemonic Variations Function 2-213 Logic Instructions ORW/ORWL 249 ORWORW(035) takes the logical OR of data speci- fied in I1 and I2 and outputs the result to R. ORWLI1, I2 R (I1,I1+1) + (I2, I2+1) (R, R+1)I1, I1+1 I2, I2+1 R, R+1 101 011 2-214 250 XORW/XORLInstruction Mnemonic Variations Function Takes the logical exclusive OR of corresponding bits in double words of word data and/or con- 251 XORWXORL 252 COM/COMLCOMCOM(029) reverses the status of every specified bit in Wd. WdWd: 1 0 and 0 1 COMLCOML(614) reverses the status of every specified bit in Wd and Wd+1. (Wd+1, Wd)(Wd+1, Wd)Instruction Mnemonic Variations Function COM(029) Wd Wd: Word 253 2-217 Logic Instructions COM/COML When CIO 0.00 is ON in the following example, the status of each bit D100 will be reversed. 2-218 254 Special Math InstructionsAPRSine Function Cosine Function 255 Linear Extrapolation Function257 Operation of the Linear Extrapolation FunctionYn+ Y Up to 256 endpoints can be stored in the line-segment data table beginning at C+1. Y X Y (Binary data)Y Xmax X (Binary data) Y Input data 2-222 258 16-bit Unsigned BCD Data32-bit Signed Binary Data 16-bit Unsigned Binary Data 16-bit Signed Binary Data 2-223 Special Math Instructions APR 259 Sine Function (C: #0000)The following example shows APR(069) used to calculate the sine of 30. (SIN(30) = 0.5000) Cosine Function (C: #0001)The following example shows APR(069) used to calculate the cosine of 30. (COS(30) = 0.8660) Floating-point Data Linear Extrapolation (C: Word Address)2-224 Values are all hexadecimal (Hex). 260 Y0F00 The linear-extrapolation calculation is shown below. In this case, the source word, CIO 0010, contains 0014, and f(0014) = 0726 is output to R, CIO 0011. 0402 0F00 001A 0005 --------------------------------- 0014 0015()+= 2-225 Special Math Instructions 261 XY R R+1 S S+1 262 XY X Y R R+1 S S+12-227 Special Math Instructions BCNT 263 BCNTN: Number of words The number of words must be 0001 to FFFF (1 to 65,535 words).Instruction Mnemonic Variations Function BIT COUNTER BCNT @BCNT 067 Counts the total number of ON bits in the specified word(s). 264 2-228 W1: Temporary storage W2: Temporary storage 265 Floating-point Math InstructionsData Format Number of Digits Floating-point Data Special Numbers 266 Writing Floating-point DataNumbers Expressed as Floating-point Values 267 Floating-point Arithmetic Results268 Floating-point Calculation Results269 FIX/FIXL271 FLT/FLTL273 +F, F, *F, /F277 =F, <>F, <F, <=F, >F, >=F278 Options279 2-243SINGLE FLOATING LESS THAN Comparison (<F) =F, <>F, <F, <=F, >F, >=F 334 LD>=F LOAD FLOATING GREATER THAN OR EQUAL True if S1+1, S1 S 2 +1, S AND>=F AND FLOATING GREATER THAN OR EQUAL OR>=F OR FLOATING GREATER THAN OR EQUAL Code Mnemonic Name Function 2-244 280 FSTR285 FVAL289 Table Data Processing InstructionsSWAPN: Number of words R1: First word in rangeNote R1 and R1+(N-1) must be in the same data area.Instruction Mnemonic Variations Function 290 2-254 R1 N This instruction can be used to reverse the order of ASCII-code characters in each word. Byte position is swapped. to 2-255 Table Data Processing FCS 291 FCSInstruction Mnemonic Variations Function C: First control word R1: First word in range D: First destination wordNote C and C+1, all of the words in the calculation range must be in the same data area.C: First control word R1: First word in range D: First destination word FCS(180) C R1 2-257 Data Control Instructions PIDAT 293 Data Control InstructionsPIDAT 305 TPOS: Input Word C: First Parameter WordNote For details, see the description of each parameter.Instruction Mnemonic Variations Function TIME-PROPORTIONAL OUTPUT TPO --- 685 306 R: Pulse Output BitCombining TPO(685) with a PID Control Instruction2-271 Transistor Output Unit + AC COM External Wiring ExampleConnect the Transistor Output Unit to a solid state relay (SSR) as shown in the following diagram. 307 Parameter SettingsExecution 312 SCL316 SCL2320 SCL3SCALING 3 SCL3 @SCL3 487 Instruction Mnemonic Variations Function Note P1 to P1+4 must be in the same area. 322 2-286 2-287 Data Control Instructions AVG 323 AVGN: Number of CyclesThe number of cycles must be between 0001 and 0040 hexadecimal (0 to 64 cycles). R: Result First Word and R+1: First Work Area W orNote R to R+N+1 must be in the same area.Instruction Mnemonic Variations Function 325 2-289 Data Control Instructions AVG 2-290 326 Subroutines InstructionsN: Subroutine number SBSN: Subroutine numberSpecifies the subroutine number between 0 and 127 decimal. Combined-use instructions 331 SBN/RETRET N: Subroutine numberSpecifies the subroutine number between 0 and 127 decimal. Combined-use instructions 334 Interrupt Control InstructionsOutline of Interrupt Control InstructionsSET INTERRUPT MASK: MSKS(690) CLEAR INTERRUPT: CLI(691) DISABLE INTERRUPTS: DI(693) ENABLE INTERRUPTS: EI(694) Precautions in Using Interrupt TasksPrecautions for All Interrupts Precautions for I/O Interrupts Precautions for Scheduled Interrupts2-299 Interrupt Control Instructions 335 Related Memory Area Words336 MSKS(2) Resetting and Starting Scheduled Interrupts (1) I/O Interrupt TaskInstruction Mnemonic Variations Function N: Interrupt identifier MSKS(690) 338 Examples for Input InterruptsExample for Scheduled Interrupts2-303 Interrupt Control Instructions CLEAR INTERRUPT CLI @CLI 691 (2) Setting the Time to the First Scheduled Interrupts 339 CLI(1) Clearing/Retaining an I/O Interrupt Tasks Recorded Interrupt InputsInstruction Mnemonic Variations Function N: Interrupt number CLI(691) 341 Example for Input InterruptsExample for First Scheduled Interrupts Example for High-speed Counter Interrupts 342 DI343 EI344 High-speed Counter/Pulse Output InstructionsNV: First word with new PV INIINI(880) C NV P: Port specifier C: Control data 2-309 High-speed Counter/Pulse INI 345 NV: First Word with New PVStarting Comparison (C = 0000 hex) Stopping Comparison (C = 0001 hex)NV NV+1 0 15 For Pulse Output or High-speed Counter Input: 0000 0000 to FFFF FFFF hex Lower word of new PV Upper word of new PV 2-310 346 Changing a PV (C = 0002 hex)Stopping Pulse Output (P = 0000, 0001 or 1000 hex and C = 0003 hex)2-311 High-speed Counter/PulseD D: First destination word PRV 347 PRV351 CTBL355 SPEDInstruction Mnemonic Variations Function M: Output mode F: First pulse frequency wordSPED(855) M F P: Port specifier M: Output mode 356 Continuous Mode Speed Control357 2-321 High-speed Counter/Pulse SPED 358 2-322 2-323 High-speed Counter/Pulse PULS 359 PULST: Pulse type N and N+1: Number of pulsesInstruction Mnemonic Variations Function PPort TPulse typeN: Number of pulse s PULS(886) T N P: Port specifier T: Pulse type15 Lower word with number of pulses Upper word with number of pulses 360 2-324 2-325 361 PLS2367 ACCM: Output Mode S: First Word of Settings TableNote Use the same pulse output method when using both pulse outputs 0 and 1.Instruction Mnemonic Variations Function P: Port specifier M: Output mode S: First word of settings table ACC(888) M S 2-333 369 Continuous Mode Speed ControlPulse output will continue until it is stopped from the program.Note Pulse output will stop immediately if the CPU Unit is changed to PROGRAM mode. 370 2-334 371 2-3352-336 372 ORG375 PWMF: Frequency D: Duty FactorP: Port specifier F: Frequency D: Duty factor PWM F 2-341 377 Step InstructionsIn CP1E series PLCs, STEP(008)/SNXT(009) can be used together to create step programs.Note Work bits are used as the control bits for A, B, C and D. 378 SNXT/STEPSNXT(009) Starting Step Execution 379 Proceeding to the Next StepEnding the Step Programming Area STEP(008) Starting a Step Interlock Status (IL) Ending the Step Program Area 380 Related Bits381 2-345 Step Instructions SNXT/STEP 382 2-346 (1) Sequential Control 2-347 Step Instructions Step (C) ladder program (2) Branching Control 383 Additional Information:Step (A) ladder program Step (B) ladder program Step W0.00 (A) Step W0.01 (B) Step W0.02 (C) 384 2-348 (3) Parallel ControlStep (E) ladder program Step (A) ladder program Step W0.00 (A) Step W0.01 (B) Step W0.02 (C) Step W0.03 (D) Step W0.04 (E) 2-349 385 Application Examples(1) Sequential Execution 386 2-350 (2) Branching Execution 387 2-351(3) Parallel Execution 2-352 388 Basic I/O Unit InstructionsIORFSt: Starting WordCIO 001 to CIO 099, CIO 101 to CIO 199 (CP1W Expansion I/O Units I/O Area) E: End WordCIO 001 to CIO 099, CIO 101 to CIO 199 (CP1W Expansion I/O Units I/O Area) Instruction Mnemonic Variations Function I/O REFRESH IORF @IORF 097 Refreshes the specified I/O words.St: Starting word E: End word IORF(097) St E 389 Units Refreshed by IORF(097)Refreshing Words in the I/O Bit Area 390 SDEC7-SEGMENT DECODER SDEC @SDEC 078 Di: Digit designatorInstruction Mnemonic Variations Function S: Source word Di: Digit designator D: First destination word SDEC(078) S Di D 2-356 392 7-segment Data2-357 Basic I/O Unit Instructions DIGITAL SWITCH INPUT DSW --- 210 DSW 393 DSWI: Input Word (Data Line D0 to D3 Inputs) O: Output Word (CS/RD Control Signal Outputs)Instruction Mnemonic Variations Function 394 D: First Result WordC1: Number of Digits C2: System Word395 2-359 Basic I/O Unit Instructions DSW 2-361 Basic I/O Unit Instructions MATRIX INPUT MTR --- 213 MTR 397 MTRI: Input Word O: Output Word (Selection Signal Outputs)Instruction Mnemonic Variations Function 2-362 398 D: First Register WordSpecifies the leading word address of the 4 words that contain the data from the 8 8 matrix. C: System WordSpecifies a work word used by the instruction. This word cannot be used in any other application. 399 2-363 Basic I/O Unit Instructions MTR 2-365 Basic I/O Unit Instructions 7SEG 401 7SEGS: Source WordSpecify the first source word containing the data that will be converted to 7-segment display data. O: Output Word (Data and Latch Outputs)Instruction Mnemonic Variations Function 7-SEGMENT DISPLAY OUTPUT 7SEG --- 214 402 D: System Word403 2-367 Basic I/O Unit Instructions 7SEG Note 0 to 3: Data output for word S 4 to 7: Data output for word S+1 2-369 405 Serial Communication Instructions416 Clock InstructionsCADD/CSUB 421 DATES through S+3: New Clock SettingNote S through S+3 must be in the same data area.Instruction Mnemonic Variations Function 2-387 Failure Diagnosis Instructions FAL 423 Failure Diagnosis Instructions434 Other Instructions
Also you can find more Omron manuals or manuals for other Computer Equipment.