beautypg.com

Hint, Sample program, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 55

background image

2-19

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Seq

uen

ce Ou

tp
ut I

n

stru

ctio

ns

2

OU

T/OUT

NO

T

Hint

Immediate refreshing (!) can be specified for OUT and OUT NOT. An immediate refresh instruction

updates the status of the built-in output terminal just after the instruction is executed for the CPU Unit,
at the same time as it writes the status of the execution condition (power flow) to the specified output
bit in I/O memory.

Difference between SET/RSET and OUT

For OUT, the operand bit is turned ON when the input condition turns ON and is turned OFF when
the input condition turns OFF. For SET and RSET, the operand bit turns ON or OFF, respectively,
when the input condition turns ON and the operand bit does not change when the input condition
turns OFF.

Sample program

Instruction

Operand

LD

0.00

OUT

100.00

OUT NOT

100.01

0.00

100.00

100.01

This manual is related to the following products: