
A. MACRO PROGRAM EXAMPLE
B–61803E–1/10
APPENDIX
190
0310 #103 =P [#102
*
4+1821].1
The contents of parameter specified by P [ ] is read to
common variable #103.
Here, value of #102 changes from 0 to 2 and parameters
1821, 1825, 1829 are read.
1821.1 Reference counter
1825.1 Loop gain multiply
1829.1 Excessive error at stop
(3) O0054
Use data table No. 699 for data transfer with PMC, and write Program
No.,
AUTO mode selection and cycle start signal.
76543210
MC. SD699 MC. A PN8M PN4M PN2M PN1M
Program No.
Macro AUTO mode selecting signal
Macro start signal
In the PMC sequence program, the external Program No. from the
machine side was made invalid and Program No. from the macro
valid when the AUTO mode from the macro (MC.A) is received.
When MC.A signal is input, the mode on the operator’s panel is
changed to ”AUTO” automatically.
When the timer preset time elapses after the mode selection, turn the
cycle start signal ON.
Within PMC, this signal is ”OR” with the cycle start signal on the
operator’s panel.
MC. S
MC. A
PN1 to 8M