发表于:2013/8/16 22:26:42
#0楼
程序段如下:我的问题 就是,调用FC26,语句中,FC26的输入输出是怎么分配的?
A DB101.DBX 0.3
= L 0.0
BLD 103
A DB101.DBX 4.3
= L 0.1
BLD 103
Call
BLD 1
= L 1.0
OPN DB 10
L DBD 24
T LD 2
OPN DB 10
L DBD 36
T LD 6
OPN DB 10
L DBD 20
T LD 14
OPN DB 10
L DBD 0
T LD 18
UC FC 26
P#L 0.0
P#L 0.1
P#L 2.0
P#L 6.0
P#M 20.0
P#M 20.2
P#L 10.0
P#L 14.0
P#L 18.0
L LD 10
OPN DB 102
T DBD 60
L LD 14
OPN DB 10
T DBD 20
L LD 18
OPN DB 10
T DBD 0
BLD 2
End Call
A DB101.DBX 0.3
= L 0.0
BLD 103
A DB101.DBX 4.3
= L 0.1
BLD 103
Call
BLD 1
= L 1.0
OPN DB 10
L DBD 24
T LD 2
OPN DB 10
L DBD 36
T LD 6
OPN DB 10
L DBD 20
T LD 14
OPN DB 10
L DBD 0
T LD 18
UC FC 26
P#L 0.0
P#L 0.1
P#L 2.0
P#L 6.0
P#M 20.0
P#M 20.2
P#L 10.0
P#L 14.0
P#L 18.0
L LD 10
OPN DB 102
T DBD 60
L LD 14
OPN DB 10
T DBD 20
L LD 18
OPN DB 10
T DBD 0
BLD 2
End Call