Yaskawa MotionSuite Series Machine Controller Programming Manual de usuario Pagina 174

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 187
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 173
MotionSuite™ Series Machine Controller Programming Manual Chapter 5: Variables (Registers)
5-2
5.1 Outline
In this section, an outline of the variables is described.
5.1.1 Variable Overview
In motion programs the variables can be used to describe values instead of directly
giving the values. When using variables, the motion program uses the values stored
in an area reserved for variables.
!
!!
! Variable (Register) Type
Motion programs can use the following 7 types of registers (described in the following
table) as variables. The S, M, I, O, and C registers are called global variables which can be
used in both motion programs and ladder programs. The # and D registers are called local
variables which are only capable of referencing within an individual program. However,
the local variables are secured in program memories; they take space from the programs.
Variable Type
Type
Name
Command
Method
Range Content
Characteristic
SSystem Register
SB, SW, SL,
SFnnnnn
SW00000
~SW01023
Registers prepared in the system. The register
number nnnnn is displayed with a decimal.
When the system starts, the
SW00000~SW00049 is cleared to 0.
Used by all kinds of programs
M Data Register
MB, MW,
ML,
MFnnnnn
MW00000
~MW32767
Registers used for the I/F between each DWG.
The register number nnnnn is displayed with a
decimal.
I Input Register
IB, IW,
IL, IFhhhh
IW0000
~IW07FF
Registers used for I/O module input data. The
register number hhhh is displayed with a
hexadecimal. If a register number is after C000,
it is used for interface with the servo
monitoring parameters.
O Output Register
OB, OW,
OL,
OFhhhh
OW0000
~OW07FF
Registers used for I/O module output data. The
register number hhhh is displayed with a
hexadecimal. If a register number is after C000,
it is used for interface with the servo setting
parameters.
C Constant Register
CB, CW,
CL,
CFhhhhh
CW00000
~CW4095
Registers that can be referenced only by a
program. The register number nnnnn is
displayed with a decimal.
Vista de pagina 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 186 187

Comentarios a estos manuales

Sin comentarios