High
−
level Instructions
3
−
326
Description
Use this instruction for communication (transmission and reception) of command and data when an external
device (personal computer, measuring instrument, bar code reader, etc.) is connected to the COM. port of
CPU.
Transmission
The “n” bytes of the data stored in the data table with the starting area specified by S are transmitted from the
COM. port to an external device by serial transmission.
A start code and end code can be automatically added before transmission.
FP10SH
Transmission
External device
(Personal computer)
COM. port
Reception
Reception is controlled by the reception completed flag (R9038) being turned on and off.
When reception completed flag (R9038) is off, the data sent to the COM. port stored in the reception buffer
selected in system registers 417 and 418. When an
F144 (TRNS)
instruction is executed, reception
completed flag (R9038) goes off.
FP10SH
Reception
External device
(Bar code reader)
COM. port
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The area specified using the index modifier exceeds the limit.
−
The number of bytes specified by “n” exceeds the source data area range.
FP2/FP2SH/FP10SH
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...