How to use the variables -8, System variables -8 – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 180

MotionSuite™ Series Machine Controller Programming Manual
Chapter 5: Variables (Registers)
5-8
5.2
How to Use the Variables
This section explains how to use each variable.
5.2.1
System Variables
!
!
!
! Outline
The system variables (S registers) are prepared in the machine controller system; they can
read the error or operation status of the system. The S registers can be used among the
motion programs.
!
!
!
! Detailed Explanation
The S register command method is shown as follows:
The variable numbers are displayed with decimals. However, the BIT number designated
by the bit is displayed with a hexadecimal.
!
!
!
! Program Example
Important Point
The S registers are dedicated for status read only. Therefore if executing the write, the
system motion cannot be guaranteed.
SB000000 ~
SW000000 ~
SL000000 ~
SF000000 ~
SB01023F
SW01023
SL01023
SF01023
• Bit designation
OB000010=SB000402|SB000403;
• Integer number designation
MW00100=SW00041;
• 32-bit integer number designation
ML00100=SL00062;
• Real number designation
MF00200=SF00085;