3.2 Settings for Triggers at Preset Positions3.2.4 Making Settings with the MEM_WR Command3-14 Command ParametersThe details of MODE/DATA_TYPE are described below.MODE = 1: Volatile memory, 2: Non-volatile memory (Non-volatile memory can be selected onlyfor common parameters)DATA_TYPE = 1: Byte, 2: Short, 3: Long, 4: Not supportedSIZE: Data size for writing (type specified by DATA_TYPE)ADDRESS: Initial address for writingDATA: Data to be written Command Warning The details of CMD_ALM of the MEM_RD/MEM_WR command are described below. Setting Command DataExamples of using the MEM_WR command for triggers at preset positions to write the settingtable parameters, saving the settings to non-volatile memory, and initializing related parametersare given below. Example of Setting the Output Position for Output Setting 1 to 100,000ADDRESS = 0xF0050000MODE/DATA_TYPE = 0x13SIZE = 0x01DATA = 100000 Saving Parameters Related to Outputs at Preset PositionsUse the following procedure to save the settings in RAM to non-volatile memory. Send thecommands in the following order.bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0MODE DATA_TYPECMD_ALM Displayed Code Error Details9 hexA.94AWhen an initial address outside the defined areas is specifiedWhen an address within the reserved ranges of common parameter or ven-dor-specific areas is specifiedWhen a value other than a multiple of the data size specified in DATA_TYPEis set for ADDRESSA.94B When the MODE or DATA_TYPE data is invalidA.94DWhen the initial address is within the defined areas but the specified sizegoes beyond those areasWhen a data size beyond the specification of the command format is set forSIZEStep Description Setting Example1 Set the request code for writing to non-volatile memory.ADDRESS = 0x80004000MODE/DATA_TYPE = 0x22SIZE = 0x0001DATA = 0x20252 Execute preparation process 1 for writingto non-volatile memory.ADDRESS = 0x800041E0MODE/DATA_TYPE = 0x22SIZE = 0x0001DATA = 0x00033 Execute preparation process 2 for writingto non-volatile memory.ADDRESS = 0x800041E4MODE/DATA_TYPE = 0x23SIZE = 0x0001DATA = 0xF0050000Continued on next page.