Omron E5*D Series Connection Manual page 44

General-purpose serial. rs-485 compoway/f. machine automation controller,
Hide thumbs Also See for E5*D Series:
Table of Contents

Advertisement

[CmdDat[ ]: Command array]
Variable
Setting item
CmdDat
Element
Command array
number
0
CompoWay/F
1
command
2
Node No.
3
4
Subaddress
5
6
SID
7
8
Command
9
10
:
Text
After the data boxed in red above is set with the following STRING array variable, it is
transferred to the command array (CmsDat[]).
Variable
Local_cmdCWFdata
●SendCmd instruction receive data
[RespDat[ ]: Response storage array]
Variable
Storing item
RespDat
Response storage
Element
array
number
0
CompoWay/F
command
1
2
Command end code
3
4
Node No.
5
6
Subaddress
7
8
End code
9
10
11
Command
12
13
14
15
Response
16
17
:
Text
Data type
ARRAY[0..255
] OF BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
MRC
BYTE
BYTE
SRC
BYTE
BYTE・・・
Data type
CONCAT(NodeNo, SubAddress,SID,
STRING[256]
Data type
ARRAY[0..255
] OF BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
MRC
BYTE
BYTE
SRC
BYTE
BYTE
MRES
BYTE
BYTE
SRES
BYTE
BYTE・・・
Setting value
-
16#28
Fixed
16#03
16#30
"01": Unit No. of Destination
16#31
Device
16#30
"00": Fixed (Not used)
16#30
16#30
"0": Fixed (Not used)
16#30
16#35
"0503": "Read Controller
16#30
Attributes" command
16#33
" ": The setting is not required for
16#00
this command.
Data
MRCSRC, SendText);
Storing value
-
16#28
Fixed: Same as CmdDat[0]
16#03
Fixed: Same as CmdDat[1]
16#**
End code of CompoWay/F
command
16#**
16#30
"01": Unit No. of Destination
Device
16#31
16#30
"00": Fixed (Not used)
16#30
16#**
"xx": End code
("00": Normal end)
16#**
16#30
16#35
"0503": "Read Controller
Attributes" command
16#30
16#33
16#**
16#**
"xxxx"
16#**
("0000": Normal end)
16#**
16#**・・
"xxxx・・・"
9.Program
41

Advertisement

Table of Contents
loading

Table of Contents