B-82604EN/01 OPERATION6.ADDRESS ASSIGNMENT TO POINTS
- 31 -
Then, the points corresponded to the elements of position register are
as follows:
Point Name Address Data Type Point Name Address Data Type
PR1_X %R1 REAL PR1_J1 %R27 REAL
PR1_Y %R3 REAL PR1_J2 %R29 REAL
PR1_Z %R5 REAL PR1_J3 %R31 REAL
PR1_W %R7 REAL PR1_J4 %R33 REAL
PR1_P %R9 REAL PR1_J5 %R35 REAL
PR1_R %R11 REAL PR1_J6 %R37 REAL
PR1_E1 %R13 REAL PR1_J7 %R39 REAL
PR1_E2 %R15 REAL PR1_J8 %R41 REAL
PR1_E3 %R17 REAL PR1_J9 %R43 REAL
PR1_FLIP %R19 INT
PR1_LEFT %R20 INT PR1_UF %R46 INT
PR1_UP %R21 INT PR1_UT %R47 INT
PR1_FRONT %R22 INT
PR1_TURN4 %R23 INT PR1_VALIDC %R26 INT
PR1_TURN5 %R24 INT PR1_VALIDJ %R45 INT
PR1_TURN6 %R25 INT
Specifying @ in $VAR_NAME
Adding @ to $VAR_NAME was described in the section on registers.
Here, @ will be explained in detail.
Suppose that you want to read or write just X, Y, and Z of PR[1]
through PR[3]. Normally, $SNPX_ASG is set as follows:
$ADDRESS $SIZE $VAR_NAME $MULTIPLY
$SNPX_ASG[1] 1 150 PR[1] 1