176
model 2000 DeviceNet Module Manual (DN611/DN611A)
Appendix C Definition of Each Request Function Block
C
C.4 Operation Mode Control Request Function Block
(1) Definitions of Variables
(*===================================================
DeviceNet FB
Operation Mode
===================================================*)
VAR_INPUT
REQ:
BOOL; (*Execution request*)
CH:
WORD; (*Channel specify*)
UNIT:
WORD; (*Unit specify*)
SLOT:
WORD; (*Slot specify*)
SPEC:
WORD; (*Specified information*)
END_VAR
VAR_OUTPUT
DONE:
BOOL; (*Completion*)
ERR:
BOOL; (*Error*)
STATUS:
WORD; (*Status*)
END_VAR
VAR_EXTERNAL
SW:
ARRAY[0...511] OF INT; (*SW register INT access*)
END_VAR
VAR
SLOTNO:
WORD; (*R/W slot number*)
TMP_CH:
WORD; (*R/W channel number*)
TMP_UNIT:
WORD; (*R/W unit number*)
TMP_CHUNIT:
WORD; (*R/W channel/slot numbers*)
S3:
BOOL; (*S3 selection*)
S2:
BOOL; (*S2 selection*)
STEP:
ARRAY [0...7] OF BOOL; (*Step*)
DEF1:
BOOL; (*Differential contact*)
DUMMY_W1:
BOOL; (*Dummy*)
ADR_WRT1:
WORD; (*Extension memory address*)
DAT_WRT1:
ARRAY[0...1] OF WORD; (*Transfer source variable*)
NUM_WRT1:
UINT; (*Number of words to transfer)
DUMMY_W2:
BOOL; (*Dummy*)
ADR_WRT2:
WORD; (*Extension memory address*)
DAT_WRT2:
WORD; (*Transfer source variable*)
NUM_WRT2:
UINT; (*Number of words to transfer)
DUMMY_W3:
BOOL; (*Dummy*)
ADR_WRT3:
WORD; (*Extension memory address*)
DAT_WRT3:
WORD; (*Transfer source variable*)
NUM_WRT3:
UINT; (*Number of words to transfer)
DUMMY_R1:
BOOL; (*Dummy*)
ADR_RED1:
WORD; (*Extension memory address*)