144
2 PARAMETER SETTINGS
2.4 Application Settings
1. Set the interrupt setting parameters for the master/local module (station No.0) as shown below.
By using link special relay (SB) and link special register (SW) as an interrupt condition device, an interrupt
program can be started in case of data link error. ( Page 294 List of Link Special Relay (SB), Page 314
List of Link Special Register (SW))
■Starting the interrupt program of the master station (station No.0) when the master station
receives data sent from another station using the SEND instruction
The following is a setting example to execute the interrupt program corresponding to the interrupt pointer I52 when the master
station (station No.0) receives data sent from the local station (station No.1) using the SEND instruction in channel 2.
1. Set the interrupt setting parameters for the master/local module (station No.0) as shown below.
IP Address
Set the IP address of the master station and submaster station to communicate with Ethernet device over CC-Link IE Field
Network. ( Page 44 Rules for the IP address setting)
Item Description Setting range
IP Address Only the network address part (first and second octets) of the IP address needs to be set. The network
number part (third octet) and the station number part (fourth octet) are automatically set.
• Set an IP address for the master station and submaster station only.
• Use the same network address for the request source device, request destination device, and modules
among them.
• Whether the network address of the master station matches with that of the submaster station can be
checked with 'Mismatch status of the master operating station IP address' (SB0080)
• Since automatically assigned, an IP address needs not to be set for local stations. (The network address
same as that of the master station is automatically set.)
First octet: 0 to 223
Second octet: 0 to 255
I52
SM400
IRET
RECVS
SEND
·
Interrupt program
execution
Channel 2
Channel 1
Channel 2
Master station
(station No.0)
Local station
(station No.1)
Master/local module Master/local module
CPU module CPU module
Channel 1