EasyManua.ls Logo

Toshiba V Series - Slave Output (Asynchronous Mode) Function Block

Toshiba V Series
264 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6F8C0903
209
D.2 Slave Output (Asynchronous Mode) Function Block
D
D.2 Slave Output (Asynchronous Mode) Function Block
(1) Definitions of Variables
(*===================================================
DeviceNet FB Slave Output (Asynchronous Mode)
===================================================*)
VAR_INPUT
REQ: BOOL; (*Execution request*)
CH: WORD; (*Channel specify*)
UNIT: WORD; (*Unit specify*)
SLOT: WORD; (*Slot specify*)
NODE: UINT; (*Node address*)
BS: WORD; (*BS selection*)
ASWRITE_DT: typeASWRITEDAT; (*Slave device output data*)
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*)
S: ARRAY[0...511] OF type 16BITS; (*SW register word bit 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*)
BS_MODE: BOOL; (*BS mode*)
STEP: ARRAY [0...4] OF BOOL; (*Step*)
DEF1: BOOL; (*Differential contact*)
DN_INSTRUCT_1: DN_INSTRUCT; (*Allocation calculation*)
TMPW: ARRAY[0...2] OF WORD; (*Calculated allocation value*)
TMPI: ARRAY[0...2] OF UINT; (*Calculated allocation value*)
RUN: BOOL; (*Run mode*)
SYN: BOOL; (*Synchronous mode*)
ADR_WRT1: WORD; (*Extension memory address*)
NUM_WRT1: UINT; (*Number of words to transfer)
TMR1: TON_100ms; (*Acknowledgement wait timer*)
TIME1: DINT; (*Acknowledgement wait time*)

Table of Contents

Other manuals for Toshiba V Series

Related product manuals