Yaskawa MotionSuite Series Machine Controller Programming Uživatelský manuál Strana 175

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 187
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 174
MotionSuite™ Series Machine Controller Programming Manual Chapter 5: Variables (Registers)
5-3
Important Point
In the motion programs, the # register cannot be used. If a # register is used, a syntax error
results during compilation of the motion program.
!
!!
! Data Type
As shown below, there are bit, integer number, 32-bit integer number, and real number
data. They are used for different purposes.
## Register
#B, #W, #L,
#Fnnnnn
#W00000~
#W16383
Registers that are only referenced within a
corresponding DWG. Actual range is
designated in MotionWorks™ by the user. The
register number nnnn is displayed with a
decimal.
However, it cannot be used in the
motion programs.
Used for individual program
DD Register
DB, DW,
DL,
DFnnnnn
DW00000
~DW16383
Registers owned by each DWG. Therefore they
can only be used for the DWG. Actual range is
designated in MotionWorks™ by the user. The
register number nnnnn is displayed with a
decimal.
Data Type
Code Data Type Value Range Notes
B Bit ON(1), OFF(0)
Used for relay sequence or ON/OFF condition
distinction.
WInteger
-32768~+32767
(8000H~7FFFH)
Used in value calculations; as well as logical
calculations if in the ( ).
L 32-bit
-2147483648~+2147483647
(80000000H~7FFFFFFFH)
Used in value calculations; as well as logical
calculations if in the ( ).
F Real ±(1.175E-38~3.402E+38),0 Used in advanced value calculations.
Variable Type (Continued)
Zobrazit stránku 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 186 187

Komentáře k této Příručce

Žádné komentáře