S5-115U Manual
•
Position the paper in the printer
•
Switch on the printer (in on-line mode)
•
Switch on the CPU 943/944 and execute an Overall Reset (CPU operating mode: STOP)
•
Enter the program and transfer it to the PLC
•
Set the CPU to RUN
The structure of the sample program is shown in Figures 12-13 and 12-14.
OB21
ASCII parameter FB
(FB230)
call.Parameters are
passed to
this FB here.
OB22
ASCII parameter FB
(FB 230) call. Para-
meters are passed to
this FB here.
Figure 12-13. ASCII Driver Program Structure for RESTART
EWA 4NEB 811 6130-02b
FB230 ASCII parameter FB
Supplies system data words 46
and 48 to 55 with the parameters
selected in the restart OB
Communications Capabilities
DB202
ASCII
parameter
list
DB203
Send
mailbox
(message
texts for
printer
output)
12-31