7 - 1
MELSEC-Q/QnA
7. HOW TO READ EXPLANATIONS FOR INSTRUCTIONS
7
7. HOW TO READ EXPLANATIONS FOR INSTRUCTIONS
The explanations for instructions presented in the next section take the following form.
MELSEC-Q/QnA
8. INCOMPLETE DERIVATIVE PID CONTROL INSTRUCTIONS
AND PROGRAM EXAMPLES
QCPU
PLC CPU
Basic
Universal
Process CPU
QnA
Q4AR
*1
*1: First five digits of serial No. are 04122 or later
*2
*2: First five digits of serial No. are 05032 or later
Applicable
CPU
Redundant
CPU
High Performance
8.1.2 PID Operation
Usable Devices
Internal Devices
(System, User)
MELSECNET/10 (H)
J \
Set Data
Bit Word
File Register
Bit Word
Special Function
Module U \G
Index Register
Zn
Constant Other
S
Instruction
mnemonic
Execution
condition
Command
S.PIDCONT
SP.PIDCONT
S
S.PIDCONT
SP.PIDCONT
Command
S
[SET DATA]
Set Data
Description
Data Type
S
First number of devices allocated to I/O device area
16-bit binary
[FUNCTION]
(1) When the S.PIDCONT instruction is executed, the sampling cycle is measured
and PID operation is performed.
(2) With the S.PIDCONT instruction, PID operation is carried out on the basis of the
set value (SV) and process value (PV) in the I/O data area set to the device
number specified by S or later, and the operation result is stored into the
automatically manipulated value (MV) area of the I/O data area.
(3) PID operation is executed in response to the execution of the S.PIDCONT
instruction appearing first after the set time for sampling cycle has elapsed (see
Section 5.1.2).
(4) During PID control, turn ON the control command to execute the S.PIDCONT
instruction in every scan.
If not, PID operation in a normal sampling cycle will not available.
It is not possible to execute the S.PIDCONT instruction more than once in one
scan.
If it is executed more than once in one scan, PID operation cannot be performed
in a normal sampling cycle.
(5) The S.PIDCONT instruction is not available for use in an interrupt program, fixed
scan execution type program or low speed execution type program.
If the S.PIDCONT instruction has been used in an interrupt program, fixed scan
execution type program or low speed execution type program, PID operation
cannot be performed in a normal sampling cycle.
8 - 3
(1) Section number and general description of the instruction
(2) "O" is appended to those devices that can be used with the instruction.
The classes of use into which the devices that can be used are divided are as follows.
Internal Device
(system, user)
MELSECNET/10 (H)
J \ *3
Device
Classification
Bit Word
File
Register
Bit Word
Special Function
Module U \G
Index
Register
Zn
Constant*1 Other*1
Usable
devices*
4
X, Y, M,
L, SM, F,
B, SB,
FX*
2
, FY*
2
T*
5
, ST*
5
,
C*
5
,D, W,
SD,SW,
FD
R, ZR
J \X
J \Y
J \B
J \SB
J \W
J \SW
U \G Z
Decimal number
Hexadecimal number
Real number constant
Character string constant
P, I, J,
U,DX, DY,
N, BL, TR,
BLY\S
*1 : The devices that can be set are indicated in the "Constant" and "Other" columns.
*2 : FX and FY can only be used with bit data, and FD can only be used with word data.
*3 : Can be used with MELSECNET/G,MELSECNET/H and MELSECNET/10.
*4 : For the explanation of the corresponding devices, refer to the QCPU User's Manual
(Function Explanation, Programming Fundamentals) or the QnACPU Programming
Manual (Basics).
*5 : T, ST and C can be used as the word devices only.
(1)
(2)
(3)
(4)
(5)
(6)
Содержание Q Mode
Страница 1: ......
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 18: ...1 4 MELSEC Q QnA 1 GENERAL DESCRIPTION MEMO ...
Страница 48: ...4 14 MELSEC Q QnA 4 FUNCTIONS OF PID CONTROL MEMO ...
Страница 51: ...5 3 MELSEC Q QnA 5 PID CONTROL PROCEDURE MEMO ...
Страница 65: ...5 17 MELSEC Q QnA 5 PID CONTROL PROCEDURE MEMO ...
Страница 72: ...5 24 MELSEC Q QnA 5 PID CONTROL PROCEDURE MEMO ...
Страница 74: ...6 2 MELSEC Q QnA 6 PID CONTROL INSTRUCTIONS MEMO ...
Страница 120: ...9 28 MELSEC Q QnA 9 COMPLETE DERIVATIVE PID CONTROL INSTRUCTIONS AND PROGRAM EXAMPLES MEMO ...
Страница 125: ......
Страница 126: ......