Accessory-52
Table of Contents i
Table of Contents
INTRODUCTION ....................................................................................................................................................... 1
How IOdevice Works ................................................................................................................................................ 2
Mapping MACRO for Your Application .................................................................................................................. 2
System Binding...................................................................................................................................................... 2
Sample MACRO Mapping Chart and IOdevice Addressing ................................................................................. 2
MACRO Mapping Chart ....................................................................................................................................... 2
CONFIGURING THE IODEVICE ........................................................................................................................... 3
Setting the Rotary Switches ...................................................................................................................................... 3
Loop-Break Timers ................................................................................................................................................... 3
MAKING PMAC2 WORK WITH THE IODEVICE .............................................................................................. 5
Enabling MACRO Operation on PMAC2 ................................................................................................................. 5
Example PMAC2 Configuration ........................................................................................................................... 7
PMAC2 Memory Address Map ................................................................................................................................ 8
PLC for MACRO Control ......................................................................................................................................... 8
MAKING TURBO PMAC2 ULTRALITE WORK WITH THE IODEVICE ....................................................... 9
Enabling MACRO Operation on Turbo PMAC2 Ultralite ........................................................................................ 9
Example Turbo PMAC2 Ultralite Configuration ................................................................................................ 11
Turbo PMAC2 Ultralite Memory Address Map ...................................................................................................... 11
PLC for MACRO Control in Turbo PMAC2 Ultralite ............................................................................................ 12
LCD DISPLAY OPERATION (JDISP) .................................................................................................................. 13
KEYBOARD OPERATION ..................................................................................................................................... 15
Keycodes ................................................................................................................................................................. 15
Keyboard Input Programming Example .................................................................................................................. 16
RS232 Operation ..................................................................................................................................................... 17
Mailbox Register #37 (RS232 Status) ................................................................................................................. 17
RS232 I/O Programming Example ..................................................................................................................... 17
MAILBOX REGISTERS .......................................................................................................................................... 19
IO Device Mapping Table ....................................................................................................................................... 19
IO Device Configuration Registers ......................................................................................................................... 19
Type .................................................................................................................................................................... 20
Description of IOdevice Mapping Registers ....................................................................................................... 20
Description of IOdevice Configuration Registers ............................................................................................... 20
IMMEDIATE EXECUTE COMMANDS ............................................................................................................... 23
Example of MACRO Immediate Command ........................................................................................................... 23
ERROR DISPLAY CODES...................................................................................................................................... 25
THINGS TO KNOW ................................................................................................................................................. 27
CONNECTOR PINOUTS......................................................................................................................................... 29
J1 - Analog Inputs ................................................................................................................................................... 29
J2 - Handwheel Encoder Inputs ............................................................................................................................... 30
J3 - Power Supply ................................................................................................................................................... 30
J4 - Outputs 0 - 7 ..................................................................................................................................................... 30
J5 - Outputs 8 - 15 ................................................................................................................................................... 31
J6 - JDISP LCD Display Connector (14-Pin Box Header) ...................................................................................... 32
J8 - RJ45 MACRO Wire Output ............................................................................................................................. 32
J10 - RJ45 MACRO Wire Input .............................................................................................................................. 32
J7 - Inputs 0 - 7 ........................................................................................................................................................ 33
J9 - Inputs 8 - 15 ...................................................................................................................................................... 33