Turbo PMAC Clipper
Introduction
10
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"Turbo PMAC Clipper 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.
Содержание Turbo PMAC Clipper
Страница 5: ......
Страница 11: ...Turbo PMAC Clipper Connections and Software Setup 11 SPECIFICATIONS Part Number ...
Страница 78: ...Turbo PMAC Clipper Hardware Reference Manual Appendix B 78 APPENDIX B SCHEMATICS ...
Страница 79: ...Turbo PMAC Clipper Hardware Reference Manual Appendix B 79 ...
Страница 80: ...Turbo PMAC Clipper Hardware Reference Manual Appendix B 80 ...
Страница 81: ...Turbo PMAC Clipper Hardware Reference Manual Appendix B 81 ...
Страница 82: ...Turbo PMAC Clipper Hardware Reference Manual Appendix B 82 ...
Страница 83: ...Turbo PMAC Clipper Hardware Reference Manual Appendix B 83 ...
Страница 84: ...Turbo PMAC Clipper Hardware Reference Manual Appendix B 84 ...