![background image](http://html1.mh-extra.com/html/omron/3g3ax-mx2-crt-e/3g3ax-mx2-crt-e_user-manual_740779131.webp)
5 - 13
5 Message Communications
CompoNet Communications Unit User’s Manual (I582-E1)
5-
4 Paramet
er Read
/W
rite
(Class
64
hex)
5
5-
4-6 Lad
der Pro
gramming Exa
m
ple
The following is an example of a program that writes a value of 7.00 s (2BC hex in unit of 0.01 s) into
parameter F002 1st Acceleration Time Setting (Modbus Register No. 1103 hex).
Parameter F002 1st Acceleration Time Setting takes double-word data.
5-4-6
Ladder Programming Example
Ladder Programming Example
000000
A20011
Sets D00000 to D02999 to #0000.
BSET #0000 D00000 D02999
(071)
Sets D00000 to #000D. (Number of bytes of sent data: 13)
Sets D00001 to #000A.
(Number of bytes of received data: 10)
Sets D00002 to #0001. (Destination network address 01)
Sets D00003 to #05FE.
(Destination node address 05, Destination unit address FE)
Sets D00004 to #0000.
(Response required, Communications port No. 0,
No. of resends 0)
Sets D00005 to #000A. (Response monitor time 1.0 s)
Sets D01000 to #2802.
(Explicit command)
Sets D10002 to #0064.
Sets D10001 to #0B01.
Sets D10003 to #0011.
MOV #000D D00000
MOV #000A D00001
(021)
MOV #0001 D00002
(021)
MOV #05FE D00003
(021)
MOV #0000 D00004
(021)
Sets D10004 to #03BC.
(Command data)
Shifts contents of word address 0000 one bit to left
(to turn 000001 ON).
Shifts contents of word address 0000 one bit to right and
retry in next cycle (to turn 000000 ON).
Stores A203 (Network communications response code)
in D00006.
ASL 0000
(025)
CMND D01000 D02000 D00000
(490)
MOV A203 D00006
(021)
ASL 0000
(026)
END
(001)
000014
000019
000025
Command
Execution
Condition
000000
A20200
Network
Communications
Command Execution
Enabled
000001
A20200
Network
Communications
Command
Execution
Enabled
A21900
Network
Communications
Command
Execution Error
END
Sets 0000CH to #0001.
P_First_Cycle
(1 Cycle ON at
Operation Start
flag)
Wait for
Command
Execution
Completion
ASR 0000
A21900
Ends if successful.
Sets D10005 to #0200.
Sets D10006 to #00--.
(021)
MOV #000A D00005
MOV #2802 D10000
MOV #0B10 D10001
MOV #0064 D10002
MOV #0011 D10003
MOV #03BC D10004
MOV #0200 D10005
MOV #0001 0000
MOV #0000 D10006
(021)
(021)
(021)
(021)
(021)
(021)
(021)
(021)
(021)
(025)
Issues 9 bytes of command data from D01000 to destination
node address 05 and stores 10 bytes of response data to
D02000 on local node (D00000: Control data)
Summary of Contents for 3G3AX-MX2-CRT-E
Page 94: ...3 Network Startup 3 36 CompoNet Communications Unit User s Manual I582 E1...
Page 118: ...4 Remote I O 4 24 CompoNet Communications Unit User s Manual I582 E1...
Page 134: ...5 Message Communications 5 16 CompoNet Communications Unit User s Manual I582 E1...
Page 167: ...I 1 I CompoNet Communications Unit User s Manual I582 E1 Index...
Page 171: ......