Yaskawa MotionSuite Series Machine Controller Programming Bedienungsanleitung Seite 169

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 187
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 168
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-37
4.6.8 BCD
BIN (BIN)
!
!!
! Outline
The BIN command converts the BCD code data to a binary number (BIN code). It can
only be used for integer number data. If a value other than the BCD code is designated, the
correct result cannot be obtained.
!
!!
! Detailed Explanation
Command Method
Data Type
$
= Yes
×
= No
!
!!
! Program Example
Supplement
If data other than the BCD code is designated, the correct result cannot be obtained.
Bit (B) Integer (W) 32-bit Integer (L) Real (F) Constant
×
$$
×
$
Type Motion Program Ladder Program
B—
W MW00101=BIN(MW00100);
L ML00102=BIN(MW00100);
F—
MW00100=BIN(MW00101);
MW00100=BIN(1234H);
MF00200=BIN(ML00202);
MW00100
BIN
MW00101
ML00100
BIN
ML00101
(Example 1)
1234
MW00101
04D2
MW00101
Convert
(1234H) 1234 (Decimal)
(Example 2)
123F
MW00101
04DD
MW00101
Convert
(1234H) 1245 (Decimal)
Seitenansicht 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 186 187

Kommentare zu diesen Handbüchern

Keine Kommentare