Rn and Rm = Register Number (0 to 114)
Fn = Flag number (0 to 99)
It will compare Rn and Rm, and if Rn is not equal to Rm then it will set Fn (bit status) to 1.
38. IF (OPCODE
This command is used for condition application.
Example,
IF Fn
Where,
Fn = Flag number (0 to 99)
If Fn is 1 then it will go to IF loop otherwise it will execute the PLC code written after
ELSE command.
39. ELSE (OPCODE
This command is used for condition application.
Example,
ELSE
If IF command condition is false then it will go to the ELSE loop. Otherwise it will execute the
PLC code written after END_IF command.
40. END_IF (OPCODE
This command indicates end of IF and ELSE condition loop.
6
NOTE: END_IF command must be used after IF, ELSE command.
Example,
IF Fn
.......
END_IF
Note: Nested IF....ELSE.....END_IF statement is not supported.
41. JUMP (OPCODE
This command is used for branch application.
Example,
JUMP Xn
Where,
Xn = Command Number (1 to 100)
It will JUMP to selected Xn Command number and start executing from there.
Note: OPCODE no. 045 Reserved.
42. READ_PSO (OPCODE
This command is used to read PSO status in selected Flag Number.
Example,
READ_PSO Fn PSOm
Where,
Fn = Flag number (0 to 99)
PSOm = PSO number (1 to 7)
43. READ_PSI (OPCODE
This command is used to read PSI status from inverter to In-built PLC.
For this, user must have to select below PLC option in Inverter parameters C101 to C106 and C114 to
C115.
Amtech
6-122
041)
042)
043)
OR
044)
046)
047)
IF Fn
.........
ELSE
.........
END_IF
Need help?
Do you have a question about the Axpert-Eazy Series and is the answer not in the manual?