Home

SC7000インストラクションブック

image

Contents

1. 1 38 Gee 1 41 42 1 40 1 41 vo 3090R Sear 9 SystemCreator SC7000 Instruction book ver 1 01 28 JAPAN ROBOTECH 1 11 Project Explorer Project Explorer 1 11 1
2. CD R SystemCreator SC7000 Instruction book ver 1 01 2 JAPAN ROBOTECH Contents 5 5 MPU Type ES7000 1 5 1 MPU JES 7001 6 1 2 14 1 6 MPU 25 I O Connector JES 7002 1 2 1
3. J1 J2 P43 2 1 1 J1 J2 P62 3 5 D_Log 5 6 5 J2 A 6 SW ON J2 BRA D _ Log
4. Prototype declaration main void main void initQ J Initialization while 1 COPCTL 0 SystemCreator SC7000 Instruction book ver 1 01 46 A it ZO
5. SL ILLATI O A RMSE J AV YAAK E EREZKI YF J EI Y BADMBRE L E ODRRABRO VP L E DTM LE DRRT 2B F Y FUE J L E DORAL REL A ME LEDER Y FUE JAPAN ROBOTECH W interrupt c include ES7000 h Hardware definition include SystemCreator h SystemCreator Hardware definition Hinclude ES7000Lib h Library definition Varlable declaration pe ee a ee Se ee EE ee Se ee eee pyre ae BY DAKE CR rr nn IRQ interrupt LOR rr oragma TRAP_PROC void _IRQ_Interrupt void DIQ if jint_sw 0 1 DELAY_SEC 30 int sw 1 J ELE fe ty F4 Jelse DELAY SEC 30 LA int sw 0 ELE MED Y FHE _ EIQ JAPAN ROBOTECH 61 MPU JES 7001 SW2 IRQ SW2
6. Interrupte c Initialize c 6 ES7000 h HW ES7000Lib h D Reporter SystemCreator SC7000 Instruction book ver 1 01 42 test HW PS main c PS Interrupt c Initialize c
7. SC7000 File Sample Program Open Sample restoration DOS Vista Sample restoration JAPAN ROBOTECH of 3 2 Input Output A D inout E HW Preference Mode Standard CNI ME CNS Muse CHIO CMII muse WE main c include ES7000 h Hardware definition include SystemCreator h SystemCreator Hardware definition Hinclude ES7000L ib h Library definition Hinclude vectors h Interruption vector definition Hinclude initialize
8. AD Data to Logger LED Flash LOR rr void log_test byte Value WE OK J RI IOOF KOBE COE YB LEA CEGLY while 1 AD_GETDATA AD_CN3 DATA_SEND Value Value Value gt gt 4 LED_OUT Value DELAY_SEC 10 COPCTL 0 JAPAN ROBOTECH amp Value MN ODF FATE amp RIF J RIP LEZ E VU ON amp RS2320 HA J Whe lH LY OML IL Abit EFt bit BA WR 4b t FHA 7 7sec x 10 100msec FLAT 7 L 63 CN3 COM 4bit CN7 CN 10 LED JES 7002 CN3 Analog In CN6 COM RS 232C CN7 Digital Out LED Out CN8 Digital Out LED Out CN9 Digital Out LED Out CN 10 Digital Out LED Out CN3 COM 4Bit LED main for LED J2
9. main 1 jnit while 1 while 1 COPCTL 0 COPCTL JAPAN ROBOTECH 2 3 Interrupt c KEKE Program Name Interrupt process Program Author Date 2006 03 11 07 47 58 explanation JAPANROBOTECH C Language Development Environment
10. PWM SystemCreator SC7000 Instruction book ver 1 01 2 2 main c J RRR KKK KK KKK RK KKK KKK KKK RK RR KIRK RK RK RK RK RK RIK RRR RK RRR RK RRR RRR RR RRR RK KKK KK KK x Program Name Author Date 2006 03 11 07 47 58 explanation Xx XX x JAPANROBOTECH C Language Development Environment HKAAAK AAA AAA AKA AAA AA AKA AA AAR AAA AAAI AAAI AAA AKA KA include ES7000 h Hardware defnition include SystemCreator h SystemCreator Hardware definition include ES7000Lib h Library definition include vectors h nterruption vector definition Hinclude initialize h Ininitalize include interrupt h Interruption Variable declaration
11. Prototype declaration main void main void initQ J Initialization while 1 COPCTL 0 JAPAN ROBOTECH 21 main ES7000Lib h
12. normal end error end bit on bit off degital in degital out 49 1 LED AFLASH LED1 4 1 255 LED AFLASH 4 2 LED OUT byte_value 4bit LED1 4 X LSB LED1 SystemCreator SC7000 Instruction book ver 1 01 DC 1 CN7 1 CN8 2 CN9 2 CN10
13. IAB OB 1 20 Kind Initialize Cc P45 Initialize c SystemCreator SC7000 Instruction book ver 1 01 18 X Kind gt J B and B gt Progaming Mocs Ln
14. 1 11 2 1 43 1 11 3 1 44 1 add File 1 add File 2 New Project File Wizard 3 Resource Name 4 Finish 5 C JAPAN ROBOTECH 29 1 43 Project Explorer initialize c Au ESTOOOLIib h Fee initialize c AJ ES7000Lib h fast 1 ES tast_1 Report Fee initialize c A ESTOOOLib h a test_1 Feport 1 44
15. 1 56 SystemCreator SC7000 Instruction book ver 1 01 Mi1 55 New Project File Wizard 3 Enter resource name New ProjectFile Wizard Standard Mode 3 Enter resource name Resourcename Finish Prey Mext Cancel 1 56 DataLogger MPU Type IES 7000 Port com3 J an Mar6000mtec Inbervad Al Aeamsec 1 2 3 Threshoid Wel Jaz ont gt NDE Time Court Value Max Mon Contor Data Chart J H HY mains 4 interrupt A LIN fi Es7ooon EJ Es70o0uhh B Reporter LA DatsLogger 34 JAPAN ROBOTECH 1 13 2 1 57 1 Control 1 1 58 Control Data Chart 2 3 1 59
16. Project Explorer To a gt Test add File import attach close _1 HWW SystemCreator SC7000 Instruction book ver 1 01 2 import C 2 1 import 2 Imported File 1 45 3 4 lt 5 3 attach import C 2 import
17. D ata Save Data Save Save Logger Data Preference C D csv 4 1 66 X var Vvar 50 var 50 var 50 var 50 0 var X var JAPAN ROBOTECH 39 1 65 Data 3 chart 1 2006 03 09 14 31 43 887 2006 03 09 14 31 43 987 2006 03 09 14 31 44 087 2006 03 09 14 31 44 197 2006 03 09 14 31 44 327 2006 03 09 14 31 44 427 2006 03 09 14 31 44 538 2006 03 09 14 31 44 638 2
18. include ES7000 h Hardware definition include SystemCreator h SystemCreator Hardware definition include ES7000Lib h Library definition Variable declaration Prototype declaration oragma TRAP_PROC void _ADC_Interrupt void _ DIO _ EIQ JAPAN ROBOTECH ee ee 4
19. 3 Cae QR 4 MPU Type JAPAN ROBOTECH 35 1 57 Data Logger 4 wpuree 5 Port 6 content oT 7 Interval 100msec 8 Threshold 11 Contra gt Ke He Cal 1 2 Time Count vaue Max6000msec 1 contol Data Chart DataLogger 1 58 Control RX we 1 59 SystemCreator SC7000 Instruction book ver 1 01 5 Port 232C Preference 6 Content 7 Interval 10msec 0 01 60000msec 1 10msec 1 60 Interval
20. E xml 1 4 2 E SC7000 SystemCreator Source C Program Project Direct ory Finish 1 r 1 2 1 3 Select Project Directory 1 5
21. SystemCreator SC7000 Instruction book ver 1 01 22 xX m S s ma 24 Aas aie ee Pei Sve i etree Amane messe A narom E wetstepacer shnm M htme Wertd Bester Cramer Bindandi woe 1 25 Save Project Save Project Save In 3 e BE File Name Files of Type System Creator Project xml tpj lt x ie JAPAN ROBOTECH 1 4 C 1 4 1 1 gij 1 26 2 Console Error 1 26 Compile Complete 1 27 3 1 28 Compile Error TERY
22. data gt Sela esa 28 explanation JAPAMRORITECH C Language Dee eget Ene Font Ehm A Af Rardeare det ini tien initio if Srobentepalor Hordrare de Sysleeiredl or A n EOD y ya Lil 4 gt v inl tallze h ff Emintl al lze y L Ialarmnast h AY interrupt i n Li estie A mane ayGsk mronnubh E tinapat Console Error J4 YRI SystemCreator SC7000 Instruction book ver 1 01 3 Stack Location 1 22 MPU ES7000 256byte RAM 256byte R AM Stack Location 1 128 byte 128byte Stack Location 1 23 1 gt 6 6 1 22 1 6
23. A BO _DI EI JOF_Interrupt void _TCHO_Interrupt void JCH1_Interrupt void _IRQ_Interrupt void SystemCreator SC7000 Instruction book ver 1 01 2 5 Initialize c Pe KREREKEKRERKKREKEKEREKKRKRKKAKKRRKKKRRKKKERERKK RRR EK RRR KK KER AK KE Program Name Hardware is initialized C Copyright Japan RoboTech Co Ltd All rights reserved KAAKAA AKAAKA AAA AAA AAA KAA AAA AAA AAA AAA AAA AKA AAAI AAAI include ES7000 h Hardware definition include SystemCreator h SystemCreator Hardware definition include ES7000Lib h Library definition void init PORT_INIT 12C_INIT AutoCodingStart CN11 0 CN11DDR 1 CN11PUE 1 PWM2_INITO CN7 0 CN10DDR 1 CN10PUE 1 TSC_TSTOP 0 AutoCod ingEnd
24. ES700OLib h Reporter 1 16 1 17 P42 1 17 X Close sstHw E mane EA initiaizec K ES7000Lin n JAPAN ROBOTECH 17 1 15 HW File Pii Tool Hie 1 J A and in Mode JA E and A B gt Programing Meda ei Mii1 16 Project Exproler Srandard Project Explorer Project Explorer tast test testHyy testHyy S main c S
25. Hardware definition SystemCreator Hardware definition Library definition Interruption vector definition ninitalize Interruption Variable declaration SystemCreator SC7000 Instruction book ver 1 01 byte i byte led_ value extern byte int_sw COR rr rn Prototype declaration COR rr LR re main COR rn ne void main void init Initialization for i 0 i lt 5 i 1 LED_OUT OxOF DELAY_SEC 20 LED_OUT 0x00 DELAY_SEC 20 int_sw 0 INTERRUPT_INITQ led_value 0 while 1 if int_sw 0 LED_OUT led_value DELAY_SEC 20 led_value if led value 0x10 1 led_value 0 COPCTL 0 60 Z ILAT U KhER L E D HJHAZ EI Y AARRE Z
26. COM Port 1 232C 9 COM COM LPT 1 6 COM COM 2 USB COM COM LPT 1 6 COM COM COM LPT 9 COM E LPT F EGP PULA LPT af USB Serial Port COMI w USB UY COMI 2320 LCOM
27. 1 52 FindWord A B Replace A B Replace All Done SystemCreator SC7000 Instruction book ver 1 01 32 E1 50 OTE Slanguage Be ire Feii AEE Ti cere 4 A Replace Replace All Dione 1 52 FindWord initil ffinitiallzation MOTOR _SPD 1 MOTOR_STOP_MID2 while lj JAPAN ROBOTECH 1 13 SC7000 Sample Project D _Log P62
28. RDI 207 at O17 H LOHUH NWdYF 6 LO 104 Connector JES 7002 MPU LED LED LED LED SystemCreator SC7000 Instruction book ver 1 01 3 6 Preference Mode CNI E main c I2C E_I2C E HW Advance CN10 CNI x Program Name E 12C x Author x Date x explanation x JAPANROBOTECH Y lt OOO 10 09 18 120 X E Y RHAH JAPANROBOTECH C Language Development Environment KAKAKAKAKAKIAKARAA ARAKI KIA AIA AAA KIA AIA AIA AAA AAA AAR AA ARIA AAR AAAI KIRA include ES7000 h include include include include tinclude ES7000Lib h vectors h initialize h interrupt h Variable declaration amp SystemCreator SC7000 Instruction book ver 1 01 SystemCreator h Hardware definition SystemCreator Hardware definition Library definition Interruptio
29. 1 9 2 P27 11 8 JAPAN ROBOTECH 27 1 37 Open Project Open Project Files of Type System Creator Project xml tpj GAL File Name 1 38 xml Test KR xml SystemCreator SC7000 Instruction book ver 1 01 1 10 eee 1 39 lt s R gt i 1 10 1 A ee Pi Restore Minimize Maximize Clnse A B 1 39 40 1 10 2
30. CN6 OBIRSWEOFF OQJ1 BA SW ON J1 A CN1 1 M Digital Input Output Analog Input RU PWM SystemCreator SC7000 Instruction book ver 1 01 44 2 2 J3 J Connector a 7 Hike Fo AAE 2 3 HW am Amane near Esrponusm ahRmoae ts Dik ji ard biad kame b Ea nes ert Geile Gienia T panana Made JAPAN ROBOTECH 2 1 2 touch sensor censor l CN1 CN11 IR sensor sensar i CNS CN4 CN6 CN1 1 M3 driver M3 M3 driver COM CN6 JAPAN
31. P26 Compile Complete M Error Console main c 738 warning no newline at end af file main c tA syntax error token column 0 Compilation isnt being done properly JAPAN ROBOTECH 0 error 103 code not generated for 120 VWWRITE_READ due to previous errors 1 26 main c A bal c Ma ESToooub h oie DE StacLocabon er lt G9 JP A axyplanation ERNST EC C Languaga Davelopesnt Enviransant Minclude ESTO000 h arrore def initio meludn SvetesCreator h Sveteelrantar Hardeare def init ii Hinclude ES7000Lib A Library d finit ior include vectors h Sf Interruption vector def init ior includa initialize h Ininitalize include Console Error J je Variable declaration je Console IE Toe 1 27 Console 1 28 Compile Error Compile Error Co
32. LED20 J2 LED20 U2 j D_Log i lt 20 DELAY_SEC 41 SystemCreator SC7000 Instruction book ver 1 01 2 Advanced Standard Advanced D HW MPU CN1 CN1 1 P43 2 1 HW main c
33. 1 36 Error 2 1 36 main c 44 errnr1 2 calledobjectisnotafunction main c 44 error4 indirectionstodifferent Ne Pen 3 L 1E LF Oo main c 44 error4 indirectionstodifferenttypesassignment 1 4 Compile Complete Compile 2 4 1 7 2 I 0 O X
34. C DE E JAPAN ROBOTECH 11 HZ1 3 Project Directory Project Directory icuments SysternCreator SourceiC Prograrm i 1 4 Test Test kaf Testxml xml 1 5 Select Project Directory S Select Project Directory Look In ka la BIS g 1 BBr4gHTBBI25BHH7aH 1 Tag 1 1 J MyWWWnrks Contig Msi g Frogram Files G gell J WINDOWS Documents and Settings Ww drivers ae lA_Installers Ww hy Downloads Files nfTyhg TATO Pr Iv sea File Mame SystemCreator SC7000 Instruction book ver 1 01 2 COM Port 232C
35. 1 7 3 Flash Writer Mode 1 8 o Flash Writer Mode GUI X GUI SystemCreator SC7000 Instruction book ver 1 01 12 1 6 Select Project Directory COM Port M1 7 COM O 2000 COM LPT J O Windows XP D 4 4 4 O Vista Vista N MI 4 4
36. 1 HW main c D Log 2 Chart and Table for XY Data P33 1 13 1 13 1 Project Explorer Project Explorer logger loqqer Hyy i main c eee initialize c AJ ESTOOOLib h 25 logger Repo 3 21 68 Control Port P36 7 Interval 4 MPU J1 J2 B P24 1 5 1 SystemCreator SC7000 Instruction book ver 1 01 40 1 67 Chart Properties gt Chart O Save as EBORE Print nniTi In oom Out Auto Range Both Axes X Horizontal Axis X Vertical Axis
37. HW Port io initialize extern void PORT_INIT void hardware setting extern void TICOLA_INIT void PWI initialize extern void PWM1_INIT void PWM2 initialize extern void PWM2_INIT void ADC initialize extern void ADC_INIT void J SCI initialize extern void SCI_INIT void 120 initialize extern void 12C_INIT void JAPAN ROBOTECH 55 SystemCreator SC7000 Instruction book ver 1 01 JAPAN ROBOTECH 3 JES 7002 I O Connecter RDI 205A 4Bit RDI 207 3 1 Fie Sample Program 0pen A it Be C D
38. 1 68 Data Logger WRITING JES 7003 RS32C or USB STUN VITO i RDI 207 i EREA lt i rr a i Analog CONNECTOR MPU JES 7002 JES 7001 JAPAN ROBOTECH 5 MPU J1 J2 ABI 6 MPU ON J2 BR D _ Log J2 CN7 CN10 L ED 20 7 Chart and Table for XY Data Control 8 Control Logging Start P35 1 13 3 9 Count
39. Logging Stop 10 P39 3 Data Save 11 Control Max Min 12 Project Explorer close csv P 35 1 13 3 JAPAN ROBOTECH 1 68
40. M3 CN5 M3 1 CN5 1 SystemCreator SC7000 Instruction book ver 1 01 defne M1_IN1 CN7 M1 motor mode select in1 pin m Sure 4R5 N Bb Ts defne M1_IN2 CN6 M1 motor mode select in2 pin 1 defne M2_IN1 CN9 M2 motor mode select in1 pin CN7 M1IN1 CN8 M1 N2 defne M2_IN2 CN10 M2 motor mode select in2 pin CN9 M2 1IN1 CN 10 M2 1IN2 Definition related to AD Converter nnn nnn nn AD convert data get extern void AD_GETDATA byte _channel byte pValue 8 AD GETDATA AD AD defne AD CN3 AD_GETDATA byte _channel byte pValue defne AD_CN4 defne AD_CN6 defne AD CN11 CN3 AD port channel CN4 AD port channel CN6 AD port channel AD GETDATA byte AD byte AD CN11 AD port channel O OT A AD 4
41. 1 60 O Fry 7H 1 10msec Up X Interval SystemCreator SC7000 Instruction book ver 1 01 36 1 60 Interval ames SS JAPAN ROBOTECH 8 Threshold 1 61 Threshold 3 1 te a Threshold 1 2 3 Chart 1 61 9 Chart Reflesh 10 GI 1 62 Chat Control
42. Chart 1 62 O 9 10 3 Chart Reflesh a 9 Chart Reflesh J Threshold Joo x 8 Threshold OS ee ee D Tan IBS ee Te HEMM Ibis tiaa conrot Daa chat Chart 1 63 64 1 63 Chart 1 64 9 Chart Reflesh 1 64 Chart TiC olla Data Logger JAPAN ROBOTECH 37 SystemCreator SC7000 Instruction book ver 1 01 10 Chart Reflesh Threshold X 8 Threshold Chart 0 255 1 64 Chart
43. D_Log 1 13 1 1 File New Project a 2 New Project File Wizard 1 53 3 Extra Chart and Table for XY Data Next 4 2 Project Select Next 1 54 JAPAN ROBOTECH 33 1 53 New Project File Wizard New Project File Wizard Standard Mode 1 Select template of Necessary resource ra LEa JES F000 Create C Programming Worksp Core Mii1 54 New Project File Wizard 2 Project Select New Project File Wizard Standard Mode 2 Project Select SystemCreator SC7000 Instruction book ver 1 01 5 3 Enter resource name Finish 1 55 6 Project Explorer
44. SC7000 Connector JES 7002 mu Writing JES 7003 7 SC7000 CD R amp DC6V DC12V SW IRQ SW Aa CI A or e o a deara er we ir oat Te vey PY 5 L j z Ue A hs iiih gt ee RTR it MPU ES7000 8Kbyte RAM 256byte 64Kbit I2C IC 11 X Digital In Out Analog In x 4 PWM x 2 COM x 1
45. JAPAN ROBOTECH 31 1 47 Project Save Comfirm Project Save Gontirm Do you want to save the this project 1 48 export Project Explorer cee Mitialize c Al ESTOOO h 1 49 Export File Export File Save In ia fs 0 BIE File Name sub Log c Files of Type C Language Ch c SystemCreator SC7000 Instruction book ver 1 01 1 12 1 12 1 1 1 50 2 Text Search 1 51 3 A 1 51 STOP 4 A
46. M LPT O D C A it BO COM USB COM USB SC7000 USB JAPAN ROBOTECH Console P24 1 5 1 4 Mode Standard Mlode 1 9 Standard Advanced Standard 5 MPU Type ES7000 C SC7000 MPU ES7000
47. 20 1 22 Stack Location Stack Location 1 x 1 23 Stack Location byte EE JeeJee et ae md as ae nens 129 144 eR eM eM ems I eis I HR HR JAPAN ROBOTECH SystemCreator SC7000 Instruction book ver 1 01 4 main c OK ORK KK KKK KK KKK KKK KK KKK KK RK KR RK RR KKK IKK KR KR KK IKK KKK KK KKK KKK OR OK OR OR OK OK OK KK Program Name Author Date 2006 03 04 21 05 01 explanation KKKKKKEKEKEKKKEREKKRREKKEREKKKRRKKERKEKKERKEKERREKKRREKKRREKKKKKEKK 7 include ES7000 h Hardware definition include SystemCreator h SystemCreator Hardware definition include ES7000Lib h Library definition include vectors h Interruption vector definition Hinclude initialize h Ininitalize include interrupt h nterruption Variable declaration
48. M3 x 6mm LET M3x20mm 3Pin 3 11 Pin RDP 804 805 S W60xH50mm O G V S 1x40P x 1 M3 x 20mm x 4 M3 x 6mm x 4 M3x4 2x10P x13 JAPAN ROBOTECH Writing JES 7003H P 232C tt Fk MPU JES 7001 RS232C STRAIGHT MM C SC7000 CD R 232C JES 7003P JES 7003H 232C
49. MPU J3 ON OFF AB ON BA OFF 6 J2 2 AB AutoRun BE JAPAN ROBOTECH 43 zat x 2 1 HW F MPU JES 7001 CONNECTOR JES 7002 1 4 ee hd ae CN CHE CN CHIO CALI j E i X1 JES 7002 JES 7001 DC5V TH 2 UES 7002 B 3 A S V G SystemCreator SC7000 Instruction bo
50. Writing JES 7003H P 7 1 2 2 15 1 7 26 1 File 1 7 1 2 Edit 1 7 2 Abit RDI 205A 3 Tool 16 RDI 207 4 Help 1 8 27 7 LED RDO 401 1 2 3 RDL 201 8 1 2 4 17 1 9 RDI 202 1 9 1 RDI 208 1 3 18 1 9 2 RDI 209 1 3 1 3P 20cm RDP 804 1 1 10 28 3P 30cm RDP 805 1 3 2 main c 19 1 10 1 232C RDP 821 1 1 10 2 2
51. 2 Data i 1 Time 2 Ver 3 Data Save 4 3 Chart 40 1 13 3 1 2 Chart Reflesh 2 42 2 1 HW 43 2 1 1 1 DC IN 2 SW1 RUN 3 SW2 IRQ 4 5 J1 1 6 J2 2 43 7 J3 J3 44 SystemCreator SC7000 Instruction book ver 1 01 2 1 2 2 2 main c 2 3 Interrupt c 2 4 Initialize c 2 5 ES7OOOLib h 3 3 1 3 2 Input Output A_D_inout 3 3 Input Output B_A_in 3 4 SW2 C_Int_IRQ 3 5 D _Log 3 6 12C E 12C 45 46 47 48 49 97 59 60 62 64 66 JAPAN ROBOTECH JAPAN ROBOTECH 5 SystemCreator SC7000 Instruction book ver 1 01 MPU 12C JES 7001 SW C
52. CN6 CN1 1 SystemCreator SC7000 Instruction book ver 1 01 52 JAPAN ROBOTECH 120 data get extern void 12C READ byte I2C_ device word Address byte Data 12C data write extern void 12C WRITE byte I2C_ device word Address byte Data JAPAN ROBOTECH 53 9 2C READ 12C_READ byte 12CAddress word Address byte Data 12C_READ byte 120 word F FLZ byte p 12C READ 12C_MEM_ADD 0x0100 amp value 12C 12C MPU I2C I2C MEM ADD I2C 0 Oxffff 64Kbyte MPU I2C 10 I2C WRITE I2C I2C WRITE byte I2CAddress word Address byte Data I2C_WRITE byte II2C word byte 12C WRITE
53. SC7000 DC6V 12V W60 x H50mm M3 x 4 2x10P x13 M3X 11mm X 45 M3 x 6mm X 4 I O Connector JES 7002 SystemCreator SC7000 Instruction book ver 1 01 IO Connector MPU JES 7001 3Pin MP JES 7001 5V G V S 5V MPU JES 7002 JES 7001
54. 24C1024 64kbyte 12C_DEVICE2 0x51 lt lt 1 12C memory slave address 24C1024 12 DATA SEND MPU PC RS 232C X HW CN6 RS232C lt DATA SEND byte sendData 13 DATA RECIVE PC RS 232C X HW CN6 RS232C lt DATA_RECIVE byte reciveData 14 DELAY_SEC DELAY_SEC byte _time d 1 0 01 10msec 0 1 10 DELAY_SEC 0x10 15 fineDELAY SEC fneDELAY_SEC word _time word Oxffff 1 0 005 5msec JAPAN ROBOTECH interrupt initialize extern void INTERRUPT_INIT void 16
55. ES7000 h ES7 000Lib h test Reporter JAPAN ROBOTECH 2 1 HW HW Initialize c 2 1 1 1 DC IN DC6V DC12V 2 SW1 RUN EEKE ON OFF ON 3 SW2 IRQ IRQ SW2 2 2 1 SW2 SW2 SW 4 WRITING JES 7003 5 J1 1
56. SC 7000 9 3 Stack Location 20 1 11 Project Explorer 29 1 SC7000 10 4 main c 21 1 11 1 1 1 1 3 3 22 1 11 2 1 1 1 Preference Setting 1 1 11 3 1 Project Directory 2 1 add File 1 11 2 import 30 2 COM Port 12 1 4 23 3 attach 3 Flash Writer Mode 1 4 1 4 close 31 4 Mode 13 1 5 24 5 export 31 JAPAN ROBOTECH 3 SystemCreator SC7000 Instruction book ver 1 01 1 12 32 1 12 1 1 13 33 1 13 1 1 13 2 35 1 Control
57. F 1 attach 2 Attach File 1 46 3 SystemCreator SC7000 Instruction book ver 1 01 30 1 45 Imported File Imported File Lookin oong test File Name Files of Type C Language File h c EMETTE 1 46 Attach File Attach File Look In o Ble File Name Files of Type C Language File h c mau JAPAN ROBOTECH 4 close F 1 close 2 Project Save Comfirm 1 47 3 HRE 5 export 1 2 1 48 3 export 4 Export File 1 49 5 6
58. amp SystemCreator SC7000 Instruction book ver 1 01 26 JAPAN ROBOTECH 1 8 1 File Project Open E 2 Open Project 1 37 X Preference 3 xml 1 38 4 Project Explorer 1 9 amp 1 9 1 P14 11 2
59. CN3 Analog In CN7 Digital Out LED Out 7 CN8 Digital Out LED Out CN9 Digital Out LED Out CN 10 Digital Out LED Out L O 104 9 BE AD_GETDATA CN3 4 LED OUT Connector JES 7002 MPU LED LED LED LED SystemCreator SC7000 Instruction book ver 1 01 3 4 SW2 C_lnt _ m HW Preference Mode CNI CN2 E main c Advance CcNn0 IRQ CHS CNH muse CN muse x Program Name C_Int_IRQ JAPANROBOTECH Y 2007 10 05 13 18 58 RKI YFAHYAH SW2 x Author x Date x explanation x include ES7000 h tinclude SystemCreator h include ES7000Lib h include vectors h include initialize h include interrupt h IRQ JAPANROBOTECH C Language Development Environment
60. CN11 hen MMaiiMiMtiMiaiMiMiaMiMiaiMiMiaiMiMiMiMiMtiMtiMtiMiMtiMiMiMtiMiMiMtlMiMiMiMiMiMiMiMiMiMiM M Definition related to Motor or PWM err nn motor spped control extern void MOTOR SETSPD byte _side word Ratio 3 MOTOR SETSPD CN6 RU CN1 1 PWM MOTOR SETSPD byte PWM word P PWM 1 CN11 PWM PWM SIDE_CN11 0 CN6 PWM PWM SIDE_CN6 0x0000 Oxfffe motor speed rank setting extern void MOTOR_SPD byte _side byte _step 4 MOTOR SPD CN6 CN11 PWM PWM MOTOR SPD byte M1 M2 bytel PWM 1 CN11 PWM PWM SIDE CN11 0 CN6 PWM PWM SIDE_CN6 0 MOTOR_STEP_MAX 1 MOTOR STEP_MID2 2 MOTOR STEP _MID1 3 MOTOR STEP _MIN 4 0 MOTOR STEP ZERO
61. FOT MPU Type ES7000 1 10 Preference Finish JAPAN ROBOTECH 13 1 8 Flash Writer Mode Flash Writer Mode 1 9 Mode Mode Standard Mi1 10 MPU Type WML Type EBI SystemCreator SC7000 Instruction book ver 1 01 1 2 SystemCreator D HW main c Reporter 1 2 1 1 File New Project 1 11 2 New Project File Wizard 1 12 Preference Mode 3 Project
62. LED JES 7002 CN7 Digital Out LED Out CN8 Digital Out LED Out CN9 Digital Out LED Out CN 10 Digital Out LED Out SW2 IRQ 7001 interrupt c IRQ interru pt int _ sw int _ sw LED MPU JES 7001 JES 7002 is Tool y p1 by1 oi m 1 E 7 K 6 E i E A D 5 ES iE E G X gt 0 LED LED LED LED SystemCreator SC7000 Instruction book ver 1 01 3 5 D Log byte i SZ ILAT U fER HW EE Prototype declaration Preference Mode Advance ai CN LO main COR rn ne CAT void main void Ume initC Initialization for i 0 i lt 20 i J ILAT LU A ARMS LED_OUT OxOF 7 B J A OKE CEE ON DELAY SEC 20 amp OMRI J2 FA D5 BADE i LED_OUT 0x00 a main c DELAY SEC 20 x ED CE CE CC CE EE KK AKK AKK KAK K EC EE EE KK EKK KAK K EE EEE AK KERK K KAK K EKK EE GE EE CE EE 3 x Program Name D Log x Author JAPANROBOTEGH Y while 1 Date 2007 10 16 15 02 46 log_test
63. CN2 4 Function LED LED LED LED AK ERA LED 58 JAPAN ROBOTECH 3 3 Input Output B_A in E HW Preference Mode Standard CHI muse CN2 CN3 CHS CNA VA CHL ll Unuse E main c Variable declaration OR rn byte Value OR Prototype declaration OR n OR main OR void main void initQ J Initialization while 1 AD_GETDATA AD_CN3 amp Value Value Value gt gt 4 LED OUT Value COPCTL 0 JAPAN ROBOTECH FRAP EAER NI OF FAT 8 amp RAF Rig LIP FOP EL 1 Abit amp Pt bit ABA BALE NI NIO AHD 59 CN3 4Bit LED RDI 207 O17 H3 LOBOd NYdYr JES 7002
64. JES 7000 Create C Programming WorkSpace 1 13 Next 1 13 0 i JES 7000 E E PS FG F FAA ral a PULA aE HA TYO 4 Resource Name Finish Resource Name 5 HW SystemCreator SC7000 Instruction book ver 1 01 14 E1 11 Preference Setting mm Jen TT SOT SOT Copyright J00T JAPAN ROBOTECH Project Explorer E1 12 New Project File Wizard New ct nasal Wizard Standard Mode 1 Select template of necessary resource A Project L JES 7000 Create C Programming Worksp oO Core Prey Next Cancer Finish JAPAN ROBOTECH 1 2 2 1 14 1 14 1 File x oystem Creator Edit Tool Hew Project Help File Edit Too
65. Instruction book ver 1 01 Ss ROBOTECH LTD A BRU AB HO SC7000 SystemCreator MPU JES 7001 C SC7000 ANSI C RS232C USB Windows Windows TOE USB OS OS Windows Vista XP 2000 OS 110 Mbyte CD R
66. maman Taneuan E Rapar P Digital Output Digital Input Touch Sensor Analog Input IR Sensor COM p saon SC7000 J3 Connector J DEE GNL JAPAN ROBOTECH 1 3 2 main c PS main c 1 21 main main ES7000Lib h 1 1 21 4P E ial HP amp 2 ctri C Copy ctri V Past ctrl Z Undo ctrl Y Redo X Reporter JAPAN ROBOTECH 19 M amp 1 21 main c
67. 1 yu g F p Of EJ lt Z ES W eS a DG CO 3 G TET na PP AO 4 A e LED LED LED AK ERA LED 65 SystemCreator SC7000 Instruction book ver 1 01 info japan robotech com 092 821 4421 AM10 00 PM17 OO 092 821 4422 1 1 00 19 11 20 2 1 01 20 1 25 JAPAN ROBOTECH 812 0025 4 18 33 R amp D CENTER 7814 0001 2 3 2 TNC 2F http wwwvjaparrrobotech com systemcreator index htm http wwwjapan robotech com JAPAN ROBOTECH LTD All Rights Reserved SystemCreator SC7000 Instruction book ver 1 01 66 JAPAN ROBOTECH
68. lt explanation Gls x COPCTL 0 JAPANROBOTECH C Language Development Environment Hinclude ES7000 h Hardware definition include SystemCreator h SystemCreator Hardware definition Hinclude ES7000Lib h Library definition Hinclude vectors h Interruption vector definition Hinclude initialize h Ininitalize include interrupt h Interruption include sub_Log h Variable declaration LOR SystemCreator SC7000 Instruction book ver 1 01 62 JAPAN ROBOTECH W sub Log c J RRERREEIREEIAIEIRAA ARAKI IAAI AKIRA IKARIA AAA IAA AIA IAAI IAAI AAA AA ARAKI KAA AK x Program Name Author Date gt 2007 10 16 15 05 26 x x explanation x JAPANROBOTECH C Language Development Environment HAKAKAKAAAK AAA AAAI AAAI AAA AAA AAA IRA AIR AKIRA KIARA IKARIA ARAKI KAKI A AIA AAA AIA A Hinclude ES7000 h include SystemCreator h Hinclude ES7000Lib h Hardware definition SystemCreator Hardware definition Library definition
69. 11 Control Logging Start gt Logging Pause ill Logging Restart Hj Logging Stop A 12 Time 1 Count Value Max X Project Open Min X Project Open SystemCreator SC7000 Instruction book ver 1 01 38 JAPAN ROBOTECH 2 Data 1 Time 1 65 2 Ver 3 Data Save Data Save csv Excel A it BO
70. JES 7003H J ES 7003P W60 xH50mm 232C 3Pin 20cm x 1 MPU JES 7001 3Pin 20cm JES 7003 232C JAPAN ROBOTECH 4bit iia ae RDI 205A 4 High Low 4 RDI 207 RDl 207 F DCOV 5V 2 JAPAN ROBOTECH LTO OV 5V 7 LED RDO 401 ae o ROBOTECH LTD
71. ON 1 34 9 MPU SW2 1 34 10 Console Error Memory programmed 100 Transfer complete 1 6 MPU 1 OFF OFF 2 J1 RU J2 amp ABI 2 LON ON JAPAN ROBOTECH 25 M i1 33 Flash Writer Push SW2 so that a transfer may start Waiting for MPU reset ACK E1 34 SystemCreator SC7000 Instruction book ver 1 01 1 7 1 35 Error Console 1 7 1 1 Console Error Error 1 35
72. SystemCreator SC7000 Instruction book ver 1 01 50 JAPAN ROBOTECH motor stop extern void MOTOR_STOP void define PWM_SIDE_CN11 define PWM_SIDE_CN6 define MOTOR_STEP_MAX define MOTOR_STEP_MID2 define MOTOR_STEP_MID1 define MOTOR_STEP_MIN define MOTOR_STEP_ZERO define M3 JAPAN ROBOTECH CNS motor M2 side M1 side motor M1 side M1 only Motor Speed max value Motor Speed middle2 value Motor Speed middlel value Motor Speed mini value Motor Speed zero value 3th motor 5 MOTOR STOP CN 7 CN10 CN11 CN1 1 CN6 MOTOR_STOP void PWM lt F 51 MOTOR_SETSPD MOTOR_SETSPD PWM_SIDE_CN11 0xfffe MOTOR SETSPD 1 Oxfffe MOTOR_SPD MOTOR SPD PWM SIDE CN11 MOTOR STEP MID2 MOTOR SPD 1 1 MOTOR _STEP_ZERO CN11 PWM MOTOR_SPD PWM _SIDE_CN11 MOTOR STEP ZERO MOTOR_SPD 1 4 CN6 PWM MOTOR SPD PWM SIDE_CN6 MOTOR STEP ZERO MOTOR SPD 0 4 6 M3 CN5 Digital in out
73. I2C MEM_ADD 0x0100 value I2C MPU 12C I2C MEM ADD 2C 0 0xffff 64K MPU I2C d SystemCreator SC7000 Instruction book ver 1 01 J 120 Hdefine 12C DEVICE1 Hdefine 12C DEVICE2 0x50 lt lt 1 0x51 lt lt 1 SCI Data Send extern void DATA_SEND byte sendData SCI Data Recive extern byte DATA_RECIVE void 7 7sec delay extern void DELAY SEC byte _time msec delay extern void fineDELAY SEC word _time SystemCreator SC7000 Instruction book ver 1 01 12C memory device address 12C memory device address 2 54 4C1024 111 120 I2C 12C_ DEVICE1 0x50 lt lt 1 12C memory slave address 2C _ READ I2C_ WRITE 64kbyte
74. SystemCreator SC7000 Instruction book ver 1 01 1 3 3 1 1 File Project Save 1 24 2 Preference 2 1 File Project Save As kel 1 24 2 Save Project 1 25 X Preference FL X Project Explorer
75. SystemCreator SC7000 Instruction book ver 1 01 48 A it Be Initiallze c HW JAPAN ROBOTECH 2 5 ES7000Lib h 2 Program Name SystemCreator C library Copyright Japan RoboTech Ltd All rights reserved x 4 include ES7000 h defne FALSE 0 defne TRUE 1 define NORMAL_END 1 define ERROR_END 0 define BIT_ON 1 define BIT_OFF 0 define DEGITAL_IN 0 define DEGITAL_OUT 1 LED flash extern void LED FLASH byte _flashcnt LED DATA OUT LSB 4bit extern void LED OUT byte _value JAPAN ROBOTECH
76. h Ininitalize Hinclude interrupt h Interruption Variable declaration AF Prototype declaration AF void Dout0 void HO void Dout1 void hI 1 void Dout2 void HA2 void Dout3 void HAV3 main void main void SystemCreator SC7000 Instruction book ver 1 01 init J Initlalization while 1 if CN1 0 J CNIMBOF FES if CN2 0 Dout0 NI DELAY_S
77. s 4 mie een 7 LED q Ss ws as 19 4 O 15 P am Ll A B C D I4 CN1 A LSB Least Significant Bit CN4 D MSB Most Significant Bit lt Gadd Es ron SystemCreator SC7000 Instruction book ver 1 01 RDI 201 0 3mm 40 x 50mm 30x25 x 15mm 2 RDP 804 RDP 805 RDI 202 LED LED x 2 30 X 20 x 10mm 2 RDP 804
78. 3 New Save Open Close X kel Save as X SystemCreator SC7000 Instruction book ver 1 01 16 JAPAN ROBOTECH 1 2 4 Close Mode Standard 1 15 HW main c Initialize c
79. ROBOTECH RDI 201 digital in RDI 202 ELEF X analog in X digital out digital out Unuse ILUIrWulse CN1 CN1 1 digital in in CN1 CN1 1 digital out st CN1 CN1 1 analog in bo TAT waa CN3 CN4 CN6 CN1 1 PWM PWM MM CN6 CN11
80. main c ee initialize c fee initialize c AJ EST OOOLIb h AJ ESTOOOLib h 25 test Reporter 25 testReporter X JEF SystemCreator SC7000 Instruction book ver 1 01 1 3 1 3 1 E HW My MPU Digital Out In Analog In 1 18 1 1 1 19 amp 2
81. 006 03 09 1431 54 73R 2006 03 09 1 1 138 2006 03 09 1 348 2006 03 09 1 24 42 948 var 4 233 233 233 4 233 2 48 2006 03 09 14 31 45 158 Br 2006 03 09 14 31 45 269 48 2006 03 09 14 31 45 379 40 2006 03 09 14 31 45 479 30 2006 03 09 14 31 45 589 25 2006 03 09 14 31 45 689 3 2006 03 09 14 31 45 799 113 2006 03 09 14 31 51 457 413 2006 03 09 14 31 51 558 113 2006 03 09 14 31 51 658 113 2006 03 09 14 31 51 798 113 2006 03 09 14 31 51 898 108 2006 03 09 14 31 52 008 108 2006 03 09 14 31 52 118 111 2006 03 09 14 31 52 219 128 CL Control Data 1 66 2 inputan equation Target Column Mame var SystemCreator SC7000 Instruction book ver 1 01 3 Chart 1 1 67 Save as X png 2 Chart Reflesh l Control 9 10 1 13 3
82. 7000 Instruction book ver 1 01 3P 20cm RDP 804 3 200mm 3 3P 30cm RDP 805 3 FeY 300mm OAM 2K 232C RDP 821 2m 1 8 JAPAN ROBOTECH JAPAN ROBOTECH 1 SC7000 1 1 SC7000 1 2 Pleference Setting E File 1 1 Preference Preference Setting Preference Setting Preference Setting 1 1 1 Preferenc
83. B 5 GP B1 29 6 1 31 7 Flash Writer Mode GUI Console Push SW2 so that a transfer may start 1 32 SystemCreator SC7000 Instruction book ver 1 01 24 EK 29 Compile So IO G 1 30 Writing JES 7003 RS32C 3 OF U SB 1 31 Sa 4 1 32 Console Transter start Push Svv2 sa that a transfer may start Push SW 2 so that a transfer may start MPU JES 7001 aoe oe a 1 ESsTooo JAPAN ROBOTECH Flash Writer Mode Console Flash Writer Push SW2 so that a transfer may start Waiting for MPU reset ACK 1 33 8
84. EC 50 7 6 Z x 50 lelse Dout1 NI 1 N2 0 DELAY SEC 50 VWmSECR 47 x 50 Jelse CNIMBONES if CN2 0 Dout2 NI 7 DELAY_SEC 50 7 56Z x 50 lelse Dout3 NI 1 GN2 7 DELAY SEC 50 VWmSEC R47 x 50 COPCTL 0 Rn function OR th 77 O void Dout0 void CN7 1 CN8 0 CN9 0 CN10 0 J th 777 void Dout1 void CN7 0 CN8 1 CN9 0 CN10 0 Hh2 void Dout2 void CN7 0 CN8 0 CN9 1 CN10 0 ts void Dout3 void CN7 0 CN8 0 CN9 0 CN10 1 SystemCreator SC7000 Instruction book ver 1 01 CN1 CN2 4bit ssj O RDI 205A LED1 4 JES 7002 CN1 Digital In SW In CN2 Digital In SW In CN7 Digital Out LED Out CN8 Digital Out LED Out CN9 Digital Out LED Out CN 10 Digital Out LED Out Ll am La BH Co ap il CAL i I LH ZH E gt E T r ii i 4 F j P Ar J 1 O17 H IOUHOH NMWdWI Connector JES 7002 MPU if CN1
85. RDP 805 RDI 208 DC 5V 2 e COMPASS F7A 8 EEN LED1 3 LED4 LED ON OFF 65 x45 x15mm E RDP 804 RDP 805 RDI 209 10cm 80cm RY TIF TUE G3 2mm 3 30cm 44 5x 13 5x 19mm OA 1 SystemCreator SC
86. e Setting REAR 1 Project Directory 2 COM Port 3 Flash Writer Mode 4 Mode l 5 MPU Type MPU SC7000 MPU ES7000 1 Project Directory 1 s3 SC7000 SystemCreator SC7000 Instruction book ver 1 01 EEK 1 Update Sm Jun 17 17200 IST 2007 Copyright 2007 JAPAN ROBOTECH Project Directory Icuments SystemCreator Source C Program COM Port me Flash Writer Mode MCU Type Sul Q Ma Mode JAPAN ROBOTECH E
87. l Help lt fe J ka eae omon lt Ker X Prnigrt Fwnlnrgr Rm Project Open Sample Project Open Project Close Project Save Project Save AS All Project Clase All Project Save COM Preference Look amp Feel Exit 2 Edit a X main c JAPAN ROBOTECH 15 SystemCreator SC7000 Instruction book ver 1 01 3 Tool Copy tn CommunicationAPl 11 1 Balloon Help Enabled Compile Complete 1 2
88. mpile Start ee nes a gt IFTIEIItHHTI sh Pel One Property Memory Size O65KB gt 4 ES RI Compile Complete Te SystemCreator SC7000 Instruction book ver 1 01 1 5 1 5 1 1 COM 1 29 X COM File Preference 2 1 30 X 232C X USB 4 MPU J1 J2 SW OFF J1 J2
89. n vector definition ninitalize Interruption 64 byte i2c_ data word address Prototype declaration main
90. ok ver 1 01 7 J3 J3 HW 2 2 CN1 CN11 11 Digital Input output Analog Input 2 3 2 1 amp CONNECTOR JES 7002 J3 G 5 CN1 CN2 CN5 D CN7 40 CN10 Digital Inout Output CN3 CN4 Digital Input Output RU Analog Input CN6 E Digital Input Output Analog Input PWM COM DataLogger
91. void main void init while 1 Initialization address 0 MABE i2c_data 0 DAKE CO kA LED OUT 0 LEDHAT YF address 0 255 IRE cz data 148 i2c_data l2CXEY N TIREUR for address 0 address lt 255 address 12c_data 12C_WRITE 12C DEVICE1 address COPCTL 0 for address 0 address lt 255 address address 0 255 RE I2C_READ 12C_DEVICE1 address amp i2c_data 20XEY Ve DAA LED_OUT i2c_data BRABDAT AALED NAD DELAY_SEC 5 J WmSEC ITZ x 5 COPCTL 0 COPCTL 0 JAPAN ROBOTECH MPU JES 7001 12 C O 255 CN7 CN10 LED JES 7002 CN7 Digital Out LED Out CN8 Digital Out LED Out CN9 Digital Out LED Out CN10 Digital Out LED Out main for for LED JAPAN ROBOTECH 12C i 1 J I anil r Sy OL HOG boar i PPP R Pe al MPU JES 7001 JES 7002 SJV TOO EP _

Download Pdf Manuals

image

Related Search

Related Contents

ZXT-120 - Amazon Web Services  - Idavee LLC  Ariens 910955 Snow Blower User Manual  Tatung TLM-0841C User's Manual  GFI AVG Anti-Virus Updates for MailSecurity, RNW, 100-249u, DEU  STP/IST Longitud fija y variable  

Copyright © All rights reserved.
Failed to retrieve file