IDEC MICROSmart FC6A Series Ladder Programming Manual page 225

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

Data Register Allocation
If indirectly specifying the settings for the WEEK instruction with data registers, the settings are allocated to the data registers as
follows.
Storage Destination
Start address+0
Start address+1
Start address+2
Start address+3
Start address+4
Start address+5
Start address+57
Start address+58
Start address+59
• Day of the week data register allocation
The day of the week for the ON settings and the day of the week for the OFF settings are allocated as bits in 1 data register as
follows.
ON settings day of the week
Bit
15
14
13
Reserved Saturday
Friday
0: Disabled (check box not selected)
1: Enabled (check box selected)
Example day of the week settings
[To configure the output to turn on Monday and to turn off Friday]
Monday is enabled in the ON settings, Friday is enabled in the OFF settings
Bit
15
14
13
0
0
Reserved Saturday
Friday
Thursday Wednesday Tuesday Monday
Day of the week setting (ON): 0000010
Day of the week setting (OFF): 0100000
The value of the data register is 1000100000 (binary) = 544 (decimal).
[To configure the output to turn on Monday and Thursday and to turn off Tuesday and Saturday]
Monday and Thursday are enabled in the ON settings, Tuesday and Saturday are enabled in the OFF settings
Bit
15
14
13
0
0
Reserved Saturday
Friday
Thursday Wednesday Tuesday Monday
Day of the week setting (ON): 0010010
Day of the week setting (OFF): 1000100
The value of the data register is 1001001000100 (binary) = 4676 (decimal).
The ON time and the OFF time are stored in the data register as follows.
12:34
For 12:34
1234 (Decimal)
Data register (1 word)
Data Size (word)
1
1
1
1
1
1
1
1
1
12
11
10
9
Thursday
Wednesday
Tuesday
Monday
ON settings
12
11
10
9
0
0
0
1
ON settings
12
11
10
9
1
0
0
1
For 23:45
FC6A S
MICROS
ERIES
MART
R (Read)/W (Write)
Bit
Bit
8
7
6
5
Sunday
Reserved Saturday
Friday
Data register (1 word)
Bit
Bit
8
7
6
5
0
0
1
Sunday Reserved Saturday
Friday
Bit
Bit
8
7
6
5
0
1
0
Sunday Reserved Saturday
Friday
23:45
2345 (Decimal)
Data register (1 word)
L
P
M
ADDER
ROGRAMMING
11: W
P
EEK
ROGRAMMER
R/W
R/W
P 1 tab
R/W
R/W
R/W
P 2 tab
R/W
R/W
R/W
P 20 tab
R/W
OFF settings day of the week
4
3
2
Thursday
Wednesday
Tuesday
OFF settings
4
3
2
1
0
0
0
0
Thursday Wednesday Tuesday Monday
OFF settings
4
3
2
1
0
0
1
0
Thursday Wednesday Tuesday Monday
FC9Y-B1726
ANUAL
I
NSTRUCTIONS
Setting
Day of the week
ON time
OFF time
Day of the week
ON time
OFF time
Day of the week
ON time
OFF time
Bit
1
0
Monday
Sunday
Bit
0
0
Sunday
Bit
0
0
Sunday
11-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents