EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 444

Omron CP - PROGRAMMING MANUAL 05-2007
1175 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...
411
Conversion Instructions Section 3-11
3-11-11 ASCII TO HEX: HEX(162)
Purpose Converts up to 4 bytes of ASCII data in the source word to their hexadecimal
equivalents and writes these digits in the specified destination word.
Ladder Symbol
Variations
Applicable Program Areas
Operands S: First Source Word
The contents of the source words are treated as ASCII data. Up to three
source words can be used. (Three source words will be required if 4 bytes are
being converted and the leftmost byte is selected as the first byte in S.) The
source words must be in the same data area.
S
D
S: D100
0.00
D100
D200
D: D200
D201
Di: #
Number of digits
Digits
Di
Starting digit
Starting byte
(leftmost byte)
HEX(162)
S
D
Di
S: First source word
Di: Digit designator
D: Destination word
Variations Executed Each Cycle for ON Condition HEX(162)
Executed Once for Upward Differentiation @HEX(162)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK

Table of Contents

Related product manuals