Accell MPC-68K Series Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para não Accell MPC-68K Series. Accell MPC-68K Series User`s manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 45
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 0
1 2 3 4 5 6 ... 44 45

Resumo do Conteúdo

Página 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

Página 2

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 10 - Input commands

Other key operations 18

Página 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

Página 12

Index MPC-684 family...

Página 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. 

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 24 - Calculation

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

Página 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

Página 26

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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 35 - Subroutine execute

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

Página 36

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

Página 37 - Special program

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

Página 38 - When you use MBK-RS

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

Página 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

Página 40 - MPG-314 Exclusive

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

Página 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

Página 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

Página 43

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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários