Character Constant - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

<Example> If DF is set for the operation unit of the instruction code, 4 words of data
are included in DT.
DT0-DT3

2.7.6 "" Character constant

How character constant ("") works
● Binary data is handled as ASCII code. When entering data, enclose characters with "".
● The instruction for which character constants can be set is SSET instruction (conversion of
character constant → ASCII code). This can only be input using the tool software.
● Character constants ("") are stored as ASCII code in the specified memory area in the PLC
as shown below.
Format for character constants ("")
<Example> When character constant "MEWNET" is input
WUME-FP7CPUPGR-12
Source
1.234567
T
E
N
54
45
4E
1 word
MV.DF
DT10-DT13
W
E
57
45
1 word
1 word
2.7 Explanation of constants
DT 0
DT 10
Destination
1.234567
M
(Characters)
(ASCII codes)
4D
2-45

Advertisement

Table of Contents
loading

Table of Contents