Siemens SIMATIC S5 CP 523 Manual page 76

Serial i/o module
Hide thumbs Also See for SIMATIC S5 CP 523:
Table of Contents

Advertisement

CP 523
Entry with the spaceholders "Sa, b, ..."
If you use the spaceholders "Sa, b", you must enter the control character in ASCII code in decimal
form. If you want to enter several control characters consecutively, you must separate them with
commas. You can enter a maximum of 50 control characters consecutively.
Example:
Deselecting the subscript on the PT 88.
The subscript on the PT 88 printer is deselected with the "ESC16" command.
"ESC" corresponds to the ASCII code 1B
You must enter: "S27,16".
Example:
Configuring a message text with a spaceholder for control parameters
(entry with Sa, b).
You want to store the following message text in DB 6:
Message text 60:
The proportion of H<Select subscript>2<Deselect subscript>0 is 50 %
Entry on the PG 685 for DB 6
:
KS = '60:The proportion of';
:
S = 'H "S27,18"2"S27,16" O';
:
KS = 'is 50%.$';
:
EWA 4NEB 811 6044-02a
=27
,
H
D
Explanation
Message text number, separator ":",
Message text,
Message text "H", spaceholder for on,
Message text "2", spaceholder for off,
Mesage text "O"
Message text, end-of-text character
Print Mode
6-21

Advertisement

Table of Contents
loading

Table of Contents