3/8/2017 3:25 AM | |
Posts: 23 Rating:
|
Hi Sir : I have a profinet IO device and I use S7-300 CPU-15 PN/DP to control IO device. I use STEP 7 to program my PLC program. The input/output start address of IO device is 256 and I extend process image size from 128 to 600. Since the end address of IO device is 575. I get the same error code 80b1 when using SFC14 and SFC15 and the length exceed 4 bytes. Below is my code. CALL “DPRD_DAT” LADDR :=W#16#100 RET_VAL:=MW52 RECORD:=P#M 40.0 BYTE 4(If the length exceed 4, RET_VAL is 0x80b1) CALL “DPWR_DAT” LADDR :=W#16#100 RET_VAL:=MW50 RECORD:=P#M 20.0 BYTE 4(If the length exceed 4, RET_VAL is 0x80b1) The expert in this thread said that maybe the slave device does not support consistent read/write. My question is that how to confirm if my slave device does not support consistent read/write? If my slave device does not support consistent read/write, what SFC should I used? Best regards, Marcus
------------------------------------------------------------------------------------------ |
Last edited by: Min_Moderator at: 3/8/2017 4:38:40 PMNew subject after splitting |
|
3/10/2017 2:08 AM | |
Posts: 23 Rating:
|
Hi Sir : I appreciate your reply. Actually, I am a beginner with STEP 7 and PLC program of Siemens. Maybe I misunderstand your suggestion, if so, please correct. The attached file shows my PLC setting which includes hardware configuration. I am sorry for that I am new to the forum and it seems can only attach one file, am I right? I do not know Duris_I's question about "how long I/O area you have defined". Is there some settings I miss? According your suggestion, it seems like it is not related with if my slave device does not support consistent read/write, am I right? Best regards, Marcus AttachmentPLC_Setting.docx (591 Downloads) |
Follow us on