Siemens SIMATIC S5 CP 523 Manual page 96

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

Advertisement

CP 523
6.7.1 Print Message Text (Job Numbers 0, 3 and 4)
The CP 523 forwards message text XY to the printer when it receives a "Print out message text XY"
request. You can specify whether the printer is to execute a line feed (LF) or carriage return (CR)
after printing message text XY.
Prerequisites
You must have configured the message text on the memory submodule. Assign a number to
each message text when configuring it.
You must have plugged the configured memory submodule into the CP 523.
Specify
The message text number in binary in byte 0, bits 0 to 3 and in byte 1
The job number in byte 0, bits 4 to 7
-
Job numbers 0 and 3:
-
Job number 4:
Additional specificaitons
You can store a further three 16-bit variables in bytes 2 to 7 if you have configured spaceholders
for variables in the message text.
You must enter the data in the format in which you configured it in the message text on the
memory submodule ( 6.4.5).
At printout, the spaceholders are replaced by the current variable values.
Table 6-21. Contents of the Transfer Memory for "Print Message Text"
Byte
Bit
0
4 to 7
Job number
0 to 3
Message text number
1
0 to 7
-
2
0 to 7
-
3
0 to 7
-
4
0 to 7
-
5
0 to 7
-
6
0 to 7
-
7
0 to 7
EWA 4NEB 811 6044-02a
Print message text with CR/LF
Print message text without CR/LF
Meaning
Value of the variable
or
number of the message text to
be inserted
Value of the variable
or
number of the message text to
be inserted
Value of the variable
or
number of the message text to
be inserted
Permissible Assignment
0
= Print message text with CR/LF
H
3
= Print message text with CR/LF
H
4
= Print message text without CR/LF
H
001
to FFF
(1 to 4095)
H
H
0000
to FFFF
H
H
Depending on the configured data format
001
to FFF
(1 to 4095)
H
H
0000
to FFFF
H
H
Depending on the configured data format
001
to FFF
(1 to 4095)
H
H
0000
to FFFF
H
H
Depending on the configured data format
001
to FFF
(1 to 4095)
H
H
Print Mode
6-41

Advertisement

Table of Contents
loading

Table of Contents