4.3 Motion Subcommand Details
4.3.6 FIXPRM_RD (Read Fixed Parameter)
4
Motion Control Program Commands and Instructions
4-133
4.3.6
FIXPRM_RD (Read Fixed Parameter)
The current value of the fixed parameter that is specified in the OW5C setting parameter
(Fixed Parameter Number) is reported in the IL56 monitor parameter (Fixed Parameter
Monitor).
Execution and Operating Procedures
1.
Make sure that the following condition is met.
* This subcommand cannot be executed until the execution of other motion subcommands is completed.
2.
Set the OW5C setting parameter (Fixed Parameter Number).
3.
Set the OW0A setting parameter (Motion Subcommands) to 5 to execute the FIX-
PRM_RD motion subcommand.
The current value of the specified fixed parameter is read, and the code is stored in the monitor
parameter.
The IW0A monitor parameter (Motion Subcommand Response Code) is 5 during execution of
this command.
During command processing, bit 0 in the IW0B monitor parameter will change to 1 (Process-
ing). When processing is completed, this bit will change to 0 (Completed).
4.
Set OW0A to 0 to execute the NOP motion subcommand.
This concludes the read fixed parameter operation.
Related Parameters
The parameters that are related to this subcommand are listed in the following table.
Setting Parameters
Monitor Parameters
No. Execution Condition Confirmation Method
1
Execution of motion subcommands must be
completed.*
IW0A must be 0 and bit 0 in
IW0B must be 0.
Register
Address
Name Setting Details
OW
0A
Motion Subcom-
mands
Set this parameter to 5 (FIXPRM_RD) to read a fixed parameter.
OW
5C
Fixed Parameter
Number
Set the number of the fixed parameter to read.
Register
Address
Name Monitored Contents
IW0A
Motion Subcom-
mand Response
Code
This parameter shows the motion subcommand that is currently in exe-
cution.
This parameter is 5 during execution of the FIXPRM_RD command.
IW
0B
Bit 0
Command Execu-
tion Flag
This bit is 1 (Processing) during execution of the FIXPRM_RD command.
The bit changes to 0 (Completed) when execution ends.
IW
0B
Bit 3
Command Error End
This bit changes to 1 (Completed with an error) when an error occurs
during execution of the FIXPRM_RD command. This bit changes to 0
(Completed normally) when another command is executed.
IW
0B
Bit 8
Command Execu-
tion Completed
This bit changes to 1 (Normal execution completed) when execution of
the FIXPRM_RD command ends.
IL
56
Fixed Parameter
Monitor
This parameter reports the fixed parameter data for the specified fixed
parameter number.