EasyManua.ls Logo

Omron SYSMAC CV Series - 5-6 Ladder Diagram Instructions

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
109
SECTION 5
Instruction Set
This section explains each instruction in the CV-series PC instruction sets and provides the ladder diagram symbols, data
areas, and flags used with each. The instructions provided by the CV-series PC are described in following subsections by
instruction group.
Some instructions, such as Timer and Counter instructions, are used to control execution of other instructions. For example, a
timer Completion Flag might be used to turn ON a bit when the time period set for the timer has expired. Although these other
instructions are often used to control output bits through the OUTPUT instruction, they can be used to control execution of
other instructions as well. The OUTPUT instructions used in examples in this manual can therefore generally be replaced by
other instructions to modify the program for specific applications other than controlling output bits directly.
5-1 Notation 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2 Instruction Format 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3 Data Areas, Definers, and Flags 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4 Differentiated and Immediate Refresh Instructions 117. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-5 Coding Right-hand Instructions 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6 Ladder Diagram Instructions 121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6-1 LOAD, LOAD NOT, AND, AND NOT, OR, and OR NOT 121. . . . . . . . . . . . . . . .
5-6-2 CONDITION ON/OFF: UP(018) and DOWN(019) 123. . . . . . . . . . . . . . . . . . . . . .
5-6-3 BIT TEST: TST(350) and TSTN(351) 124. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6-4 NOT: NOT(010) 125. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6-5 AND LOAD and OR LOAD 125. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7 Bit Control Instructions 126. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7-1 OUTPUT and OUTPUT NOT: OUT and OUT NOT 126. . . . . . . . . . . . . . . . . . . . . .
5-7-2 DIFFERENTIATE UP/DOWN: DIFU(013) and DIFD(014) 127. . . . . . . . . . . . . . . .
5-7-3 SET and RESET: SET(016) and RSET(017) 129. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7-4 MULTIPLE BIT SET/RESET: SETA(047)/RSTA(048) 130. . . . . . . . . . . . . . . . . . .
5-7-5 KEEP: KEEP(011) 132. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-8 INTERLOCK and INTERLOCK CLEAR: IL(002) and ILC(003) 134. . . . . . . . . . . . . . . . . .
5-9 JUMP and JUMP END: JMP(004) and JME(005) 136. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-10 CONDITIONAL JUMP: CJP(221)/CJPN(222) 138. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-11 END: END(001) 139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-12 NO OPERATION: NOP(000) 139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13 Timer and Counter Instructions 139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-1 TIMER: TIM 142. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-2 HIGH-SPEED TIMER: TIMH(015) 146. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-3 ACCUMULATIVE TIMER: TTIM(120) 148. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-4 LONG TIMER: TIML(121) 150. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-5 MULTI-OUTPUT TIMER: MTIM(122) 151. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-6 COUNTER: CNT 153. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-7 REVERSIBLE COUNTER: CNTR(012) 156. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13-8 RESET TIMER/COUNTER: CNR(236) 158. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14 Shift Instructions 159. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14-1 SHIFT REGISTER: SFT(050) 159. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14-2 REVERSIBLE SHIFT REGISTER: SFTR(051) 162. . . . . . . . . . . . . . . . . . . . . . . . .
5-14-3 ASYNCHRONOUS SHIFT REGISTER: ASFT(052) 163. . . . . . . . . . . . . . . . . . . . .
5-14-4 WORD SHIFT: WSFT(053) 165. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14-5 SHIFT N-BIT DATA LEFT: NSFL(054) 166. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14-6 SHIFT N-BIT DATA RIGHT: NSFR(055) 167. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14-7 SHIFT N-BITS LEFT: NASL(056) 168. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14-8 SHIFT N-BITS RIGHT: NASR(057) 169. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14-9 DOUBLE SHIFT N-BITS LEFT: NSLL(058) 170. . . . . . . . . . . . . . . . . . . . . . . . . . .

Table of Contents

Related product manuals