Mitsubishi Electric MELSEC iQ-RJ71EN71 User Manual page 60

Ethernet
Hide thumbs Also See for MELSEC iQ-RJ71EN71:
Table of Contents

Advertisement

(0)
When 'bStart' (M0) is turned on, the protocol is executed by the GP.ECPRTCL instruction and D100 to D109 of the receiving side CPU module is read
and stored in D14 to D23 of the sending side CPU module.
'bComp_OK' (M10) is turned on when the protocol completed successfully.
D0 to D8 stores the following as a protocol setting data.
Device
Element name
number
D0
Serial No.
D1
Network No.
D2
Station No.
D3
Requested module I/O
No.
D4
Monitoring timer
D5 to D6
Head device No.
D7
Device code
D8
Number of device points
In this program example, a receiving side program is not required.
1 FUNCTIONS
58
1.3 Communications Using the Predefined Protocol
Setting
Description
value
The number increases one by one each time the 'bStart' (M0) is turned on.
0H
Because the access destination is the connected station (own station), 0H is stored as the request
destination network number.
FFH
Because the access destination is the connected station (own station), FFH is stored as the
request destination station number.
3FFH
Because the access destination is the receiving side CPU module (control CPU of the receiving
side RJ71EN71), 3FFH is stored.
10H
The monitoring timer is set to 4 seconds. (Unit: 250ms)
100
To read D100 to D109, start device number is set to 100.
A8H
To read D100 to D109, device code is set to A8H.
10
To read 10 points from D100 to D109, number of device points is set to 10.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents