Chapter 4. Ladder Diagram (LD) Programming
138
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
4.8
Data Move Functions
The Data Move functions provide basic data move capabilities.
Function
Mnemonics
Description
Array Size
ARRAY_SIZE
Counts the number of elements in an array.
Array Size
Dimension 1
ARRAY_SIZE_DIM1 Returns the value of the Array Dimension 1 property of a one- or
two-dimensional array.
Array Size
Dimension 2
ARRAY_SIZE_DIM2 Returns the value of the Array Dimension 2 property of a two-
dimensional array.
Block Clear
BLK_CLR_WORD
Replaces all the contents of a block of data with zeroes. Can be used
to clear an area of WORD or analog memory.
Block Move
BLKMOV_DINT
BLKMOV_DWORD
BLKMOV_INT
BLKMOV_REAL
BLKMOV_UINT
BLKMOV_WORD
Copies a block of seven constants to a specified memory location.
The constants are input as part of the function.
Bus Read
BUS_RD_BYTE
BUS_RD_DWORD
BUS_RD_WORD
Reads data from a module on the bus.
Bus Read Modify
Write
BUS_RMW_BYTE
BUS_RMW_DWORD
BUS_RMW_WORD
Uses a read/modify/write cycle to update a data element in a
module on the bus.
Bus Test and Set
BUS_TS_BYTE
BUS_TS_WORD
Handles semaphores on the bus.
Bus Write
BUS_WRT_BYTE
BUS_WRT_DWORD
BUS_WRT_WORD
Writes data to a module on the bus.
Communication
Request
COMMREQ
Allows the program to communicate with an intelligent module,
such as a Genius Bus Controller or a High Speed Counter.
Data Initialization DATA_INIT_DINT
DATA_INIT_DWORD
DATA_INIT_INT
DATA_INIT_REAL
DATA_INIT_LREAL
DATA_INIT_UINT
DATA_INIT_WORD
Copies a block of constant data to a reference range. The mnemonic
specifies the data type.
Data Initialize ASCII DATA_INIT_ASCII
Copies a block of constant ASCII text to a reference range.
Data Initialize
DLAN
DATA_INIT_DLAN
Used with a DLAN Interface module.
Data Initialize
Communications
Request
DATA_INIT_COMM Initializes a COMMREQ function with a block of constant data. The
length should equal the size of the COMMREQ
function’s entire
command block.
Содержание PACSystems RSTi-EP
Страница 357: ......
Страница 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...