EasyManuals Logo
Home>Mitsubishi>Controller>00JCPU

Mitsubishi 00JCPU User Manual

Mitsubishi 00JCPU
542 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #195 background imageLoading...
Page #195 background image
6 - 15
CHAPTER6 FUNCTIONS
1
2
3
4
5
6
7
8
6.5 Clock Function
(4) Changing and reading clock data
(a) Changing clock data
Clock data can be changed either by GX Developer or a program.
1) Changing clock data by GX Developer
Select [Online] [Set time] to open the Set time screen and change the clock data.
2) Changing clock data by a program
Use the DATEWR instruction (instruction for writing clock data) to change the clock data.
Figure 6.11 shows a program for writing the set clock data to D0 to D6.
For details of the DATEWR instruction, refer to the following.
MELSEC-Q/L Programming Manual (Common Instruction)
When clock data is changed, the clock of 1/1000 second is reset to 0.
Year data settable by GX Developer is up to 2037.
Figure 6.10 Set time screen
Figure 6.11 Program example for writing clock data
Write request
0
X0
Year 1999
Month 8
Day 10
Hour 11
Minute 35
Second 24
Day of the week
Tuesday: 2
MOVP
K1999
DO
MOVP
K8
D1
MOVP
D2
MOVP
D3
MOVP
D4
MOVP
D5
MOVP
D6
DATEWR
DO
K10
K11
K35
K24
K2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi 00JCPU and is the answer not in the manual?

Mitsubishi 00JCPU Specifications

General IconGeneral
BrandMitsubishi
Model00JCPU
CategoryController
LanguageEnglish

Related product manuals