Explanation of data table
The data table for transmission starts at the data register specified in S.
•
Use an F0 (MV) or F95 (ASC) instruction to write the data to be transmitted to the transmission data
storage area specified in S.
Transmission process
When the execution condition of the F159 (MTRN) instruction turns on and the “transmission done” flag
R9039/R9049 is on, operation is as follows:
1. N is preset in S. The “reception done” flag R9038/R9048 is turned off, and the reception data number
is cleared to 0.
2. The set data is transmitted in order from the lower-order byte in S+1 of the table.
•
During transmission, the “transmission done” flag R9039/R9049 turns off.
•
If system register 413 or 414 is set to header (start code) with STX, the header is automatically added
to the beginning of the data.
•
The terminator (end code) specified in system register 413 or 414 is automatically added to the end of
the data.
3. When all of the specified quantity of data has been transmitted, the S value is cleared to 0 and the
“transmission done” flag R9039/R9049 turns on.
When you do not wish to add the terminator (end code) during transmissions:
•
Specify the number of bytes to be transmitted using a negative number.
•
If you also do not wish to add a terminator to received data, set system register 413 or 414 to
“Terminator - None”.
Programming example:
The following program transmits 8 bytes of data without adding the terminator.
Key Point:
•
Do not include the terminator (end code) in the transmission data. The terminator is added
automatically.
•
When “STX exist” is specified for the header (start code) in system register 413 or 414, do not add the
header to the transmission data. The header is added automatically.
•
When using the AFPX-COM1, transmission does not take place until CS (Clear to Send) turns on. If
you are not going to connect to the other device, connect to RS (Request to Send).
•
The maximum number of transmission bytes n is 2048.
•
The contact numbers in parentheses refer to COM2 port.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for AFPX-C30R
Page 6: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 12: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 28: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 54: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 102: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 295: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 300: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 309: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 311: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 314: ...Program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 347: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 352: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 361: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 363: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 366: ...Program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 384: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 398: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 410: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 430: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 448: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 543: ...17 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...