![Delta Tau Geo Brick Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/delta-tau/geo-brick/geo-brick_user-manual_2478499013.webp)
Geo Brick Drive User Manual
Introduction
13
Downloadable Turbo PMAC Script
Caution
Some code examples require the user to input specific information
pertaining to their system hardware. When user information is
required, a commentary ending with
–User Input
is inserted.
This manual contains downloadable code samples in Turbo PMAC script. These examples can be copied
and pasted into the editor area in the Pewin32pro2. Care must be taken when using pre-configured Turbo
PMAC code, some information may need to be updated to match hardware and system specific
configurations. Downloadable Turbo PMAC Scripts are enclosed in the following format:
// TURBO PMAC SCRIPT EXAMPLE
P1=0
; Set P1=0 at download
Open PLC 1 Clear
; Open PLC Buffer 1, clear contents
CMDP"Geo Brick User Manual Test PLC" ; Send unsolicited response to host port
P1=P1+1
; Counter using variable P1
Disable PLC 1
; Disable plc 1
Close
; Close open buffer
Caution
All PLC examples are stated in PLC number 1. It is the user’s
responsibility to arrange their application PLCs’ properly and handle
power-on sequencing for various tasks.
It is the user’s responsibility to use the PLC examples presented in this manual properly. That is,
incorporating the statement code in the application configuration, and handling tasks in a sequential
manner. For example, with serial absolute encoders, setting up the global control registers should be
executed before trying to read absolute position, and absolute phase referencing. Furthermore, other PLC
programs (which would be trying to move motors) should be disabled until these functions are executed.
Caution
Often times, downloadable example codes use suggested M-variables,
it is the user’s responsibility to make sure they are downloaded, or
perform necessary changes to use the intended registers.
Содержание Geo Brick
Страница 5: ...4...
Страница 286: ...Geo Brick Drive User Manual Appendix A 286 APPENDIX A Schematic Samples Watchdog X15 Inputs J6 J7...
Страница 287: ...Geo Brick Drive User Manual Appendix A 287 Outputs J6 J7 603793 109 and earlier Outputs J6 J7 603793 10A and later...
Страница 288: ...Geo Brick Drive User Manual Appendix A 288 Limits Flags J4...