Omron NT20S Operation Manual page 217

Programmable terminal
Hide thumbs Also See for NT20S:
Table of Contents

Advertisement

Notification of the Operating Status to the PC
Example of PT Status Notify Bit Application
198
S Timing of PT status notify bit notification
The contents of the PT status notify area (PT ³ PC) are written to the PC when-
ever the status of the NT20S changes during operation.
In the example below, the status of the NT20S is checked by PT status notify bit
notification.
S Settings with the support tool
Make the following setting with the support tool.
Allocated word for PT status notify area: CH0110
S PC program
Create the following PC ladder program.
11215
11215
S Program operation
(1) When the PT operating status (contact 11215) is OFF (0), "1" (PT stopped) is
stored in DM0001.
(2) When the PT operating status (contact 11215) is ON (1), "2" (PT running) is
stored in DM0001.
@MOV(21)
#0001
PT stopped
DM0001
Word that stores the PT status
@MOV(21)
PT running
#0002
Word that stores the PT status
DM0001
Section 5-5
(1)
(2)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents