11.3 MECHATROLINK-III I/O Module Settings
11.3.4 I/O Command Details
11-29
SIZE: Write Data Size
ADDRESS: First Write Address
DATA: Data
Execution and Operating Procedure
1.
Make sure that the following condition is met.
2.
Set the following parameters.
• MODE/DATA_TYPE (Mode/Data Type)
• SIZE (Write Data Size)
• ADDRESS (First Write Address)
• DATA (Data)
Setting Precautions
Make any necessary changes to MODE/DATA_TYPE (Mode/Data Type), SIZE (Write Data Size),
ADDRESS (First Write Address), or DATA (data) before executing the Write Memory command or
during the same scan that the I/O Command register is set to 8. Do not change these settings during
execution of the Write Memory command.
3.
Set the I/O Command register to 8 to execute the Write Memory command.
Confirming Completion of the Command
Use the following information to confirm that the command has been completed.
No. Execution Condition Confirmation Method
1
I/O command execution must be com-
pleted.
Command Status bit 2 (CMDRDY) = 1
No. Confirmation Method
1 I/O Command Response register = 8 (Write Parameter)
2 Command Status bit 2 (CMDRDY) = 1
3 NO must be the same in the command and response.
4 SIZE must be the same in the command and response.
5 PARAMETER must be the same in the command and response.
6 DATA must be the same in the command and response.
1. If the command is not completed within 5 seconds after it is executed, bit 0 in the Master Sta-
tus register changes to 1 (TIMEOUT).
2. When bit 0 (D_ALM) or bit 1 (D_WAR) in the Command Status register is 1, check the error
details with the application and perform the stop processing. The system will not perform stop
processing.