Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 95

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Resetting the watchdog timer
Instruction symbol
Processing details
WDT
Resets the watchdog timer.
WDTP
Structure creation instructions
■Performing the FOR to NEXT instruction loop
Instruction symbol
Processing details
FOR
Executes the processing between FOR to NEXT (n) times.
NEXT
■Forcibly terminating the FOR to NEXT instruction loop
Instruction symbol
Processing details
BREAK
Forcibly terminates the loop processing between the FOR and NEXT instructions, and passes the
control to the specified pointer.
BREAKP
■Calling a subroutine program
Instruction symbol
Processing details
CALL
Executes a subroutine program specified by (P) when the input condition is met.
(For (s1) to (s5), specify the arguments to be passed to the subroutine program.)
CALLP
■Returning from the subroutine program called
Instruction symbol
Processing details
RET
Indicates the end of a subroutine program.
■Calling a subroutine program and turning the output off
Instruction symbol
Processing details
FCALL
Performs non-execution processing of the subroutine program specified by (P) when the input
conditions are not met.
FCALLP
(For (s1) to (s5), specify the arguments to be passed to the subroutine program.)
■Calling a subroutine program in the specified program file
Instruction symbol
Processing details
ECALL
Executes the subroutine program specified by (P) of the specified program when the input
conditions are met.
ECALLP
(For (s1) to (s5), specify the arguments to be passed to the subroutine program.)
■Calling a subroutine program in the specified program file and turning the output off
Instruction symbol
Processing details
EFCALL
Performs non-execution processing of the subroutine program specified by (P) of the specified
program when the input conditions are not met. (For (s1) to (s5), specify the arguments to be
EFCALLP
passed to the subroutine program.)
■Calling a subroutine program
Instruction symbol
Processing details
XCALL
Executes a subroutine program specified by (P) when the input condition is met.
Perform non-execution processing of the subroutine program specified by (P) when the input
conditions are not met.
(For (s1) to (s5), specify the arguments to be passed to the subroutine program.)
Reference
Page 554 WDT(P)
Reference
Page 555 FOR, NEXT
Reference
Page 557 BREAK(P)
Reference
Page 559 CALL(P)
Reference
Page 563 RET
Reference
Page 564 FCALL(P)
Reference
Page 568 ECALL(P)
Reference
Page 573 EFCALL(P)
Reference
Page 578 XCALL
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
2
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents