9
.
Program
40
Destination Device Command
9.2.
The following describes the Destination Device command used in this program.
9.2.1. Overview of the Command
This program reads the Destination Device information by using the "Read Controller
Attributes" command.
Command name
Description
Read Controller Attributes
Reads the attributes of the Destination Device.
9.2.2. Detailed Description of the Function
The following describes the "Read Controller Attributes" command.
●Se
ndCmd instruction send data
[DstNetAdr: Destination network address]
Variable
Setting item
Data type
Setting value
DstNetAdr
Destination network address
_sDNET_ADR
-
NetNo
Network address
USINT
16#00
Fixed: Local network
NodeNo
Node address
USINT
16#00
Fixed: Within local controller
UnitNo
Unit address
BYTE
16#80
Unit number 0 + Port number 1
[CommPort: Destination serial port]
Variable
Setting item
Data type
Setting value
CommPort
Destination serial port
_ePORT
_NONE
Fixed
[CmdSize: Command data size]
Variable
Setting item
Data type
Setting value
CmdSize
Command data size
UINT
11
11 bytes
[Option: Response]
Variable
Setting item
Data type
Setting value
Option
Response
_sRESPONSE
-
isNonResp
Response is not
required.
BOOL
FALSE
Response is required.
TimeOut
Timeout time
UINT
0
Default: 2 sec
Retry
Retry count
USINT
3
3 times