● The figure below shows the case where the string "ABCDE" is converted with the SSET
instruction.
(1)
Once the SSET instruction is executed, the number of characters is set in the starting word. Then, the
characters that are converted are stored in the following area.
(2)
DT101 is set for operand [S] of the GPTRNS / pGPSEND / GPSEND instruction, and when the
instruction is executed the data is sent in ascending order from the low byte.
■
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.
15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
Send Instruction)
WUME-FP7CPUPGR-12 15-7