B-82604EN/01 OPERATION 7.APPENDIX
- 57 -
7.1.4 $SNPX_ASG Settings (em_init.bcl)
In the VB script em_init.bcl, the values of $SNPX_ASG are set for
assignment to %R’s as follows:
intRobotSum = 3
For i = 1 To intRobotSum
PointSet "COMMAND_" & CStr(i),"CLRASG"
PointSet "COMMAND_" & CStr(i),"SETASG 1 400
R[1] 1.0"
PointSet "COMMAND_" & CStr(i),"SETASG 401 5000
PR[1] 0"
PointSet "COMMAND_" & CStr(i),"SETASG 5401 1000
ALM[1] 1.0"
PointSet "COMMAND_" & CStr(i),"SETASG 6401 1000
ALM[E1] 1.0"
PointSet "COMMAND_" & CStr(i),"SETASG 7401 50
POS[0] 0"
PointSet "COMMAND_" & CStr(i),"SETASG 7451 18
PRG[1] 1.0"
PointSet "COMMAND_" & CStr(i),"SETASG 7501 100
R[C1]@1.10 1.0"
PointSet "COMMAND_" & CStr(i),"SETASG 7601 100
PR[C1]@1.10 1.0"
PointSet "COMMAND_" & CStr(i),"SETASG 7701 2
$mcr.$genoverride 1.0"
Next i
Here, three points named COMMAND_1, COMMAND_2, and
COMMAND_3 are assigned to %G1 of each robot. Setting command
strings to these points (executing PointSet in VB Scrip), these
commands are written to PLC address %G, and are executed in R-J3.
7.1.5 Running ROBOGUIDE To Monitor The Robot Motion
(TOP.CIM)
On the screen TOP.CIM, 3D animation of three robots is displayed by
ROBOGUIDE.
ROBOGUIDE is called, and is given the robot motion infomations in
the VB Script defined in TOP.CIM.