7.3 Sending Operation7-77.3.3 GPSEND (General-Purpose Communication Sending Command) Command formatItems Settings Setting rangei Specify the operation unit. US / SS (Note 1)S Specify the header of the source node data area. (Note 2)n Specify the No. of sent bytes. 1 to 4094, -1 to -4096(Note 1) (Note 3)D Specify the device area in the source node to save the executionresult (one word). (Note 4)(Note 1) When a K constant (integer with a symbol) is specified for the No. of sent bytes [n], select SS for operationunit [i]. When a U constant (integer without a symbol) or an H constant (hexadecimal integer), select US foroperation unit [i].(Note 2): Device that can be specified for S are: WX, WY, WR, WL, DT, LD.(Note 3) If a negative value is specified, the end code is not automatically added to the sent data. (Where SCU istargeted)(Note 4): Device that can be specified for D are: WX, WY, WR, WL, DT, LD.Once the sending process is completed, the sent bytes are saved. When an error occurs, "FFFFH" is saved.KEY POINTS Specify the port targeted for communication, using UNITSEL commandimmediately before GPSEND command. Maintain the ON conditions for GPSEND command until sending iscompleted and the sending general-purpose communication flag (Y8, Y9,YA) turns OFF. Confirm that the "clear to send general-purpose communication flag" forthe targeted COM port has turned ON, and execute GPSEND command. When GPSEND command is executed for a communication port in thesending process, the sending flag and the sending result are updated. GPSEND command cannot be used in an interrupt program.Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com