SD20-G Series
235
address of R6/R5.
QMULPP D14 P1 D10 P3
D2 R5
Multiplying Q10 scaling value saved in P2/P1 and Q2 scaling value
saved in P4/P3, get Q14 scaling value, and save the result into the
address of R6/R5.
c)
Integer Convert Scaling Value
Instruction Format: [ITOQ□ D X Y]
Instruction Description:
ITOQ is instruction code, □ is instruction execution register area, D is result scaling value, X is the
register address which needs to covert; Y is result storing register address;
User can operate for R area, P area and immediate operand; See details as table below:
Syntax Expression
Annotations
ITOQR D14 R1 R3 Q14 scaling for the value of R1/R2 register, and save result into R4/R3 register;
ITOQP D14 P1 R1 Q14 scaling for the value of P1/P2 register, and save result into R2/R1 register;
d)
Scaling Value Convert Integer
Instruction Format: [QTOI□ D X Y]
Instruction Description:
QTOIis instruction code, □ is instruction execution register area, D is result
scaling value, X is the register address which needs to covert; Y is result storing register address;
User can operate for R area, P area and immediate operand; See details as table below:
Syntax Expression
Annotations
QTOIR D14 R1 R3
Q14 scaling for the value of R1/R2 register, and save the result into R4/R3 register;
QTOIP D14 P1 R1
Q14 scaling for the value of P1/P2 register, and save the result into R2/R1 register;
6.8.3.3 Logic Instruction
SD20built-in PLC logic instruction includes “and”instruction (AND), “or”instruction (OR), “exclusive
OR”instruction (XOR), unsigned shift instruction (SH), signed shift instruction (SA), rotating shift
instruction (RO) etc.See details as below:
(1)
Logical Decision Instruction
Logical decisioninstruction can be divided into normally open and normally closed.
Instruction Format: [LD□ X]
Instruction Description:
LD means logic instruction, □ means reversing program or not, X means
register address; Determine the state of X, execute next instruction if TRUE, see details as table 8.1.11;
Table 8.1.11 Logical Decision Instruction Syntax, Results and related Annotations
Syntax
Expression
Running Result
Annotations
Содержание SD20-G Series
Страница 35: ...SD20 G Series 35 M3 structure Fig 3 1 5 Servo drive structure 3...
Страница 36: ...SD20 G Series 36 ML3 structure 118 5 5 7 5 93 297 8 223 118 93 0 5 12 5 7 5 4 M4...
Страница 38: ...SD20 G Series 38 M4 structure Approx mass 10 365 kg Fig 3 1 7 Servo drive structure 5...
Страница 39: ...SD20 G Series 39 M5 structure Approx msaa 11 1Kg Fig 3 1 8 Servo drive structure 6...
Страница 40: ...SD20 G Series 40 M6 structure Approx mass 17 4Kg Fig 3 1 9 Servo drive structure 7...
Страница 182: ...SD20 G Series 182 Fig 6 4 44SD20E Cam internal frameworkdiagram...