Mitsubishi Electronics JY992D97701 Network Card User Manual


 
α
2 Simple Application Controllers
The Command String 7
7 - 35
Example 4 - Yearly Settings
The Yearly setting must be set to a Default setting of 08H because it is On constantly.
Write a Yearly Setting to turn On the Time Switch set up as CW04 on the 24th of Dec. of every
year at 18:15 PM.
Year Value = 8 (default); Month Value = 12; Date Value = 24; Hour Value = 18; Min Value = 15;
On/Off Value = 1.
Installing the values from the Table above into the Date Setting Table and calculating the
Hexadecimal values for each line gives the following values.
Note:
*1, *2, *3 and *4 settings correspond to Table 7.24.
Table 7.23:
Parameter
Actual Value#
of Digits
Description of Setting (Hex)
DMY 10 Yearly Time Settings = 10
Year 001000 Year Setting = 8 (default) or 001000 binary
Month 1100 Month Setting = 12 decimal or 1100 binary
Day 11000 Day = 24 decimal or 11000 binary
Hourly 10010 Hour = 18 decimal or 10010 binary
Minute 001111 Minute = 15 decimal or 001111 binary
On/Off 1 On = 1
Table 7.24: Yearly Setting Table with Hexadecimal Values
Level b7 b6 b5 b4 b3 b2 b1 b0
Hexadecimal
Command String
Value
+010010001 91 H
+1 0 0 0 1 1 0 0 1 19 H
+210001001 89 H
+300011111 1F 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 04H 00H 91H 03H 02H 02H
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
19H
RTC +2
*3
89H
RTC +3
*4
1FH02H