Mitsubishi Electronics JY992D97701 Network Card User Manual


 
α
2 Simple Application Controllers
The Command String 7
7 - 33
Example 2 - Date Setting
Write a Date Setting to turn Off the Time Switch set up as CW02 on February 20, 2002 at
12:00.
Year Value = 2002; Month Value = 02; Day Value = 20; Hour Value = 12; Min Value = 0; On/Off
Value = 0ff.
Installing the values from the Table above into the Date Parameter Table in Section 2.3.2 and
calculating the Hexadecimal values for each line gives the following values.
Note;
*1, *2, *3 and *4 settings correspond to Table 7.20.
Table 7.19: Parameter Bit Settings for Date Setting - Example 2
Parameter
Actual Value#
of Digits
Description of Setting (Hex)
DMY 00 Time Settings by Date = 00
Year 001100
Year Setting = 2002 - 1990 = 12 decimal or
001100 binary
Month 0010 Month = 2 decimal or 0010 binary
Day 10100 Day = 20 decimal or 10100 binary
Hourly 01100 Hour = 12 decimal or 01100 binary
Minute 000000 Minute = 0 decimal or 000000 binary
On/Off 0 Off = 0
Table 7.20: Date Setting Table with Hexadecimal Values - Example 2
Level b7 b6 b5 b4 b3 b2 b1 b0
Hexadecimal
Command String
Value
+010000001 81 H
+1 1 0 0 0 0 1 0 1 85 H
+201000110 46 H
+300000000 00 H
Computer
α
2 Controller
S
T
X
Command
Format No.
Station No.
Complete
flag
A
C
K
No. comm
bytes
Device No.
(HB)
No. of
devices
Device
code
Device No.
(LB)
Sum check
(HB)
E
T
X
Sum check
(LB)
RTC +0
*1
0BH 41H 00H 01H 01H 69H 02H 00H 81H 03H FAH 01H
S
T
X
Format No.
Station No.
No. comm
bytes
02H 03H 40H 00H
S
T
X
Format No.
Station No.
No. comm
bytes
02H 03H 40H 00H21H 06H
RTC +1
*2
85H
RTC +2
*3
46H
RTC +3
*4
00H02H