Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 700

Table of Contents

Advertisement

3. Instructions
R: Pulse Output Bit
Specifies the destination output bit for the pulse output.
Normally, specify an output bit allocated to a Transistor Output Unit and connect a solid state relay to
the Transistor Output Unit.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
C
OK
OK
OK
R
Flags
Name
Error Flag
Function
Receives a duty ratio or manipulated variable input from the word address specified by S, converts the
duty ratio to a time-proportional output (see note) based on the parameters specified in words C to C+3,
and outputs a pulse output to the bit specified by R.
Note A time-proportional output is changed proportionally based on the ON/OFF ratio in input word S. The period
in which the ON and OFF status changes is known as the control period and is set in parameter word C+1.
Example: When the control period is 1 s and the input value is 50%, the bit is ON for 0.5 s and OFF for 0.5 s.
When the control period is 1 s and the input value is 80%, the bit is ON for 0.8 s and OFF for 0.2 s.
Generally, TPO(685) is used together with PID(190) or PIDAT(191) and the PID instruction's
manipulated variable result word (D) is specified as the input word (S) for the TPO(685) instruction.
Also, an output bit allocated to a Transistor Output Unit is generally specified as R and a solid state
relay is connected to the Transistor Output Unit to perform time-proportional control of a heater
(proportional control of the ON/OFF ratio).
Combining TPO(685) with a PID Control Instruction
When combining TPO(685) with a PID control instruction, the manipulated variable input is divided by
the manipulated variable range to calculate the duty ratio, that duty ratio is converted to a time-
proportional output, and pulses are output.
0.00
PID
TPO
664
AR
T
C
DM
EM
OK
OK
OK
OK
OK
---
---
---
---
Label
P_ER
• ON if the input data in S is out of range. (The input data setting range depends on the input type set-
ting.)
• ON if the C data is out of range. (The manipulated variable range will cause an error only when the
input type is set to manipulated variable.)
• ON if the control period in C+1 is out of range.
• ON if the output limit function is enabled but the output lower limit (C+2) or output upper limit (C+3) is
out of range.
• ON if the output limit function is enabled but the output lower limit (C+2) is less than or equal to the
output upper limit (C+3).
• OFF in all other cases.
S
PV input
C
PID calculation
PID parameters
D0
Manipulated
MV
D0
variable
D0
MV
C
Parameters
MV
MV range
R
Pulse output
Duty ratio (0.00% to 100.00%)
Conversion to time-proportional
output
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
---
---
---
Operation
Manipulated variable (MV)
Output range
= MV range
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents