Mitsubishi Electric Melsec Q Series Programming Manual page 495

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

APPENDICES
Classifi-
Symbol
cations
ABS
RND
FIX
FUP
Standard
function
BIN
BCD
SHORT
USHORT
Type
conversion
LONG
ULONG
Processing time of operation instructions (Continued)
Instruction
#0F=ABS(#4F)
Absolute value
D800F=ABS(D804F)
U3E1\G10000F=ABS(U3E1\G10004F)
#0F=RND(#4F)
Round-off
D800F=RND(D804F)
U3E1\G10000F=RND(U3E1\G10004F)
#0F=FIX(#4F)
Round-down
D800F=FIX(D804F)
U3E1\G10000F=FIX(U3E1\G10004F)
#0F=FUP(#4F)
Round-up
D800F=FUP(D804F)
U3E1\G10000F=FUP(U3E1\G10004F)
#0=BIN(#1)
D800=BIN(D801)
U3E1\G10000=BIN(U3E1\G10001)
BCD→BIN
conversion
#0L=BIN(#2L)
D800L=BIN(D802L)
U3E1\G10000L=BIN(U3E1\G10002L)
#0=BCD(#1)
D800=BCD(D801)
BIN→BCD
U3E1\G10000=BCD(U3E1\G10001)
conversion
#0L=BCD(#2L)
D800L=BCD(D802L)
U3E1\G10000L=BCD(U3E1\G10002L)
#0=SHORT(#2L)
D800=SHORT(D802L)
Converted into 16-
U3E1\G10000=SHORT(U3E1\G10002L)
bit integer type
#0=SHORT(#4F)
(signed)
D800=SHORT(D804F)
U3E1\G10000=SHORT(U3E1\G10004F)
#0=USHORT(#2L)
D800=USHORT(D802L)
Converted into 16-
U3E1\G10000=USHORT(U3E1\G10002L)
bit integer type
#0=USHORT(#4F)
(unsigned)
D800=USHORT(D804F)
U3E1\G10000=USHORT(U3E1\G10004F)
#0L=LONG(#2)
D800L=LONG(D802)
Converted into 32-
U3E1\G10000L=LONG(U3E1\G10002)
bit integer type
#0L=LONG(#4F)
(signed)
D800L=LONG(D804F)
U3E1\G10000L=LONG(U3E1\G10004F)
#0L=ULONG(#2)
D800L=ULONG(D802)
Converted into 32-
U3E1\G10000L=ULONG(U3E1\G10002)
bit integer type
#0L=ULONG(#4F)
(unsigned)
D800L=ULONG(D804F)
U3E1\G10000L=ULONG(U3E1\G10004F)
Operation expression
APP - 4
Q173DSCPU/
Q173DCPU(-S1)/
Q172DSCPU
Q172DCPU(-S1)
Unit [ µ s]
Unit [ µ s]
1.5
2.0
2.5
3.0
2.0
2.5
3.0
3.5
2.0
2.5
2.5
3.5
2.5
2.5
3.0
3.5
1.5
2.0
2.5
2.5
2.0
2.5
2.5
3.0
2.0
2.0
2.5
3.0
2.5
2.5
3.0
3.5
2.0
2.0
2.5
2.5
2.5
2.5
3.0
3.5
2.0
2.0
2.0
2.5
2.0
2.5
3.0
3.5
1.5
2.0
2.0
2.5
2.0
3.0
3.0
3.5
2.0
2.0
2.0
2.5
2.5
3.0
3.0
4.0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents