Sample ProgramsFP2 Serial Data Unit8 − 98.1 Sample Programs8.1.2 Time Out and Retry8.1.2.1 An Overview of the Time Out and Retry FunctionsWhen a command is sent to another device and there is no response, this function canbe used to send the command once again.FP2Command sendingAfter500 msExternal deviceNo responseCommand sent againUp to 5 retries carried outSDUSD RD ERR SD RD ERR ALCOM.1COM.2COM.1(RS232C)COM.2(RS232C)8.1.2.2 Time Out and Retry ProgramWith the program, the command is sent again (retried) if more than 500 ms passes withno response returned from the other side.Up to 5 retries can be carried out.For this program, the serial data unit should be installed in slot 0.X21DFR100R9013M ABCD⊔⊔⊔⊔⊔⊔⊔⊔ , DT 20F95 ASC ,, H D , DT 22F0 MVTMX 0, K 5C1000R102R100X1 T0R100DFR101T0DF/R102The command “ABCD” is convertedto an ASCII code, and written toDT20 to DT21.The end code CR (H0D) is written toDT22Command sending directiveRetry standby timer (500 msec)Command sending directive pulseRetry directive pulsenext page