Notification Of The Date And Time To The Pc - Omron NT30 Operation Manual

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

Advertisement

Clock Function

5-6-4 Notification of the Date and Time to the PC

Procedure 1. Allocate an area in the PC to the numeral memory table entries (number cor-
Example of Reading the Time Set for the NT30/30C
238
The date and time set at the NT30/30C can be notified to the PC. The numeral
memory table entries numbered 247 through 253 are used for display. They can-
not be allocated to PC areas.
The method used to notify the date and time is copying between memory table
entries.
NT30/30C
Numeral memory table
Second
0
1
2
Second
247
248
249
responding to the data to be read) that are to be made the copy destination.
2. Copy the contents of numeral memory table entries 247 to 253 to the numer-
al memory table entries allocated as the copy destination in step (1).
The copied date and time is notified to the area in the PC.
S Important Points Concerning Numeral Memory Table Entries Used for
the Clock Function
Numeral memory table entries 247 through 253 store clock data, which is up-
dated by the internal clock of the NT30/30C. This data cannot be rewritten by
the PC.
Numeral memory table entries 247 through 253 are exclusively for display
(read only). Do not attempt to write data to them by using numeral settings or by
copying between memory table entries.
Do not allocate the numeral memory table entries to which the clock function is
assigned (numbers 247 to 255) to PC words.
This is the procedure for reading the time (hour, minute) set for the NT30/30C.
S NT-series Support Tool Settings
The following settings are made using the NT-series Support Tool.
PT Status Control Area: IR/CIO 0100
Numeral memory table entry No. 258: DM0000 (one word)
Numeral memory table entry No. 259: DM0001 (one word)
DM0000
DM0001
Minute
DM0002
Hour
Minute
Hour
Section
PC
DM
Second
DM0000
Minute
DM0001
DM0002
Hour
Copy
5-6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt30c

Table of Contents