6F8C0903
75
4.3 Requests to the DN311
4
(4) Slave device parameters
PARA_SLAVE structure
DEVICE_ARRAY [0...9] Structural data type Slave device parameter set value
DEVICE structure
PORT WORD type Port No.
SLAVE_ADR WORD type Slave node address
VENDOR_ID WORD type Vendor ID
P_TYPE D type Product type
P_CODE WORD type Product code
SCANTYPE WORD type Scan type
POL_BK WORD type Poll background
BS_RCVSIZE WORD type Bit strobe receive size
POL_RCVSIZE WORD type Polling receive size
RESERVED1 WORD type Reserved
POL_SNDSIZE WORD type Polling send size
RESERVED2 WORD type Reserved
MAJOR_REV WORD type Major revision
MINOR_REV WORD type Minor revision
RESERVED3 WORD type Reserved
RESERVED4 WORD type Reserved
For those items marked (*), refer to the manual for the slave devices.
Table 4-14 Slave Device Parameters
Parameter Description
Port No. Set 0 fixed.
Slave node address Specify a node address for a slave whose parameters are to be set.
Range of setting: 0 to 63
Vendor ID Specify a vendor ID for a slave whose parameters are to be set.
(*)Product type Specify the product type of a slave whose parameters
are to be set. (*)
Product code Specify the product code of a slave whose parameters are to be set. (*)
Scan type Specify a mode of transmission between DN311 and slave. (*)
0: Bit strobe Other than 0, 1, 2:
1: Polling Cannot be set.
2: Bit strobe and polling
Poll background Specify an interval at which DN311 accesses devices.
00: Scan polling (Access every scan)
01: Background polling (Access every scans specified in poll ratio)
Bit strobe receive size Specify a size of data from a slave of bit strobe type to DN311 in bytes. (*)
Polling receive size Specify a size of data from a slave of polling type to DN311 in bytes. (*)
Polling send size Specify a size of data from DN311 to a slave of polling type in bytes. (*)
Major revision Specify a slave major revision. (*)
Minor revision Specify a slave minor revision. (*)
Reserved Set 0.