6.3 Communication Objects of "Logic function"

Prev Next

6.3.1 "AND/OR/XOR"

Figure 6.3.1 "Logic function_AND/OR/XOR" Communication Objects

No.

Object Function

Name

Type

Flag

DPT

1/...

Input x

1st /.../8th Logic

1bit

C, W, T, U

1.002 boolean

This object is used to receive the value of logic Input x.

9

Logic result[0..1]

1st /.../8th Logic

1bit

C,T

1.002 boolean

This object is used to send the result of a logical operation.

Table 6.3.1 "Logic function_AND/OR/XOR" Communication Object Table

6.3.2 "Gate forwarding"

Figure 6.3.2 "Logic function_Gate forwarding" Communication Objects

No.

Object Function

Name

Type

Flag

DPT

9

Gate value select

1st /.../8th Logic

1 byte

C,W

17.001 scene number

This object is used to select the scene forwarded by the logic gate.

1/../4

Input x

1st /.../8th Logic

1bit

4bit

1 byte

C, W

1.001 switch

3.007 dimming control

5.010 counter pulses(0..255)

This object is used to receive the value of logic gate Input x.

5/../8

Output x

1st /.../8th Logic

1bit

4bit

1 byte

C,T

1.001 switch

3.007 dimming control

5.010 counter pulses(0..255)

This object is used to output the value after logic gate forwarding. The output value is the same as the input value, but one input can be forwarded into one or more outputs, which are determined by parameters.

Table 6.3.2 "Logic function_Gate forwarding" Communication Object Table

6.3.3 "Threshold comparator"

Figure 6.3.3 "Logic function_Threshold comparator" Communication Objects

No.

Object Function

Name

Type

Flag

DPT

4

Threshold value input

1st /.../8th Logic

4bit

1 byte

2byte

4byte

C, W, U

3.007 dimming control

5.010 counter pulses (0..255)

7.001 pulses

12.001 counter pulses

This object is used to input a threshold value.

9

Threshold value output 1bit

1st /.../8th Logic

1bit

C,T

1.002 boolean

This object sends the logic result, specifically by transmitting the value obtained after comparing the input threshold value with the parameter-set threshold value.

Table 6.3.3 "Logic function_Threshold comparator" Communication Object Table

6.3.4 "Format convert"

2*DPT 1.002-->DPT 2.001: Convert two 1-bit valuesintoone2-bit value, e.g.,Input bit1=1, bit0=1 --> Output 2-bit=3

8*DPT 1.002-->DPT 5.010: Converts 8 1-bit values into one 1-byte value, e.g., Input bit3=1, bit2=1, bit1=1, bit0=1, other bits are 0--> Output 1byte=15

DPT 1.002-->DPT 5.010: Convert a 1-bit value into a1-byte value, for example, Input 1bit=1 --> Output1byte=1. Although the value remains the same, the data type of the value has changed.

DPT 5.010-->DPT 7.001: Converts a 1-byte value into a 2-byte value, e.g., Input 1-byte=125 --> Output 2-byte=125. Although the value remains unchanged, the data type of the value has been altered.

2*DPT 5.010-->DPT 7.001: Convert two 1-byte values into one 2-byte value, e.g., Input 1byte-low = 255 ($FF), Input 1byte-high = 100 ($64) --> Output 2byte = 25855 ($64 FF)

2*DPT 7.001-->DPT 12.001: Convert two 2-byte values into one 4-byte value, for example, Input 2-byte-low = 65530 ($FF FA), Input 2-byte-high = 32768 ($80 00) --> Output 4-byte = 2147549178 ($80 00 FF FA)

DPT 5.010-->8*DPT 1.002: Convertsa1-bytevalueinto eight 1-bit values. For example, Input 1byte=63 --> Output bit0=1, bit1=1, bit2=1, bit3=1, bit4=1, bit5=0, bit6=0, bit7=0.

DPT 7.001-->2*DPT 5.010: Convert one 2-byte valueinto two1-byte values, for example, Input2byte = 55500 ($D8 CC) --> Output 1byte-low = 204 ($CC), Output 1byte-high = 216 ($D8)

DPT 12.001-->2*DPT 7.001: Converts a 4-byte value into two 2-byte values, for example, Input 4-byte = 78009500 ($04 A6 54 9C) --> Output 2-byte-low = 21660 ($54 9C), Output 2-byte-high = 1190 ($04 A6)

DPT 232.600(RGB)-->3*DPT 5.001(%): Convertsone 3-bytevalueinto three 1-bytevalues,e.g., Input RGB = $78 64 C8 --> Output red= 120($78), Output green = 100($64), Output blue = 200($C8)

3*DPT 5.001(%)-->DPT 232.600(RGB): Convert 3 1-bytevaluesinto 1 3-byte value, for example Input red = 150 ($96), Input green = 100 ($64), Input blue = 50 ($32)--> Output 3-byte = $96 64 32

DPT 251.600(RGBW)-->4*DPT 5.001(%): Convertsone 6-bytevalueinto four1-byte values,for example, InputRGBW =$78 63 C7 45 00 0F--> Outputred= 120($78), Output green = 99 ($63),Output blue= 199 ($C7),Output white = 69 ($45)

4*DPT 5.001(%)-->DPT 251.600(RGBW): Converts41-byte values into16-byte value,for example Input red = 120 ($78), Input green = 100 ($63), Input blue =50 ($33), Inputwhite = 69 ($45)--> Output 6-byte = $78 63 33 45 00 00

No.

Object Function

Name

Type

Flag

DPT

1

Format input...

1st /.../8th Logic

1bit

1 byte

2byte

3byte

4byte

6 bytes

C, W, U

1.001 Switch

5.001%

5.010 counter pulses(0..255)

7.001 pulses

232.600 RGB value 3x(0..255)

12.001 counter pulses

251.600 RGBW value 4x(0..100%)

This object is used to input the values to be converted.

9

Format output...

1st /.../8th Logic

1bit

2bit

1 byte

2byte

3byte

4byte

6 bytes

C,T

1.001 switch

2.001 switch control

5.001%

5.010 counter pulses(0..255)

7.001 pulses

232.600 RGB value 3x(0..255)

12.001 counter pulses

251.600 RGBW value 4x(0..100%)

This object is used to output the converted value.

Table 6.3.4 "Logic function_Format convert" Communication Object Table

6.3.5 "Gate calculation"

Figure 6.3.5 "Logic function_Gate calculation" Communication Objects

No.

Object Function

Name

Type

Flag

DPT

1

Input...

1st /.../8th Logic

1bit

2bit

1 byte

2byte

C, W, U

1.002 boolean

2.001 switch control

5.010 counter pulses(0..255)

7.001 pulses

This communication object is used to input values that need to be calculated.

9

Output...

1st /.../8th Logic

1bit

2bit

1 byte

2byte

C,T

1.002 boolean

2.001 switch control

5.010 counter pulses(0..255)

7.001 pulses

This object is used to send the result of the gate calculation.

Table 6.3.5 "Logic function_Gate calculation" Communication Object Table