恭喜,你发布的帖子
发布于 2024-01-26 21:02:34
2楼
L #input_actual
L #input_min
>=I
TAK
JC M001
TAK
T #input_actual
M001: L #input_max
<=I
TAK
JC M002
TAK
T #input_actual
M002: NOP 0
//;
L #output_min
L #output_max
<=I
TAK
JC M003
TAK
M003: T #output_min
//;
L #output_max
L 0
>=I
TAK
JC M004
TAK
M004: T #output_max
//;
L #input_actual
L #input_min
-I
ITD
DTR
T #temp_real_1
L #output_max
L #output_min
-I
ITD
DTR
T #temp_real_2
L #input_max
L #input_min
-I
ITD
DTR
T #temp_real_3
L #temp_real_1
L #temp_real_2
*R
L #temp_real_3
/R
RND
L #output_min
+I
T #setpoint
//-----------------------Following instructions, So that the RLO of ENO of the block is always "1"! ----
SET
SAVE
A BR
请填写推广理由:
分享
只看
楼主