Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 576

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Conversion Instructions
Restrictions
Flags
Examples
536
15
12
11
1
S
Hexadecimal: #1234
ASCII
15
D
31
33
D+1
Note If the source data is 0, the Equals Flag will turn ON.
If the leftmost bit of the source data is 1, the Negative Flag will turn ON.
The following restrictions apply to STR4(601).
■ Restrictions on the CPU Unit
STR4(601) can be used in CPU Units with unit version 4.0 or later only.
■ Restrictions on the CX-Programmer
STR4(601) can be used in CX-Programmer version 7 or higher only.
Name
Error Flag
ER
Equals Flag
=
Negative Flag
N
Example 1: Converting 3 Words of Numerical Data to ASCII Data
When CIO 000000 is ON in the following example, the 3 words of numerical
data starting at D00010 are converted, one word at a time, to ASCII data. The
converted ASCII data is stored in the DM Area starting at D00100.
8
7
4
3
0
2
3
4
8
7
0
32
34
Label
OFF
ON if the result is 0.
OFF in all other cases.
ON when the leftmost bit of the source data is 1.
OFF in all other cases.
Section 3-12
Operation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents