Panasonic FP-E Programming Manual page 583

Fp series
Table of Contents

Advertisement

FP0/FP−e
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 RS232C port.
Transmission
The "n" bytes of the data stored in the data table with the starting area specified by S are transmitted from the
RS232C port to an external device by serial transmission.
A start code and end code can be automatically added before transmission.
Reception
Reception is controlled by the reception completed flag (R9038) being turned on and off.
When the reception completed flag (R9038) is off, the data sent to the RS232C port is stored in the reception
buffer specified in system registers 417 and 418.
When an F144 (TRNS) instruction is executed, the reception completed flag (R9038) goes off.
Switching the use of RS232C port
To switch between "computer link communication" and "serial data communication" (general purpose port),
execute an F144 (TRNS) instruction.
Set "n" (the number of transmission bytes) to H8000, and then execute the instruction.
When executed when "general purpose port" is selected, the setting will change to "computer link."
R0
R9032
DF
F144 TRNS, DT100, H8000
1
When executed when "computer link" is selected, the setting will change to "general purpose port."
R0
R9032
DF
F144 TRNS, DT100, H8000
1
In this case, the
parameter is disabled
regardless of the number.
R9032: COM. (RS232C) port selection flag
This flag turns on when "General purpose port" is selected.
Note
When the power is turned on, the port use will revert to the
setting of system register 412.
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
1
1
Set to H8000.
Turns on and stays on when:
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.
High−level Instructions
3 − 319

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents