omron — 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. 31 6.1. Initialization of the Sample Program Open [FHSAMPLEMAIN] sub- flow in the Project Edit page. 1 The [fhdefglobal] component is placed at the beginning of the flow. This component initializes the fhdefglobal Component global variables needed to communicate with the Vision Sensor. 2 Select the ChangeScene node on the flow and click the pencil icon to open the fhrunsendcmd Component settings dialog box. Click [SendString] and make sure that [Choose Device] is "FH". 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 setting for each node. 3