Prm_wr: 02h (write parameter), Alm_rd: 05h (read alarm and warning), Inv_i/o: 41h (drive i/o control) – Yaskawa 1000 Series Drive Option - MECHATROLINK-II Technical Manual User Manual
Page 27

8 MECHATROLINK-II Commands
YASKAWA ELECTRIC
SIEP C730600 50A YASKAWA AC Drive-Option Card MECHATROLINK-II Technical Manual
27
PRM_WR: 02H (Write Parameter)
The PRM_WR sub-command is used to write internal Drive parameters. This sub-command functions in the same way
as the PRM_WR main command.
In the following cases, a warning is generated and the command is ignored. If a warning is generated, the values that
were read are undefined.
• If a register number (NO) fault occurs: Data setting warning (A.94)
• If SIZE is an odd number or is not between 2 and 8: Data setting warning (A.94)
• Data upper and lower limit fault: Data setting warning (A.94)
• During an undervoltage error: Command warning (A.95)
• While using the operator to change settings: Command warning (A.95)
• If not in phase 2 or 3: Command warning (A.95)
• If a main command is PRM_RD or PRM_WR: Command warning (A.95)
ALM_RD: 05H (Read Alarm and Warning)
The ALM_RD sub-command is used to read the fault and alarm status. This sub-command functions in the same way as
the ALM_RD main command.
In the following case, a warning is generated and the command is ignored.
• If ALM_RD_MOD is not set: Data setting warning (A.94)
INV_I/O: 41H (Drive I/O Control)
The INV_I/O sub-command is used to select the type of output from the Drive’s terminals and refers to the values from
the Drive’s internal monitors.
These settings do not need to be set every scan. The settings are saved in the Drive until the next data is received or until
the power is turned OFF.
Byte
Command
Response
17
PRM_WR
PRM_WR
18
0
SUBSTATUS
19, 20
NO
NO
21
SIZE
SIZE
22 to 29
PARAMETER
PARAMETER
Byte
Command
Response
17
ALM_RD
ALM_RD
18
0
SUBSTATUS
19
ALM_RD_MOD
ALM_RD_MOD
20 to 29
0
ALM_DATA
Byte
Sub-Command
Response
17
INV_I/O
INV_I/O
18
0
SUBSTATUS
19
SEL REF3/4
SEL REF3/4
20
SEL REF5/6
SEL REF5/6
21
SEL MON3/4
SEL MON3/4
22
SEL MON5/6
SEL MON5/6
23, 24
Reference selected by SEL REF3
Monitor selected by SEL MON3
25, 26
Reference selected by SEL REF4
Monitor selected by SEL MON4
27, 28
Reference selected by SEL REF5
Monitor selected by SEL MON5
29, 30
Reference selected by SEL REF6
Monitor selected by SEL MON6