![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423164.webp)
151
5-16-4
DOUBLE BINARY-TO-DOUBLE BCD – BCDL(59)
S: First source word (binary)
IR, SR, AR, DM, HR, LR
R: First result word
IR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
BCDL(59)
S
R
@BCDL(59)
S
R
If the content of S exceeds 05F5E0FF, the converted result would exceed
99999999 and BCDL(59) will not be executed. When the instruction is not
executed, the content of R and R+1 remain unchanged.
BCDL(59) converts the 32-bit binary content of S and S+1 into eight digits of
BCD data, and outputs the converted data to R and R+1.
S + 1
S
R + 1
R
BCD
Binary
Flags
ER:
Content of R and R+1 exceeds 99999999.
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is zero.
5-16-5
HOURS-TO-SECONDS – HTS(65)
S: Beginning source word (BCD)
IR, SR, AR, DM, HR, TC, LR
R: Beginning result word (BCD)
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols
Operand Data Areas
---: Not used.
HTS(65)
S
R
---
@HTS(65)
S
R
---
Limitations
Can be performed with the CPU11-E only. S and S+1 must be within the
same data area. R and R+1 must be within the same data area. S and S+1
must be BCD and must be in the proper hours/minutes/seconds format.
Description
HTS(65) is used to convert time notation in hours/minutes/seconds to an
equivalent in just seconds.
Limitations
Description
Data Conversion
Section 5-16
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...