EasyManuals Logo

Panasonic FP7 Series User Manual

Panasonic FP7 Series
192 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 #144 background imageLoading...
Page #144 background image
Setting the number of bytes in sent data [n]
Unit type Set value Description
SCU
(Note 1)(Note 2)
1 to 4096
When the value is positive, an end code is automatically added
according to the "Terminator setting" of COM settings.
-1 to -4096
When the value is negative, an end code is not automatically added
regardless of the "Terminator setting" of COM settings.
ET-LAN
1 to 16384
When "Add no special header" is on (Default connection setting)
(Note 3)
Send data and the end code are not distinguished. It is not
automatically added.
1 to 16372
When specifying "Append a special header"
(Note 3)
Send data and the end code are not distinguished. It is not
automatically added.
(Note 1) For SCU, up to 4096 bytes can be sent, including a start code and an end code. The start code and
end code are set from the configuration menu of the tool software or with the PMSET instruction.
When "Start code STX" is set to "Enabled", the maximum amount of sent data that can be specified is
decremented by one.
When "Terminator setting" is set to "ETX" or "CR", the maximum amount of sent data is decremented
by one.
When "Terminator setting" is set to "CR+LF", the maximum amount of sent data is decremented by
two.
When "Terminator setting" is set to "Time", the maximum amount of sent data is not decremented.
(Note 2) For specifying a negative value for [n] (signed integer K), specify SS for the operation units.
(Note 3) A "special header" is added when communicating with a conventional FP2 ET-LAN unit, and when
communication is performed with MEWTOCOL. Normally, select "Add no special header" in the user
connection setting.
Operand [D] settings
Specify the device area of the master unit storing the processing result (1 word).
The following values are stored depending on the state.
Status Value that is set
When starting the transmission request H0
When transmission is completed Number of transmitted bytes
When an error occurs HFFFF
Precautions for programming
To perform communication, setup is required in the configuration menu of the tool software.
For a CPU unit with a built-in SCU, select General-purpose communication in FP7
Configuration>Built-in SCU>Communication mode. For a Serial Communication Unit,
also select "General-purpose communication" in "Communication mode".
For a CPU unit with a built-in ET-LAN, use the FPWIN GR7 tool software to select "General-
purpose communication" in FP7 Configuration>Built-in ET-LAN>User connection
information setting>Operation mode setting.
Before executing the GPTRNS instruction, pGPSEND instruction, or GPSEND instruction,
describe the UNITSEL instruction and specify the target unit and communication port or
connection.
9.3 Sending Operation
9-10 WUME-FP7COM-07

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