Accell MPC-68K Series Manual de usuario

Busca en linea o descarga Manual de usuario para No Accell MPC-68K Series. Accell MPC-68K Series User`s manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
MPC-684 Programing tutorials
ACCEL
Last update May 24,2005
(MPC-684F)
This tutorial is an outline for MPC-684 programming.
Please see the “MPC-684 Users manual” for details about products and commands.
For the newest information you should look at the web site http://www.accelmpc.co.jp
1
Vista de pagina 0
1 2 3 4 5 6 ... 44 45

Indice de contenidos

Pagina 1 - MPC-684 Programing tutorials

MPC-684 Programing tutorials ACCEL Last update May 24,2005 (MPC-684F) This tutorial is an outline for MPC-684 programming. Please see the “M

Pagina 2

Input commands There are 3 types of input control.  Direct executed commands: Single command statements executed immediately.  Program executed

Pagina 3

I/O check There are 2 ways to check input and output conditions. To check by command  The following are commands used to complete a basic I/O chec

Pagina 4

 You can check about MPG-314's INPUT by "INCHK_314" command. #INCHK_314 /* scan start X_S1 ON Y_S1 ON Z_S1 __ U_S1 __ X_S2

Pagina 5 - MPC-684 family

How to input program  To write a program include a line number before the command. Press the enter key after writing each command, so it can be tran

Pagina 6 - The feature of the MPC-684

Subroutine  A subroutine is a piece of code, much like any code in a program. A subroutine has an entry point and an exit point. At the entry of a

Pagina 7 - Software

Parameter of subroutine, return value  You can set a subroutine with parameters. The parameter values are activated by the main routine using the

Pagina 8 - How to connect

Edit of a program  Explanation of useful operations for editing a program LIST display  ‘LIST’ is the command used most. LIST [n,m] n: Start l

Pagina 9 - BASIC like + multi tasking

Insert statement 10 *LOOP 20 ON 0 30 OFF 0 40 GOTO *LOOP 10 *LOOP 20 ON 0 25 TIME 50<Enter> 30 OFF 0 4

Pagina 10 - Input commands

Other key operations 18

Pagina 11 - Check by the “I/O checker”

How to program save to the PC, load from the PC Program save to the PC  You can save the program to your PC by pushing 'F9' then selecti

Pagina 12

Index MPC-684 family...

Pagina 13 - Comment

Program load from the PC  You can load the program from your PC by pushing 'F9' then selecting 'Program Load' from the menu. 

Pagina 14 - Subroutine

I/O control  You can control an I/O Port for every bit or byte.  Bit operating is for simple device control. ex. solenoid valves, relays and switch

Pagina 15

Variable, Array variable, String variable, Memory I/O  MPC-684 has a lot of variables, array variables, string variables and memory I/Os. These are

Pagina 16 - LIST display

Array variable  A DIM command secures specific array variable partitions in the memory. 10 DIM ARRY(100) /* secure ARRY(0)ARRY(99) 20

Pagina 17 - Delete statement

Calculation + addition A=B+C - substruction A=B-C * multiplication A=B*C / division A=B/C % surplus A=B%C & logical multiplication (AND) A

Pagina 18 - Other key operations

Pulse generation  This chapter introduces pulse generating using the MPG-314 board.  It explains how to utilize the MPG-314 for an XY robot. Initi

Pagina 19 - Program save to the PC

Setup of maximum high speed and acceleration.  Maximum high speed and acceleration can be set by using the ACCEL command. Drive speed can be decide

Pagina 20 - Printing

Move to the origin (HOME)  HOME is the command for programming the movement of a robot back to the staring point of its action.  Format HOME n

Pagina 21 - Byte control

Absolute coordinate movement 1) MOVL is the command for linear interpolation. You can give variables or constants to define the parameters. 10 P

Pagina 22 - Local variable

Relative coordinate movement 1) RMVL is the command for linear interpolation of relative coordinate movement. You can give variables or constants t

Pagina 24 - Calculation

Continuous interpolation  The following figure is an example of continuous interpolation by using the MOVT command.  It sets point data between t

Pagina 25 - Initial settings

PALET declaration  PALET is the command for moving between palettes.  The PALET command calculate all working points (PLn(N)) on a palette by u

Pagina 26

Conditional stop Pulse generation stops after sensors receive data indicating the need for the stop condition to take effect.  1) The STOP command

Pagina 27 - Move to the origin (HOME)

Multi-task  MPC-684 has 32 tasks ( task0 : Main-task. task1~31 : sub-tasks)  Main-task executes immediately after the RUN command (program mode) o

Pagina 28 - Absolute coordinate movement

RS-232 communication  MPC-684 has two RS-232 communication ports for interfacing to external devices. You can control the ports by using commands.

Pagina 29 - Relative coordinate movement

Debugging Basic debugging (run/stop/check)  One useful basic process of debugging of the MPC is by executing the program, stopping it and then che

Pagina 30 - Continuous interpolation

How to know the cause of machine stoppage  When the machine stops while in automatic operation, please connect the MPC-684 to FTMW without turning

Pagina 31 - PALET declaration

Special program  The prompt returns to the FTMW when task 0 is ended using the END command. Then you can execute the commands for an I/O and variab

Pagina 32 - Conditional stop

Use touch panel  The MPC-684 supports the 'Direct access protocol' on the Digital Electron Corporation’s GP series touch panel.  You can

Pagina 33 - The commands for multi-task

When you use MBK-SH  The MBK-SH connects to the touch panel at RS-422 38400bps.  The MBK-SH board is an independent CPU board, therefore doesn&ap

Pagina 35 - Subroutine execute

Command List I/O ? Reading of Bit (HSW Alternative) ALT Switch ON/OFF CLR_OUTP Initialize Output (specified the board) HI

Pagina 36

HPT Read Input Port INCHK_314 Input Monitor INSET_314 Set Input Port Function M_RMVS Asymmetric Acceleration/Deceleration Mov

Pagina 37 - Special program

PALET4 PALET Declaration PG PG Declaration PGSEL PG Declaration PL1 Palette Point PL2 Palette Point PL3

Pagina 38 - When you use MBK-RS

Floating Point Operation CALF Arithmetics GETF Retrieve Data PRF Display Internal Data SETF Delivery of Data Sy

Pagina 39 - When you use MBK-SH

Memory Access PEEK Readout of User Memory POKE Write User Memory Maintenance ERASE Clear Program of Flash ROM MEM

Pagina 40 - MPG-314 Exclusive

GOSUB Subroutine Call (Argument Pass) GOTO Unconditional Branch IF Conditional Branch LOOP Loop NEXT Loo

Pagina 41 - MPG-68K Compatible

MPC-684 family  Outline of MPC-684 series MPC-684 main CPU board serial communication port (RS-232) 3ch 4 outputs 8 inputs MOP-096 output bo

Pagina 42 - Calendar

The feature of the MPC-684  Program capacity 500Kbytes( about 25000 lines)  Point data 4 by 13000 points  Global variable 2000  Local vari

Pagina 43

Program development environment Hardware  Personal computer OS: Microsoft Windows supported  Programming cable Connect to a MPC-684 and a per

Pagina 44 - Control Statement

How to connect  Connect a personal computer to the MPC by the programming cable, then turn the MPC on. MPC-684 Windows PC Programming Cable Compute

Pagina 45

 When it is able to connect normally, an opening message will display on the edit screen. Opening message Prompt (Edit screen)  The meaning of t

Comentarios a estos manuales

Sin comentarios