Chapter 8 Logic Instructions
8_
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
16#********05265C00~
16#********0A4CB7FF
……
16#********00000000~
16#********FFFFFFFF
TOD#0:0:0~ TOD#17:2:47.295
DT
16#********00000000~
16#********FFFFFFFF
DT#1970-1-1-0:0:0~
DT#2016-2-7-6:28:15
Integer to String
The Integer data can be converted to the String data and some instructions are shown as
below.
The Integer data are converted into the String data as the following table shows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
USINT
STRING 0~255
‘0’~’255’
UINT
STRING 0~65535
‘0’~’65535’
UDINT
STRING 0~4294967295
‘0’~’4294967295’
ULINT
STRING 0~18446744073709551615
‘0’~’18446744073709551615’
SINT
STRING -128~127
‘-128’~’127’
INT
STRING -32768~32767
‘-32768’~’32767’
DINT
STRING -2147483648~2147483647
‘-2147483648’~’2147483647’
LINT
STRING
-9223372036854775808~
9223372036854775807
‘-9223372036854775808’~
‘9223372036854775807’
When the Bit-string data are converted to the String data, the length of the output String data must meet
the length of the input parameter.
Precautions for Correct Use
The input variable is not allowed to omit. An error will occur during the compiling of the software if the
input variable is omitted. But the output variable is allowed to omit.
SINT_TO_STRING
EN
ENO
O ut
In
I NT_TO_S TRI NG
EN
ENO
O ut
In
USI NT_ TO _STRING
EN
ENO
O ut
In
UI NT_TO_S TRI NG
EN
ENO
O ut
In
8-167
Содержание DVP15MC11T
Страница 9: ...Memo viii...
Страница 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Страница 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Страница 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Страница 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Страница 213: ...DVP15MC11T Operation Manual _8 The program 1 LIMIT EN ENO MN Out MX In LIMIT_EN LIMIT_MN LIMIT_MX LIMIT_In Out1 8 142...
Страница 216: ...Chapter 8 Logic Instructions 8_ The program 1 BAND EN ENO MN Out MX In BAND_EN BAND_MN BAND_MX BAND_In Out1 8 145...
Страница 249: ...DVP15MC11T Operation Manual _8 8 178...
Страница 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Страница 286: ...9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2 9 1...
Страница 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Страница 549: ...DVP15MC11T Operation Manual A MEMO A 16...
Страница 571: ...DVP15MC11T Operation Manual C Memo C 10...
Страница 572: ...D Appendix D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2 D 1...