128
Description Register instructions are used for register assignment changes, etc., including
floating-point R registers, joints as coordinate type JR registers, Cartesian type LR registers, of
which 300 R registers are available for user use, JR and LR registers have 300 One. Generally, the
user assigns the preset value to the register corresponding to the index number, such as: R[0]=1,
JR[0]=JR[1], LR[0]=LR[1], the register can be directly Used in the program.
Register instructions include R[], JR[], LR[], JR[][], LR[][], P[], P[][].
Steps
1. Select the previous line of the register instruction line to be added.
2. Select instruction
→
Assignment instruction.
Example:
R[1] = 1
R[1] = R[2]
R[1] =R[1]+1
R[1] = DI[1]
R[1] =DO[1]
R[1] = JR[0][0]+LR[0][1]*R[2]-(R[3]/2+R[4])
JR[1]=JR[2]
JR[1]=JR[2]+JR[3]
JR[1]=(JR[2]*JR[3])+(JR[4]/JR[5]-JR[6])
JR[R[1]]=P[1]
JR[1][0]=JR[3][0]
JR[1][8]=R[1]
JR[1][0]=P[1][0]
JR[1][1]=JR[1][R[1]]*2
JR[1][1]= JR[1][1]*R[2]
JR[R[1]][R[2]]=JR[1][0]-R[1]
JR[(R[23]+JR[1][1])-(JR[1][8]/P[1][0])*2-21]
=
(JR[1]-
JR[2])+JR[R[1]]*P[R[1]]/(R[1]+1)
As mentioned above, it is used for register compound operation. Same
for LR and P.
Note: LR[1]=LR[2]+LR[3], at this time LR[1] takes the form of
LR[2].