Chapter 4. Ladder Diagram (LD) Programming138 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C4.8 Data Move FunctionsThe Data Move functions provide basic data move capabilities.Function Mnemonics DescriptionArray Size ARRAY_SIZE Counts the number of elements in an array.Array SizeDimension 1ARRAY_SIZE_DIM1 Returns the value of the Array Dimension 1 property of a one- ortwo-dimensional array.Array SizeDimension 2ARRAY_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 usedto clear an area of WORD or analog memory.Block Move BLKMOV_DINTBLKMOV_DWORDBLKMOV_INTBLKMOV_REALBLKMOV_UINTBLKMOV_WORDCopies a block of seven constants to a specified memory location.The constants are input as part of the function.Bus Read BUS_RD_BYTEBUS_RD_DWORDBUS_RD_WORDReads data from a module on the bus.Bus Read ModifyWriteBUS_RMW_BYTEBUS_RMW_DWORDBUS_RMW_WORDUses a read/modify/write cycle to update a data element in amodule on the bus.Bus Test and Set BUS_TS_BYTEBUS_TS_WORDHandles semaphores on the bus.Bus Write BUS_WRT_BYTEBUS_WRT_DWORDBUS_WRT_WORDWrites data to a module on the bus.CommunicationRequestCOMMREQ Allows the program to communicate with an intelligent module,such as a Genius Bus Controller or a High Speed Counter.Data Initialization DATA_INIT_DINTDATA_INIT_DWORDDATA_INIT_INTDATA_INIT_REALDATA_INIT_LREALDATA_INIT_UINTDATA_INIT_WORDCopies a block of constant data to a reference range. The mnemonicspecifies the data type.Data Initialize ASCII DATA_INIT_ASCII Copies a block of constant ASCII text to a reference range.Data InitializeDLANDATA_INIT_DLAN Used with a DLAN Interface module.Data InitializeCommunicationsRequestDATA_INIT_COMM Initializes a COMMREQ function with a block of constant data. Thelength should equal the size of the COMMREQ function’s entirecommand block.