High
−
level Instructions
3
−
421
Description
This instruction is used to send and receive instructions and data when an external device (computer,
measuring instrument, bar code reader, etc.) has been connected to the specified RS232C port.
1) Transmission
Transmits “n” bytes of the data stored in the data table that begins from the starting area specified in “S”
through the communication port specified in “D” to an external device. A start code and end code can be
automatically added to the transmission. The maximum number of bytes that can be transmitted is 2048.
2) Reception
Reception is controlled by the reception done flag (R9038/R9048) turning on and off. When the reception
done flag is off, reception can take place at any time and data coming into the RS232C port is stored in the
data register specified in system registers 416 to 419.
The F159(MTRN) instruction is used to turn off (enable reception) the reception done flag (R9038/R9048).
The maximum number of bytes that can be received is 4094.
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The area is exceeded when there is an index modifier.
−
The data table exceeds the area because of the number of bytes specified
in “n”.
3) Changing the transmission mode of the RS232C port
An F159(MTRN) instruction can be executed to change between “general transmission mode” and
“computer link mode”. To do so, specify “H8000” in “n” (the number of transmission bytes) and execute the
instruction.
Changing from “general port” to “computer link”
F159 MTRN, DT100, H8000, K1
R0
R9032
DF
1
1
RS232C port selection flag in R9032 or R9042.
Turns on when “general port” is selected.
Changing from “computer link” to “general port”
F159 MTRN, DT100, H8000, K1
R0
R9032
DF
1
1
Specify H8000
Note
When the power is turned on, the mode of use selected in system
register 412 takes effect.
The FP0R, FP
Σ
32k, FP
−
X tool port is always set to the computer
link mode in the PROG. mode.
FP
Σ
/FP
−
X/FP0R
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP-X
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 110: ...Relays Memory Areas and Constants 1 86 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 111: ...Chapter 2 Basic Instructions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 112: ...Basic Instructions 2 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 184: ...Basic Instructions 2 74 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 264: ...Basic Instructions 2 154 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 265: ...Chapter 3 High level Instructions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 266: ...High level Instructions 3 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 288: ...High level Instructions 3 24 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 406: ...High level Instructions 3 142 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 483: ...High level Instructions 3 219 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 537: ...High level Instructions 3 273 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 838: ...High level Instructions 3 574 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 862: ...High level Instructions 3 598 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1052: ...High level Instructions 3 788 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1053: ...Chapter 4 Precautions Concerning Programs Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1054: ...Precautions Concerning Programs 4 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1088: ...Precautions Concerning Programs 4 36 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1089: ...Chapter 5 Appendix Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1332: ...5 244 5 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...