Label Settings, Send, and Receive can be
easily included in a D-Script/Global D-Script.
To communicate with D-Scripts/Global
D-Scripts, set the following script settings. If script settings
are not designated, they cannot execute.
Script Settings in D-Script/Global D-Script
In the [System Settings] window, click [Script].
Set the [Type] to [D-Script/Global D-Script].

There are two tabs for the script settings. The above example uses
[Script1].
Set the [Port] to COM1 or COM2, and set the [Communication
Settings] to match the Extended SIO.
When creating a communication program with
more advanced functionality than the SIO port operation, it is
recommended to use an [Extended Script]. See the following for
examples on how to use extended scripts, 22.5 Communicating with
Unsupported Peripheral Devices.