Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 834

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Data Control Instructions
000000
794
PID
S
0010
C
D00200
D
D00000
TPO
S
D00000
C
D05000
R
002001
D00200
D00201
:
D00206
:
:
D05000
Note When using TPO(685) in combination with PID(190) in a cyclic task and also
using an interrupt task, temporarily disable interrupts by executing DI(693)
(DISABLE INTERRUPTS) ahead PID(190) and TPO(685). If interrupts are not
disabled and an interrupt occurs between the PID(190) and TPO(685), the
control period may be shifted.
Cyclic task
Example 2: Using TPO(685) Alone
When CIO 000000 is ON, TPO(685) takes the duty ratio in D00010, converts
the duty ratio to a time-proportional output, and outputs the pulses to
CIO 000100.
In this case, the control period is 1 s and the output limit function is enabled
with a lower limit 20.00% and an upper limit of 80.00%.
When CIO 000000 goes from OFF to ON, PID(190)
reads the parameters, performs the PID calculation
PV input
with the PV input in CIO 0010, and outputs the
PID parameters
manipulated variable (MV) to D00000.
Manipulated variable
TPO(685) calculates the duty ratio by dividing the
MV in D00000 by the MV range (0FFF Hex since
Manipulated variable
the range is set to 12 bits), converts that duty ratio
Parameters
to a time-proportional output, and outputs the pulse
output to bit 01 of CIO 0020.
Pulse output
Set value (SV)
Proportional band (P)
4
Output range: 4 hex
(12 bits: 0000 to 0FFF hex)
1
4
MV range: 4 hex
(12 bits: 0000 to 0FFF hex)
Input type: 1 hex (MV)
DI
PID
S
PV input
C
PID parameters
Manipulated
D
variable
TPO
Manipulated
S
variable
C
Parameters
R
Pulse output
EI
Section 3-18
Reception prohibited
Interrupt task
Reception allowed
Interrupt task

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents