hi Iam using s7300plc communicate with mm440 drive.
the communicate with each other but some data are not comming in hmi(current )iam sending the program of communication plese any body help me about this.
CALL FB 1 , DB24
IN0 :=PID360
IN1 :=DB30.DBD192
IN2 :=W#16#101B
IN3 :=W#16#1027
OUT4:=PQD360
OUT5:=DB30.DBD196
OUT6:=DB30.DBW200
CALL "DPWR_DAT"
LADDR :=W#16#160
RECORD :=P#DB30.DBX 200.0 BYTE 8
RET_VAL:=MW178
CALL "DPRD_DAT"
LADDR :=W#16#160
RET_VAL:=MW180
RECORD :=P#DB30.DBX 208.0 BYTE 8
CALL FB 2 , DB44
IN0 :=DB30.DBX197.2
IN1 :=DB30.DBX197.3
IN2 :=DB30.DBW198
IN3 :=DB30.DBD212
OUT4:=M50.0
OUT5:=M60.0
OUT6:=DB2.DBD96
OUT7:=DB2.DBD100
OUT8:=DB2.DBD104
in this program OUT 7 is used for current feed back in hmi but theay not comming. ifany parameter set in mm 440 drive for comming all data (PZD).
but the frequency feedback in hmi comming properly........
plese any body help me its urgent........
the communicate with each other but some data are not comming in hmi(current )iam sending the program of communication plese any body help me about this.
CALL FB 1 , DB24
IN0 :=PID360
IN1 :=DB30.DBD192
IN2 :=W#16#101B
IN3 :=W#16#1027
OUT4:=PQD360
OUT5:=DB30.DBD196
OUT6:=DB30.DBW200
CALL "DPWR_DAT"
LADDR :=W#16#160
RECORD :=P#DB30.DBX 200.0 BYTE 8
RET_VAL:=MW178
CALL "DPRD_DAT"
LADDR :=W#16#160
RET_VAL:=MW180
RECORD :=P#DB30.DBX 208.0 BYTE 8
CALL FB 2 , DB44
IN0 :=DB30.DBX197.2
IN1 :=DB30.DBX197.3
IN2 :=DB30.DBW198
IN3 :=DB30.DBD212
OUT4:=M50.0
OUT5:=M60.0
OUT6:=DB2.DBD96
OUT7:=DB2.DBD100
OUT8:=DB2.DBD104
in this program OUT 7 is used for current feed back in hmi but theay not comming. ifany parameter set in mm 440 drive for comming all data (PZD).
but the frequency feedback in hmi comming properly........
plese any body help me its urgent........