EasyManuals Logo

Panasonic FP7 Series Command Reference Manual

Panasonic FP7 Series
1222 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #803 background imageLoading...
Page #803 background image
The maximum volume of data that can be sent in a single instance with GPTRNS,
pGPSEND, and GPSEND instructions is 16,384 bytes.
Sample program (in the case of SCU)
This program checks that the general-purpose communication mode is on (X8:ON) and that
general-purpose sending is not in progress in the same port (Y8:OFF), and then starts up the
sending program.
Using the SSET instruction, convert any given message into an ASCII string. Set the number
of sent characters to the data register DT100, and the sent message to the data register
DT101.
Using the UNITSEL instruction, specify the slot number (U0) and the COM. port number
(U1).
In the GPTRNS / pGPSEND / GPSEND instruction, specify and execute the start of the table
that stores the message to be sent (DT101) and the number of characters in the data
(DT100).
GPTRNS instruction
R0
( )DF
SSET DT100"ABCDE"
R100
R100
UNITSEL U1U0
GPTRNS.US
DT101 DT0DT100
X8 Y8
GPTRNS execution conditions
X8: Clear to send flag: ON
Y8: Send active flag: OFF
Communication port settings
S1: Slot 0 (U0)
S2: COM1 (U1)
Transmission processing
S: Header for sent data (DT101)
n: Number of sent characters (DT100)
D: Execution result code (DT0)
Data conversion
S1: Sent data
S2: Sent data storage
DT100: Number of sent characters
DT101 and after: Sent data
GPTRNS execution conditions reset
S1 S2
S n D
S1 S2
R100
< >
RST
R100
< >
SET
15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
Send Instruction)
WUME-FP7CPUPGR-12 15-9

Table of Contents

Other manuals for Panasonic FP7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP7 Series and is the answer not in the manual?

Panasonic FP7 Series Specifications

General IconGeneral
BrandPanasonic
ModelFP7 Series
CategoryController
LanguageEnglish

Related product manuals