Download RTD Input Module User`s Manual

Transcript
Chapter 7 Internal Memory Configuration and Functions (For XGI/XGR)
(b) ARY_ PUT instruction
ARY_PUTE_WORD/_DWORD
Writing data to special module
Function Block
Description
INPUT
REQ: When it’s 1, function is executed
BASE : Base location
SLOT : Slot location
MADDR : Module address (0 to 1023)
MASK : Select word location
0: lower word, 1: upper word
DATA : Data to save at module
(WORD or DWORD type)
SIZE : Write data number
(WORD type:1 to 64, DWORD type: 1 to 32)
OUTPUT
DONE : If normally executed, 1 is outputted
STAT : Error information
■ Function
1) Write data from the designated special module
2) Sort WORD and DWORD depending on the data type, use it.
3) Depending on the state in which it is set to MASK, select the location to save the data.
0=> Low word of the address of the module specified in the MADDR
1=> High word of the address of the module specified in the MADDR
7-39