Omron NT11 - 01-2004 User Manual page 116

Programmable terminal
Hide thumbs Also See for NT11 - 01-2004:
Table of Contents

Advertisement

Daily Report/Display History Printing Function
Printing procedure
• Items set with the support tool
• Printing format
• Numerical value/character-string storage word (type of word and head
word)
• Display start position (Designate the top left position. Any line and col-
umn can be specified.)
• Number of integral digits displayed (1 to 8)
• Number of digits displayed after the decimal point (0 to 7)
• Number of characters (Specified as the number of words: 1 word = 2
characters.)
• Example printout
LINE1
Machine: NT20S
Production qty: 23
Variable characters
LINE2
Fixed characters
Fixed characters
Explained here is the procedure for printing a daily report in response to an
instruction from the PLC.
The printing instruction from the PLC takes effect by setting the status of bit 4
(daily report printing) of the PT status control area.
To designate printing, bit 4 of the PT status control area is set to "1". One
report is printed each time bit 4 is set to "1". To print the report again, the bit
status must be returned to "0" and then set to "1" again.
[PT status control bits of the PT status control area]
15 14 13 12 11 10 9
Word
0
0
0
0
• Setting at the support tool
Perform the following setting with the support tool.
PT status control area allocated word: CIO/IR 0120
• PLC program
Create the following PLC ladder program for CQM1H:
00110
00111
• Program operation
Machine: NT11
Production qty:
50
8
7
6
5
4
3
0
0
0
0
0
@ORW(35)
(1)
120
PT status control word
#0010
Set the daily report printing bit only to "1".
120
PT status control word
@ANDW(34)
(2)
120
PT status control word
Set the daily report printing bit only to "0".
#FFEF
120
PT status control word
Section 4-10
Variable characters
Numerical value
2
1
0
0
0
0
Daily report printing bit
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents