![background image](http://html1.mh-extra.com/html/omron/e5-d-series/e5-d-series_connection-manual_742546044.webp)
9
.
Program
41
[CmdDat[ ]: Command array]
Variable
Setting item
Data type
Setting value
CmdDat
Command array
ARRAY[0..255
] OF BYTE
-
Element
number
0
CompoWay/F
command
BYTE
16#28
Fixed
1
BYTE
16#03
2
Node No.
BYTE
16#30
"01": Unit No. of Destination
Device
3
BYTE
16#31
4
Subaddress
BYTE
16#30
"00": Fixed (Not used)
5
BYTE
16#30
6
SID
BYTE
16#30
"0": Fixed (Not used)
7
Command
MRC
BYTE
16#30
"0503": "Read Controller
Attributes" command
8
BYTE
16#35
9
SRC
BYTE
16#30
10
BYTE
16#33
:
Text
BYTE
・・・
16#00
" ": The setting is not required for
this command.
After the data boxed in red above is set with the following STRING array variable, it is
transferred to the command array (CmsDat[]).
Variable
Data type
Data
Local_cmdCWFdata
STRING[256]
CONCAT(NodeNo, SubAddress,SID,
MRCSRC, SendText);
●SendC
md instruction receive data
[RespDat[ ]: Response storage array]
Variable
Storing item
Data type
Storing value
RespDat
Response storage
array
ARRAY[0..255
] OF BYTE
-
Element
number
0
CompoWay/F
command
BYTE
16#28
Fixed: Same as CmdDat[0]
1
BYTE
16#03
Fixed: Same as CmdDat[1]
2
Command end code
BYTE
16#**
End code of CompoWay/F
command
3
BYTE
16#**
4
Node No.
BYTE
16#30
"01": Unit No. of Destination
Device
5
BYTE
16#31
6
Subaddress
BYTE
16#30
"00": Fixed (Not used)
7
BYTE
16#30
8
End code
BYTE
16#**
"xx": End code
("00": Normal end)
9
BYTE
16#**
10
Command
MRC
BYTE
16#30
"0503": "Read Controller
Attributes" command
11
BYTE
16#35
12
SRC
BYTE
16#30
13
BYTE
16#33
14
Response
MRES
BYTE
16#**
"xxxx"
("0000": Normal end)
15
BYTE
16#**
16
SRES
BYTE
16#**
17
BYTE
16#**
:
Text
BYTE
・・・
16#**
・・
"xxxx
・・・
"
Содержание E5*D series
Страница 51: ...9 Program 48 2 Initialization processing ...
Страница 52: ...9 Program 49 3 CompoWay F communications processing ...
Страница 53: ...9 Program 50 4 Processing number error process ...
Страница 60: ...2013 2018 0618 0113 P E1 0 ...