Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual Uživatelský manuál Strana 157

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 352
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 156
7Ć11
7.3.2 Errors Caused by the Convert Integer Data To BCD Instruction
These errors can occur when you are using the TO_BCD instruction in a program. They
are logged in the error log.
If this error occurs:
Then: Do the following:
The result is larger
than what Out's data
type supports.
D Out contains the
maximum value alĆ
lowed for the data
type (9999 for inte
Ć
gers and 99999999
for double integers)
D ENO is set accordĆ
ing to ERROR_ENO
Make sure the value
you want to convert to
BCD is within the
range Out supports.
Tried to convert a
negative value to
BCD.
D Out contains the
value of 0
D ENO is set accordĆ
ing to ERROR_ENO
Use a positive value
for In.
Zobrazit stránku 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 351 352

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

Žádné komentáře