Modbus TCP On Build in Ethernet Port in Iq F and Iq R EN 2
Modbus TCP On Build in Ethernet Port in Iq F and Iq R EN 2
Modbus TCP On Build in Ethernet Port in Iq F and Iq R EN 2
In the project window go to the Parameter -> RxxCPU -> Module Parameter tab. Then
in the Basic Settings open the <Detail Setting> tab in the External Device Configuration.
The Ethernet Configuration window opens. You need to add an Active Connection from
Module List Ethernet Device (General). The built-in Ethernet port allows communication with
up to 16 devices.
Enter Device IP Address (192.168.3.60) and Port No. 502 (Standart port for
Modbus TCP)
Then close the Ethernet Configuration window using the “Close with Reflecting the
Setting” button.
In the project window go to the Parameter -> FX5UCPU -> Module Parameter -
>Ethernet tab. Then in the Basic Settings open the <Detail Setting> tab in the External
Device Configuration.
The Ethernet Configuration window opens. You need to add an Active Connection from
Module List Ethernet Device (General). The built-in Ethernet port allows communication with
up to 8 devices.
Then close the Ethernet Configuration window using the “Close with Reflecting the
Setting” button.
In the newly opened window select CPU (Ethernet) for iQ-F and Built-in Ethernet CPU
for iQ-R. Then creat a new project.
Then add a new protocol by clicking the “Add” button. The following window will appear.
Sellect:
Model -> Modbus/TCP
Protocol Name -> 03:RD Holding Registers
The next step is to fill in the Packet Setting data. We go to Variable Unset in Request.
The variable assignment window opens.
After completing all the fields the window should look like this:
3 PLC Program
Triggers the Predefined Protocol on the first connection (s1) and one protocol (s2),
as well as the control variables.
In the example, the registry data is in the D1000 register. The value from the analog input
module is read.
Revision history:
Rev. Date: Note:
1.0 2017-05-26
Attachments:
File name: Description:
FX5-MODBUS TCP.gx3 Sample project Gx Works 3 for iQ-F
MODBUS TCP FX5.tpx Sample project Predefined Protocol for iQ-F
iQ-R-MODBUS TCP.gx3 Sample project Gx Works 3 for iQ-R
Modbus TCP iQ-R.tp2 Sample project Predefined Protocol for iQ-R