44
Explicit Message Communications
Section 2-6
Ladder Program Example
000000
A20011
BSET #0000 D00000 D02999
MOV #000B D00000
㧔
071
㧕
㧔
021
㧕
MOV #0008 D00001
㧔
021
㧕
MOV #0001 D00002
㧔
021
㧕
MOV #05FE D00003
㧔
021
㧕
MOV #0000 D00004
㧔
021
㧕
MOV #0B10 D01001
㧔
021
㧕
MOV #003C D00005
㧔
021
㧕
MOV #2801 D01000
㧔
021
㧕
MOV #009C D01002
㧔
021
㧕
MOV #0001 D01003
㧔
021
㧕
MOV #11FF D01004
㧔
021
㧕
MOV #0700 D01005
㧔
021
㧕
ASL 0000
㧔
025
㧕
CMND D01000 D02000 D00000
㧔
490
㧕
MOV A203 D00006
㧔
021
㧕
ASR 0000
㧔
026
㧕
END
㧔
001
㧕
000014
000019
000025
000000
A20200
000001
A20200
A21900
151100
END
MOV #0001 0000
㧔
021
㧕
First
Cycle
Flag
#0000 set in D00000 to D02999.
#000B set in D00000 (send data bytes: 11).
#0008 set in D00001 (receive data bytes: 8).
#0001 set in D00002 (destination network address: 01)
#05FE set in D00003 (destination node address: 05,
destination unit address: FE)
#0000 set in D00004 (response required,
communications port No.: 0, retries: 0).
Command data
#003C set in D00005 (response monitoring time: 6 s)
#2801 set in D01000
(explicit command).
#0B10 set in D01001.
#009C set in D01002.
#0700 set in D01005.
#0001 set in D01003.
#11FF set in D01004.
#0001 set in CIO 0000.
11 bytes of command data is sent from D01000 to
destination node address 05, and 8 bytes of response
data is stored in D02000 of the local node. (D00000 is
control data).
Contents of CIO 0000 is shifted one bit to the left. (CIO
000001 turns ON)
A203 (Network Communications Response Code) is
stored in D00006.
Contents of CIO 0000 is shifted one bit to the right and
retry executed in next cycle. (CIO 000000 turns ON).
Execute
conditions
Network
Communications
Enabled Flag
Online status
(word n + 1,
bit 00)
Network
Communications
Enabled Flag
Network
Communications
Error Flag
Содержание E3X-CIF11
Страница 3: ...iv...
Страница 21: ...10 Connecting Fiber Amplifier Units Section 1 3...
Страница 63: ...52 Setting Monitoring and Operating Sensors from the DeviceNet Configurator Section 2 7...
Страница 107: ...96 CompoWay F Message Communications Section 4 5...
Страница 125: ...114 Monitoring Incident Light Levels of E3X DA6 P Sensors Appendix B...
Страница 133: ...122 DeviceNet Connection Settings Appendix C...
Страница 135: ...124 DeviceNet Device Profile Appendix D...
Страница 137: ...126 Revision History...