omron — 6.2. Data Types for Tag Data Links

6 . EtherNet/IP Settings 6. EtherNet/IP Settings This section describes the specifications such as communication parameters and tag data link that are set in this document. Hereinafter, the FZ5 Sensor Controller is referred to as the "Destination Device" in some descriptions. The communications parameter required connecting the Controller and the Destination Device via EtherNet/IP is given below. The following data types are used for the data in the tag data links of the Destination Device. These data types are set in the "Configuration Files". ■ Definition of the data type to access the signals (Union) These data types are used to access the control signals and status signals.

U_EIPFlag UNION F BOOL[32] W DWORD ■ Definition of the data type to access the command area (Structure) ■ Definition of the data type to access the response/output areas (Structure) These data types are used to access the command area. These data types are used to access the response/output areas. 8 6.1. EtherNet/IP Communications Parameters Controller (node 1) FZ5 Sensor Controller (node 2) IP address 192.168.250.1 192.168.250.2 Subnet mask 255.255.255.0 255.255.255.0 6.2.

Data Types for Tag Data Links Data type name Data type Data type name Data type Destination device data S EIPOutput _ STRUCT - ControlFlag U EIPFlag Control signal (32 bits) CommandCode _ DWORD Command code (CMD-CODE) CommandParam1 DINT Command parameter (CMD-PARAM) CommandParam2 DINT CommandParam3 DINT Data type name Data type Destination device data S EIPInput _ STRUCT - StatusFlag U EIPFlag _ Control output (32 bits) CommandCodeEcho DWORD Command code (CMD-CODE) ResponseCode DINT Response code (RES-CODE) ResponseData DINT Response data (RES-DATA) OutputData DINT[8] Output data 0 to 7 (DATA 0 to 7)