![background image](http://html1.mh-extra.com/html/omron/e5-d-series/e5-d-series_connection-manual_742546040.webp)
9
.
Program
37
[DstNetAdr: Destination network address]
The following table shows the variables that store a destination network address.
Variable
Setting item
Data type
Description
DstNetAdr
Destination
network address
_sDNET_
ADR
Destination network address
NetNo
Network
address
USINT
USINT#16#00 (fixed): Local network
NodeNo
Node address
USINT
USINT#16#00 (fixed): Communications in local
Controller
UnitNo
Unit address
BYTE
Make the following setting.
Serial port's unit address
For SCU
Port 1: 16#80 + 16#04 x [Unit number (hex)]
Port 2: 16#81 + 16#04 x [Unit number (hex)]
For example, when the unit number (No.10) port 2 is
used, the unit address of serial port is as follows:
= 16#81 + 16#04 x 16#0A = 16#81 + 16#28
= 16#A9
[CommPort: Destination serial port]
The following table shows the variable that stores a destination serial port number.
Variable
Setting item
Data type
Description
CommPort
Destination
serial port
_ePORT
_NONE: The destination is not a serial port in Host
Link Mode.
Set
_NONE
to specify the serial port unit address as
a destination unit address.
[CmdSize: Command data size]
The following table shows the variable that stores the number of command data bytes (send
data).
Variable
Setting item
Data type
Description
CmdSize
Command data
size
UINT
Sets the number of command data bytes.
(UNIT#2 to maximum data length)
[Option: Response]
The following table shows the variables that store settings to receive a response.
Variable
Setting item
Data type
Description
Option
Response
_sRESPO
NSE
Response monitoring and retry specifications
isNonResp
No response
BOOL
TRUE: Response is not required.
FALSE: Response is required.
TimeOut
Timeout time
UINT
Sets UINT#1 to 65535 (indicates 0.1 to 6553.5
seconds). (UINT#0: 2 seconds (default))
Retry
Retry count
USINT
Sets USINT#0 to 15 (0 to 15 times).
Содержание 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 ...