EasyManua.ls Logo

Omron C200H - Double Binary-To-Double Bcd - Bcdl(59); Hours-To-Seconds - Hts(65)

Omron C200H
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals