31
6.1. Initialization of the Sample Program
This section describes how to initialize global variables, set the IP address and port
number of the Vision Sensor.
1
Open [FHSAMPLEMAIN] sub-
flow in the Project Edit page.
2
The [fhdefglobal] component
is placed at the beginning of
the flow.
This component initializes the
global variables needed to
communicate with the Vision
Sensor.
3
Select the ChangeScene node
on the flow and click the
pencil icon to open the
settings dialog box.
Click [SendString] and make
sure that [Choose Device] is
" F H ".
Click Edit Device and set the
IP address and port number
of the Vision Sensor.
Click [Done] to close the
dialog box.
The communication device
“FH” is commonly used in the
sample program.
It is not necessary to
configure the communication