1/25/2011 8:20 PM | |
Posts: 29 Rating:
|
Hello. I've attached one project. in this project I test a minimal ascii comunication using a cp 341. Did anybody find a problem with this configuration/program? The returned fault code is: 301. In manualI found this: Illegal or missing source/destination data type Area (start address, length) not permitted The DB is not permitted or does not exist (e.g., DB 0) or Other data type invalid or missing Interprocessor communication byte number invalid or Interprocessor communication bit number invalid or neither 'S' nor 'F' selected (for FB P_SND_RK). Attachmentcp_341_comm.zip (86 Downloads) |
1/26/2011 2:49 PM | |
Posts: 3093 Rating:
|
Hello, I had a look at your program: neither 'S' nor 'F' selected (for FB P_SND_RK) Input SF Regards, Kaulquappe |
1/27/2011 7:18 AM | |
Posts: 29 Rating:
|
helloKaulquappe. The 341 communication is set on ASCII communication. In function P_SND_RK help, it appers the following note: Note The R_CPU_NO, R_TYP, R_NO, R_OFFSET, R_CF_BYT, and R_CF_BIT parameters are irrelevant for procedure 3964(R) and for the ASCII driver and, therefore, do not need to be assigned. Likewise, the SF parameter does not need to be assigned, because 'S' for sending is entered by default. Regards, Traian
|
Follow us on