Control Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Control data

The details on the control data used by the PID operation instruction are described.
Sampling time: (s3)
Setting range: 1 to 32767 [ms]
Set a cycle (ms) to perform PID operation.
• Auto tuning (limit cycle method)
Set a cycle so that the following condition is satisfied: Operation cycle of the programmable controller < Sampling time
• Auto tuning (step response method)
Set a cycle to 1000ms or longer.
■Maximum error
The maximum error of the sampling time (T
• When the sampling time (T
The variation in the maximum error may become a problem. Set the constant scan and execute the instruction, or program it
in the timer interrupt routine.
• When the sampling time value is shorter than one operation cycle of the programmable controller
A PID operation error (11A6H) occurs, but PID operation is executed assuming that the sampling time (T
operation cycle. In this case, program the instruction in the timer interrupt routine, clear the value in (s3)+7, and then execute
the instruction.
X0
MOVP
PID
(1) Reset the value in (s3)+7. (The internal processing register is cleared by the pulse conversion command at the first execution of the interrupt routine.)
(2) Execute the PID operation.
9 PID OPERATION INSTRUCTION
1136
9.1 Overview
) is -(1 operation cycle + 1ms) to +(1 operation cycle).
S
) value is small
S
K0
D107
D0
D1
D100
• • • (1)
D150
• • • (2)
) equals to the
S

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents