Slave Data Input/Output - Toshiba V Series Manual

Integrated, devicenet module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 5 Example of Use of the DN311

5.3 Slave Data Input/Output

5
96
(1) Structure declaration
TYPE
(*========================================================
Structure(User0)
========================================================*)
TypeP_LOCAL:STRUCT(*Local node parameter set value*)
PORT
LOCAL_ADR
POL_TRMODE
SCAN_INTERVAL
BGPOL_RATIO
RETR_CNT
TR_TIMING
END_STRUCT:
typeDEV:STRUCT(*Slave device parameter set value*)
PORT
SLAVE_ADR
VENDOR_ID
P_TYPE
P_CODE
SCANTYPE
POL_BK
BS_RCVSIZE
POL_RCVSIZE
RESERVED1
POL_SNDSIZE
RESERVED2
MAJOR_REV
NINOR_REV
RESERVED3
RESERVED4
END_STRUCT:
typeP_SLAVE:STRUCT(*Slave device parameter set value*)
DEV
END_STRUCT:
typeASREADDAY:STRUCT(*Slave device input data*)
RDAT
END_STRUCT:
typeASWRITEDAT:STRUCT(*Slave device output data*)
WDAT
END_STRUCT:
typeWRITEDAT:STRUCT(*Slave device output data*)
WPOL
WBS
END_STRUCT:
typeREADDAT:STRUCT(*Slave device input data*)
RPOL
END_STRUCT:
:WORD; (*Port number*)
:WORD; (*Local node address*))
:WORD; (*Polling transmission mode*)
:WORD; (*Scan interval*)
:WORD; (*Background poll ratio*)
:WORD; (*Retransmission counter*)
:WORD; (*Transmission timing*)
:WORD; (*Port number*)
:WORD; (*Slave node address*)
:WORD; (*Vendor ID*)
:WORD; (*Product type*)
::WORD; (*Product code*)
:WORD; (*Scan type*)
:WORD; (*Poll background*)
:WORD; (*Bit strobe receive size*)
:WORD; (*Polling receive size*)
:WORD; (*Reserved 1*)
:WORD; (*Polling send size*)
:WORD; (*Reserved 2*)
:WORD; (*Major revision*)
:WORD; (*Minor revision*)
:WORD; (*Reserved 3*)
:WORD; (*Reserved 4*)
:ARRAY [0..9] OF typeDEV; (*Slave device parameter set value*)
:ARRAY [0..5] OF WORD; (*Slave device input data*)
:ARRAY [0..5] OF WORD; (*Slave device output data*)
:ARRAY [0..377] OF WORD; (*Slave device output polling data*)
:ARRAY[0..3]OF WORD; (*Slave device output BS data*)
:ARRAY[0..377]OF WORD; (*Slave device input data*)
model 3000 DeviceNet Module Manual (DN311/DN311A)

Advertisement

Table of Contents
loading

This manual is also suitable for:

3000Dn311Dn311a

Table of Contents