8 Parameter
8.5 Parameters according to Status I/O
8-38
149235-1CD
RE-CSO-A031
S4C024 to S4C031: DATA OF USER OUTPUT GROUPS
These parameters specify whether the output group instruction is executed with binary data or BCD
data.
Differences Between Binary Data and BCD Data
For the input group and output group, the result will depend on whether the binary or BCD
formula is used.
<Example> When the input function is [10101010]
However, in the case of BCD data, because the upper bound value is 99, it is not possible
to use any value which exceeds nine in the one or ten digit place.
d15 d0
OG#01
OG#02
OG#03
OG#04
OG#05
OG#06
OG#07
OG#08
OG#09
OG#10
OG#11
OG#12
OG#13
OG#14
OG#15
OG#16
S4C024
d15 d0
OG#17
OG#18
OG#19
OG#20
OG#21
OG#22
OG#23
OG#24
OG#25
OG#26
OG#27
OG#28
OG#29
OG#30
OG#31
OG#32
S4C025
d15 d0
OG#33
OG#34
OG#35
OG#36
OG#37
OG#38
OG#39
OG#40
OG#41
OG#42
OG#43
OG#44
OG#45
OG#46
OG#47
OG#48
S4C026
BCD DATA SPECIFICATION AT BIT-ON (1)
BCD DATA SPECIFICATION AT BIT-ON (1)
BCD DATA SPECIFICATION AT BIT-ON (1)
DATA
EDIT
DISPLAY
USER INPUT
GROUP IG#01 0:10 00:16
#10010
#10011
#10012
#10013
#10014
#10015
#10016
#10017
IN#0001
IN#0002
IN#0003
IN#0004
IN#0005
IN#0006
IN#0007
IN#0008
!
BCD
State
Binary
Case
Total
is in
ones.
Total
is in
tens.
1
0
1
0
1
0
1
0
2
0
= 1
2
1
= 2
2
2
= 4
2
3
= 8
2
4
= 16
2
5
= 32
2
6
= 64
2
7
= 128
1
0
4
0
16
0
64
0
85
2
0
= 1
2
1
= 2
2
2
= 4
2
3
= 8
2
0
= 1
2
1
= 2
2
2
= 4
2
3
= 8
Case
1
0
4
0
1
0
4
0
55
5
5
Binary data value
BCD data value