13
PROGRAMMING
13.1
Precautions for Programming
This section describes precautions when creating EtherNet/IP communications programs.
Timer Settings for Data Communication
When using the engineering tool to set parameters, be sure to pay attention to the value of the data communications timer.
If communication is interrupted due to a cable disconnection or an external device stoppage, disconnection may occur earlier
than the connection timeout time.
[Navigation window] [Parameter] [Module Information] [RJ71GN11-EIP(T+E)] [Port2 Module Parameter
(EtherNet/IP)] [Application Settings] [Timer Settings for Data Communication]
■When "Change/Set Timer Value" is set to "Yes"
Set the "Destination Alive Check Resend Count" time to a value longer than the connection timeout time.
■When "Change/Set Timer Value" is set to "No"
Set the connection timeout time so that it is not shorter than 600s (default value).
• The connection timeout time is calculated to be RPI (communication cycle) Timeout Multiplier. ( Page
258 Connection settings)
• For "Timer Settings for Data Communication" parameters, refer to the following.
Page 92 Timer Settings for Data Communication
Refresh Settings
Do not use "M+RJ71GN11_SE_EIP_Class1SetOutputData" in the program for connections in which Class1 communications
is specified in the refresh settings under parameters in the engineering tool.
The refresh may lead to send data inconsistencies between the output data to be sent and the output data set in the module
function block.
For an example program that does not use "M+RJ71GN11_SE_EIP_Class1SetOutputData", refer to the following.
Page 312 Target 2-side program
13 PROGRAMMING
13.1 Precautions for Programming
13
297