Download AJ71C24-S8 - User`s Manual
Transcript
c. )es~anrt~on E x r m ~ l eIr Example 2: L. To start transmission of data, stored in buffer memory at addreases 120H and 121H, by the sequence program. (Station number is ‘On,AJ71C24 I/O addresses are 80 to 9F, transmission datais designated inbyte units.) PL. AJ71 C24 appends PC number ‘FE” automatically Computer r AJ7 “1” is written if a transmission omor occum. Data b tr8nsmitt.d in the order of lowor 8 bRs and higher 8 bits. (u L .. Request to turn OFF error indicator LED Sets byte unit for data transmission Converts rtut rignal to PLS x) 25 Sets transmission data (1) Dosignatea hoad address of thr tranrmisrion data storago aroa and data length i Resets the on-demand m o r (Start is disabled if the content at address 1 OCH is ‘1 ’.) c (2) Starts the on-demand function c Transmission comploted flag I P t Reads tho transmirsion error storage areato check transmission status 2RCUlT END IAddress 10CH € 0 : Correct transmiscrion 1 : Data not transmtttod due to an orror I 8-111