Omron NT11 - 01-2004 User Manual page 144

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

Advertisement

NT11 Status Control
Symbol
C-series PLCs
CU
---
W
---
TK
---
D
DM Area
E
*2
EM Area
,
current bank
E0_ to
---
EC_
Procedure
Example use of the PT status control bits
Allocation
CV-series PLCs
---
---
---
---
---
---
OK
DM Area
OK
EM Area,
current bank
---
---
*1 LR 00000 to LR 00199 are converted to CIO 01000 to CIO 01199.
*2 The EM Area is supported only by the C200HX/HG/HE(-Z)E PLCs.
The range of each memory area differs according to the PLC type. Appen-
dix H Special Characters (page 163) for more details.
1. Use the support tool to allocate the PT status control area (PLC ® PT) to
the PLC memory.
2. Create a PLC program to write control data to the "PT status control bits"
of the PT status control area.
• Control timing of PT status control bits
The PT status control area (PLC ® PT) is not read when the NT11 starts
up. It is only read, and control is only executed, when the contents of the
PT status control area are changed after the NT11 has been started up.
Since control of the NT11 statuses is executed after the bits corresponding
to the PT status control bits have changed, to execute control again the
corresponding bits must be specified again.
The example below shows how the PT status control bits are used to execute
daily report printing.
• Setting at the support tool
Perform the following setting with the support tool.
PT status control area allocated word: CIO/IR 0118
• PLC program
Create the following PLC ladder program:
00110
00111
• Program operation
1. When CIO/IR 00110 comes ON, the daily report printing bit (bit 4) of the
PT status control area is set to "1". The status of bits other than bit 4 re-
mains unchanged.
When bit 4 is set to "1", the daily report is printed.
Allocation
CS/CJ-series PLCs
---
TC Area,
Counter Completion Flags
---
WR Area
---
Task Flags
OK
DM Area
Not for Host
EM Area,
Link
current bank
---
EM Area,
EM banks 0 to C
(1)
@ORW(35)
120
PT status control word
Set the daily report printing bit only to "1".
#0010
PT status control word
120
(2)
@ANDW(34)
PT status control word
120
Set the daily report printing bit only to "0".
#FFEF
PT status control word
120
Section 5-5
Allocation
No
Not for Host
Link
No
OK
Not for Host
Link
Not for Host
Link
131

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents