Mitsubishi Electronics JY992D97701 Network Card User Manual


 
α
2 Simple Application Controllers
The Command String 7
7 - 34
Example 3 - Monthly Time Setting
A Monthly setting does not have a constant setting for either the Month or the Year. These
parameters will be ON constantly and must therefore be set to a default value. The Value for
the Year Parameter is 08 H and the value for the Month is 01 H.
Write a Monthly Setting to turn On the Time Switch set up as CW03 on the 25th of every month
at 08:35 AM.
Year Value = 8 (default); Month Value = 1 (default); Day Value = 25; Hour Value = 08; Min Value
= 35; On/Off Value = 1.
Installing the values from the Table above into the Date Parameter Table above and calculating
the Hexadecimal values for each line gives the following values.
Note:
*1, *2, *3 and *4 settings correspond to Table 7.22.
Table 7.21: Parameter Bit Setting Values for Monthly Setting - Example 3
Parameter
Actual Value#
of Digits
Description of Setting (Hex)
DMY 01 Monthly Time Settings = 01
Year 001000 Year Setting = 8 (default) or 001000 binary
Month 0001 Month Setting = 1 (default) or 0001 binary
Day 11001 Day = 25 decimal or 11001 binary
Hourly 01000 Hour = 8 decimal or 01000 binary
Minute 100011 Minute = 35 decimal or 100011 binary
On/Off 1 On = 1
Table 7.22: Date Setting Table for Monthly Values - Example 3
Level b7 b6 b5 b4 b3 b2 b1 b0
Hexadecimal
Command String
Value
+010001001 89 H
+1 0 0 0 0 0 0 1 1 03 H
+210010100 94 H
+301000111 47 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 03H 00H 89H 03H 16H 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
03H
RTC +2
*3
94H
RTC +3
*4
47H02H