MachineShop Shell Runtime Guide
MachineShop Shell Runtime Guide
Chapter 6 MachineLogic. . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Access MachineLogic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Start and Stop MachineLogic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Stopping MachineLogic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Starting MachineLogic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Chapter Contents
Using This Manual 2
Documentation Standards 4
Customer Support Services 5
Using This Manual Chapter 1: Manual Overview and Support Services
Documentation As you read this manual, you will notice that the
following documentation standards have been followed.
Standards
1. Important terms are shown in bold.
2. Text to be entered from the keyboard is shown in
Courier font.
3. Buttons, menu titles, and keyboard keys are shown in
Initial Caps.
4. Indented paragraphs denote one of the following:
• Note - Describes alternative approaches or issues
you should be aware of while using a particular
function.
• Important - Contains information that needs par-
ticular attention while reading the text. Follow
this information to save development time and/or
minimize problems.
• Warning - Contains information on safety issues.
Follow this information to prevent equipment
damage or personal injury.
Training and New Our Training and New Business Development department
Business provides service in two areas: training and consulting.
Development CTC offers training on all our products either at CTC in
our state-of-the-art training center or at your site. You can
learn how to write custom interfaces, develop specialized
applications, and implement your complete, machine
control application. You can contact the Training Coordi-
nator by phone at 1-800-233-3329 or by email at
[email protected].
CTC Parker offers consulting services through our Appli-
cation Engineering Services group. Whether you need
help writing a program for MachineLogic™ PC-based
Logic control, developing screens for Interact HMI or
connecting our products to other devices, CTC’s Applica-
tion Engineering Group will advise and work with your
people to provide the right solution. You can contact
Application Engineering Services by phone at 1-800-233-
3329 or by email at [email protected].
Introducing MachineShop
Shell
Chapter Contents
Shell Basics 8
Shell User Interface 11
Shell Main Menu 12
Shell Basics Chapter 2: Introducing MachineShop Shell
Navigating the Shell You can navigate and make selections within the
MachineShop Shell by using the touchscreen, or an
attached mouse or keyboard.
Using a Keyboard
To make a selection with a keyboard, press the key on the
keyboard that corresponds to the hot key, or highlighted
letter, on a displayed menu button. This will select and
activate the selection at the same time. For instance, to
select the EXIT button on the main menu, press the E key
on the keyboard.
Some submenu options do not have hot keys. In these
cases you can use ENTER to select the option and ESC to
cancel the option.
You can also use the TAB and arrow keys to move the
cursor on the screen to a selection area or button. Press the
TAB key to cycle the cursor forward through the screen.
To reverse the direction of the cursor, press SHIFT+TAB.
Press ENTER when the cursor is over a selection to make
the selection.
Shell Keypads Menu options that require input values will automatically
display an onscreen pop-up keypad.
To use the keypad, complete the following steps:
1. Enter values by selecting the keypad number on the
screen.
Display
Area
Menu
Button
Submenu
Shell Main Menu The menu buttons on the Main Menu are the primary
method for navigating through the Shell options. This
section provides a description of each menu button on the
Shell Main Menu.
Settings The Settings menu button allows you to view and edit
various Shell and PowerStation configuration options. An
example of the Settings submenu is shown below:
below.
Language The Language menu button lets you to select the language
used by Shell to display text and online help files. An
example of the Language submenu is shown below.
S y s t e m A d m in is t r a t o r
Functions
Chapter Contents
Launch Interact You may launch Interact directly from the Shell. When
the Interact runtime session is completed, you are returned
from the Shell to the Shell.
To launch Interact from the Shell, complete the
following steps:
1. Select the RUN button from the Main Menu.
The Run submenu appears.
Startup You may select whether Interact or the Shell will run after
you power on the runtime workstation. You may change
Program the startup program at anytime, but the change will not
take effect until you reboot the runtime workstation.
To configure the Startup Program, complete the
following steps:
1. Select the GENERAL button from the Settings
submenu.
The General Settings screen appears. Note that if you
have the MLSC installed, the MachineLogic entry
says MLSC rather than MLPC.
Configure the The Shell allows you to select the type of display (color,
monochrome LCD, or EL) for the runtime workstation.
Display Type This is helpful when you need to adjust the colors on your
display. The default setting is color.
Set System The MachineShop Shell allows you to reset the runtime
workstation time and date.
Time and Date
Setting the Time To reset the runtime workstation time, complete the
following steps:
1. Select the TIME/DATE button from the General
Settings menu.
The Time/Date submenu appears.
Setting the Date To reset the runtime workstation date, complete the
following steps:
1. Select the TIME/DATE button from the General
Settings menu.
Create and A backup contains all of the necessary files for one partic-
ular project on one particular runtime workstation. To
Restore save space, these files are compressed into a collection of
Backups files with predefined names. Projects are compressed into
a subdirectory with the same name as the project. Below
is an example of the backup directory structure.
<Backup Path>\
<Project Name>\
$app$.zip
$itr$.zip
$ml$.zip
$ml-app$.zip
$ms$.zip
control.xxx
Creating a Backup You may select one of three pre-configured paths as the
subdirectory location for performing the backup.
To back up a project loaded on the workstation,
complete the following step:
1. Select the BACKUP button from the Utilities
submenu.
The Backup Projects screen appears:
Restoring a Project When a project is restored, the project files are retrieved
from the compressed backup and loaded into the runtime
workstation.
You may select one of three pre-configured paths as the
subdirectory for performing the restoration.
To restore a project, complete the following step:
1. Select the RESTORE button from the Utilities
submenu.
The Restore Project screen appears.
appears.
Security Keys The Shell allows you to program your Security Key. You
may enable individual key options or transfer security key
options between keys. The Shell also displays security
key information (Serial Number and Key Number) and
installed module information for the security key(s)
attached to the workstation.
To display security key information, complete the
following step:
• Select the SECURITY KEY button from the Utili-
ties submenu.
The Security Key screen appears.
Enable Software When you order additional software, you will receive a
Options Module Enable Code Certificate listing enable codes for
each software option purchased. These enable codes are
used to activate the respective software options on the
Security Key.
To enable software options, complete the following
steps:
1. Select the ENABLE button from the Security Key
menu.
The pop-up keypad appears.
2. Enter a valid 8-digit code for the selected module on
the keypad.
3. Select the ENTER key to accept the code.
If the code is valid, the module will be enabled and the
status will be updated in the display area. If the enable
code is invalid, an error message will be displayed.
Add Language You may choose the language used by the Shell to display
screen text and online help. The language availability
Files depends on the installed language files that are detected
by the Shell.
The text for the Shell is stored in two files: PSU.TXT and
PSU.HLP. The PSU.TXT file contains the menus and
screen text, and the PSU.HLP file contains the help text.
To add your own language file to the workstation,
complete the following steps:
1. Enter MS-DOS mode.
2. Copy the screen text file (PSU.TXT) and the online
help file (PSU.HLP) to PSULANG.XXX and
PSUHELP.XXX respectively.
XXX is an arbitrary extension. It is helpful to use an
extension that indicates the language.
3. Open the PSULANG file.
An example of a PSULANG file is shown below.
Ma inta in in g t he
PowerStation
This chapter will show you how to use MachineShop Shell to cali-
brate the touchscreen, perform a keyboard test, adjust the bright-
ness and contrast levels of the PowerStation display, and configure
the Shift and Select keys on a P5 PowerStation.
If you are not running the Shell on a PowerStation, you may skip
this chapter.
Chapter Contents
Adjust the You may manually change the brightness level of the
PowerStation touchscreen display. You can either
Brightness Decrease or Increase the screen brightness.
Level
Note This option is not available for all PowerStations
or touchscreen displays.
Adjust the You may manually change the contrast level of the
PowerStation touchscreen display. You can either
Contrast Level Decrease or Increase the screen contrast.
Configure the You may manually change the configuration of the Shift
key, located on the faceplate of the P5 PowerStation.
Shift Key
Note This option is only available for P5 PowerSta-
tions.
Configure the You may configure the Select key that appears on the
faceplate of the P5 PowerStation, so that while you are in
Select Key Interact, it acts as the key of your choice.
Chapter Contents
Configure the MachineShop (the Shell and Toolbar) uses the industry
standard TCP/IP protocol to communicate over Ethernet,
TCP/IP Settings serial PPP, and internet connections.
Use the TCP/IP settings to configure the various Ethernet
ports (or connections) in the runtime workstation. You
can use these connections to communicate with the devel-
opment system and for other purposes such as communi-
cating with I/O.
The TCP/IP settings include the IP address, IP mask, host
name, port address, IRQ, and baud rate for serial PPP
connections. These settings must be configured before
you can transfer files between the runtime and develop-
ment systems.
To access the TCP/IP settings, complete the following
step:
1. Select the TCP/IP button from the Settings submenu.
The TCP/IP Setup screen appears.
Configure the The Net Setup option from the TCP/IP Setup menu is used
Connection to define and configure the network connection.
To configure the network connection settings,
complete the following step:
1. Select the NET SETUP button from the TCP/IP
Setup menu.
The TCP/IP Network Setup screen appears.
Enter an IP Address
Use the IP ADDRESS option from the Net submenu to
configure the IP Address for the connection. The IP
Address is a unique address that identifies the runtime
workstation to the network (using the TCP/IP protocol). It
consists of two parts: a network number and a host
number.
Check with your local network administrator to determine
a valid IP Address to be used on your local network.
To configure the IP Address, complete the following
steps:
1. Select the IP ADDRESS button from the Net
submenu.
The IP Address entry pop-up appears.
2. Enter a valid IP Address in the entry field.
An IP Address is a series of four numbers with a value
of each number between 0 and 255 separated by
periods (for example, 10.0.0.2).
Enter 0.0.0.0 if your network has Dynamic Host
Configuration Protocol (DHCP) support. DHCP
dynamically assigns IP addresses to workstations as
needed.
3. Click the OK button to accept the value.
The pop-up closes and you return to the TCP/IP Network
Setup screen.
Enter an IP Mask
Use the IP MASK option from the Net submenu to
configure the IP Mask for the connection. The IP Mask is
a locally-defined subset of IP Addresses used to identify a
smaller group within a network. Each network must have
a mask even if there are no subnets on the network. The
mask is applied to the IP Address in every message in
order to separate the network number and the host
number.
The IP Mask uses the same format as an IP Address.
Check with your network administrator to obtain a valid
IP Mask for your local network.
To configure the IP Mask, complete the following
steps:
1. Select the IP MASK button from the Net submenu.
The IP Mask entry pop-up appears.
2. Enter a valid IP Mask value in the entry field.
An IP Mask is a series of four numbers with a value
Note The Shell check Net1 first, Net2 second, and Net3
last. The first Gateway it finds is the one it uses.
Restrict Access The FTP option from the Settings menu allows you
restrict access to the files on the runtime workstation.
to Files FTP, or File Transfer Protocol, is the method by which
you transfer project files from a development system on a
network to a runtime workstation on the same network.
The FTP settings include a User Name and Password and
are required to perform project transfers. The User Name
is used to identify the name of the user that will transfer
files to or from the workstation. The Password allows
users access to the download capabilities of the worksta-
tion.
By default, these settings are blank. If you would like to
restrict access to the files on the workstation, simply enter
an FTP User Name and Password.
To add an FTP user name and password, complete the
following steps:
1. Select the FTP button from the Settings menu.
The FTP Setup screen appears.
Note The Shell verifies that the port address and IRQ
associated with the selected port is not already
assigned to another setting within the Shell. If a
conflict is detected, a pop-up appears giving you
the option of continuing (in which the Shell
removes the conflicting setting) or of trying
another COM port.
Disabling the Direct Disable the Direct Serial connection when the COM port
Serial Connection is used for another purpose. This causes the Shell to
ignore Direct Serial connections from the MachineShop
Toolbar.
Note The Direct Serial COM port acts just like PPP
connections with Download Only selected. That
is, the COM port can be used by other programs
but when the Shell is running, the COM port is
used by the Shell. When the Shell terminates, it
returns the COM port to whatever was using it.
Serial PPP This section describes the steps you need to complete to
prepare the runtime workstation for file transfers using a
Connection serial PPP connection. For detailed descriptions on how to
configure the settings, see the Configure the TCP/IP
Settings section in this chapter.
Toolbar.
11. Select the IRQ / INTERRUPT button from the Net
submenu and then enter the hardware IRQ or software
interrupt for the COM port.
COM1=4, COM2=3, COM3 and COM4=variable
setting
12. Select the DOWNLOAD ONLY button from the Net
submenu to keep the port from initializing until the
Shell is loaded.
13. Exit the Net Setup menu.
14. Exit the TCP/IP Setup menu and reboot the worksta-
tion.
Changes do not take effect until the runtime worksta-
tion reboots.
15. If you wish to restrict access to the files on the runtime
workstation, enter a FTP user name and password. To
do this, select the FTP button from the Settings menu.
16. Connect the serial cable to the appropriate serial port
of the runtime workstation.
You are now ready to transfer files from the development
system (running MachineShop) to the Shell. See the
Transfer Project Files section in this chapter for details.
Serial PPP Cable You can use any standard Windows RAS null modem
cable, you can construct your own cable, or you can
purchase a cable from CTC-Parker. If you decide to
construct you own cable, refer to the following table for
cable pinouts.
Ethernet Point This section describes the steps you need to complete to
prepare the runtime workstation for file transfers using an
to Point Ethernet point to point connection. For detailed descrip-
Connection tions on how to configure the settings, see the Configure
the TCP/IP Settings section in this chapter.
To configure the Shell for an Ethernet point to point
connection, complete the following steps:
1. Select the TCP/IP button from the Settings menu to
configure the TCP/IP settings.
2. If TCP/IP hasn’t been enabled, select the ENABLE
button from the TCP/IP Setup menu.
3. If a MachineShop Net Name hasn’t been configured
for the runtime workstation, select the NET NAME
button from the TCP/IP Setup menu and then enter a
name.
4. Select the NET SETUP button from the TCP/IP
Setup menu to configure the network interface.
5. Select one of the NET buttons (1, 2, or 3) from the
Network Setup menu.
6. Select the IFACE TYPE button from the Net
submenu and then select an option such as the I82557,
3C509, or NE2000 as the interface type.
Your selection depends on the network interface card
installed in the runtime workstation. For the 10Base-
T port, use NE2000.
7. Select the IP ADDRESS button from the Net
submenu and then enter the IP Address.
8. Select the IP MASK button from the Net submenu
and then enter the IP Mask.
9. If your interface type supports the Port Address and
IRQ / Interrupt options, enter a value for each.
10. Exit the Net Setup menu.
11. Exit the TCP/IP Setup menu and reboot the worksta-
tion.
Changes do not take effect until the runtime worksta-
tion reboots.
12. If you wish to restrict access to the files on the runtime
workstation, enter a FTP user name and password. To
do this, select the FTP button from the Settings menu.
13. Connect the runtime workstation to the Ethernet
connector using a cross-over 10Base-T cable.
You are now ready to transfer files from the development
system (running MachineShop) to the Shell. See the
Transfer Project Files section in this chapter for details.
Transfer Project Once you have set up the Shell on the runtime worksta-
tion, project files on the development system may be
Files transferred to the runtime workstation using the Machine-
Shop Toolbar.
This section describes how to use the MachineShop
Toolbar to download and upload an active project from
the development system to the runtime workstation. It
also includes the steps for creating a remote backup. For a
complete discussion on MachineShop, refer to the
MachineShop Getting Started Guide or the MachineShop
online help.
6. Select the COM port and baud rate you want to use in
this connection.
7. Click Finish to create the connection.
Downloading Files Once a connection is created, you may download the files
needed to create or update the runtime workstation. The
MachineShop Toolbar includes a Transfer Wizard that
steps you through the process of selecting a connection
and downloading files to a runtime workstation.
To download files to the runtime workstation,
complete the following steps:
1. Open the project you wish to download in Machine-
Shop.
2. Select the Transfer Wizard command from the
Transfer menu.
The Transfer Wizard appears.
3. Check the Download to Runtime box and then click
on Next.
4. Follow the instructions provided by the Transfer
Wizard to finish downloading the project. For more
information, refer to the MachineShop Getting
Started Guide.
Note If you have the MLSC installed, you may want the
project files to also be transferred to the MLSC.
You can set this to happen automatically as part of
the download from the Toolbar using a selection
in the Transfer Wizard. Or you can set the Toolbar
to download to the runtime workstation and then,
after the transfer is complete, download the
project from the runtime workstation to the
MLSC itself. For more information, see the
Project Files section in Chapter 6.
Uploading Files You may also upload a file or project to the development
system using the Transfer Wizard. The process of
uploading a project is very similar to downloading a
project.
MachineLogic
Chapter Contents
Access MachineLogic 86
Start and Stop MachineLogic 86
Reset 88
View Task Information 89
Configuring the MLPC 91
Configuring the MLSC 99
Project Files (MLSC Only) 104
Access MachineLogic Chapter 6: MachineLogic
The display area of the screen shows whether you have the
MLPC or the MLSC installed as well as the current mode
of the MachineLogic runtime. It also displays system
status, project name, and error information. If an error
condition occurs, the error number and the corresponding
message will be displayed on the screen.
Start and Stop From the MachineLogic menu, you may start and stop the
MachineLogic runtime kernel.
MachineLogic
Stopping To stop MachineLogic from executing, complete the
MachineLogic following steps:
1. Select the STOP button from the MachineLogic
menu.
Starting There are three types of start modes: Cold, Warm, and
MachineLogic Hot. The start modes determine how data is initialized and
tasks are activated in the MachineLogic project.
To start MachineLogic, complete the following steps:
1. Select the START button from the MachineLogic
menu.
The Start submenu appears. Note that if you have the
MLSC installed, the runtime target says MLSC rather
than MLPC.
Reset From this menu button you can reset two options: the
watchdog and the slot card. If you have the MLPC
installed, the watchdog hardware timer resides on the
MachineLogic Control Adapter (MLCA). If you have the
MLSC installed, the watchdog timer resides on the MLSC
itself.
Watchdog
If the watchdog timer exceeds the alarm threshold, the
Reset button flashes in red and the WATCHDOG button
is enabled and flashing. You must manually reset the
Slot Card
This option is available when the Shell detects the MLSC
installed on your runtime workstation. Select this option
to reset the Slot Card itself. Both the Slot Card and the
runtime workstation are rebooted.
To reset the watchdog timer, or to reset the Slot Card,
complete the following step:
• Select the RESET button from the MachineLogic
menu.
The Reset button is disabled.
View Task You may view information about the MachineLogic tasks
included in the installed project. The information includes
Information a count of tasks and details such as task name, priority,
and period for each task in the project.
To display task information for the MachineLogic
project, complete the following step:
• Select the TASK INFO button from the MachineL-
ogic menu.
menu.
Port Address The Port Address defines the I/O port address parameter,
ranging from 0x200 to 0xFFF8 in multiples of eight. The
default value of the Port Address is 0x710.
To configure the Port Address of the MLCA, complete
the following steps:
1. Select the PORT ADDRESS button from the Hard-
ware Settings menu.
The pop-up keypad appears.
2. Enter a valid port address for the Control Adapter.
3. Press the ENTER button to accept the value.
Interrupt Request The Interrupt Request defines the assigned IRQ on the
Control Adapter. Valid IRQ numbers are 3, 4, 5, 7, 10, 11,
12, or 15 (as long as the number does not conflict with any
other PC IRQ assignments).
The default value of the Interrupt Request is 5 for the
MLCA.
To configure the Interrupt Request for the MLCA,
complete the following steps:
1. Select the INTERRUPT REQUEST button from the
Hardware Settings menu.
The pop-up keypad appears.
2. Enter a valid interrupt request number for the Control
Adapter.
This value defines the IRQ used by the card. Set the
IRQ to zero (0) if the Powerfail and Watchdog func-
tions are disabled on the Control Adapter card.
Power Fail The Power Fail feature is designed to protect the runtime
workstation in the event of an uncontrolled power loss.
The power fail detection circuit on the MLCA monitors
the system voltage. When the +5 Volts supply drops
below 4.75 Volts, it will generate an interrupt to shutdown
the I/O and de-energize the MCR. This relay can be used
as an external indicator as part of an emergency stop
circuit.
To enable/disable the Power Fail feature, complete the
following steps:
1. Select the POWER FAIL button from the Hardware
Settings menu.
The Power Fail submenu appears.
UCS Address The UCS Base Address defines the I/O port address
parameter, ranging from 0x200 to 0xFFF8 in multiples of
eight. The default value of the UCS Base Address is
0x718.
To configure the base address for the UCS interface
card, complete the following steps:
1. Select the NEXT button from the Hardware Settings
menu.
2. Select the UCS ADDRESS button.
The pop-up keypad appears.
3. Enter a valid address for the UCS card.
4. Press the ENTER button to accept the address value.
UCS Interrupt The hardware interrupt for the UCS interface card can be
any of the following: 3, 4, 5, 7, 10, 11, 12, or 15 as long as
it does not conflict with any other IRQ assignments made
by the PC. The default value of the UCS hardware inter-
rupt is IRQ=0 (disabled).
To configure the hardware interrupt for the UCS
interface card, complete the following steps:
1. Select the NEXT button from the Hardware Settings
menu.
2. Select the UCS INTERRUPT button from the Hard-
ware Settings menu.
The pop-up keypad appears.
3. Enter a valid IRQ number for the interrupt.
Set the IRQ parameter to zero (0) if no interrupt is
used.
4. Press the ENTER button to accept the interrupt value.
appears.
Power Fail The Power Fail feature is designed to protect the system
in the event of an uncontrolled power loss. The power fail
detection circuit on the MLSC monitors the system
voltage. When the +5 Volts supply drops below 4.75
Volts, it will generate an interrupt to shutdown the I/O and
de-energize the MCR. This relay can be used as an
external indicator as part of an emergency stop circuit.
To enable/disable the Power Fail feature, complete the
following steps:
1. Select the POWER FAIL button from the Hardware
Settings menu.
The Power Fail submenu appears.
Ethernet I/O The MLSC has an Ethernet port on the card itself. This
port is meant to connect to I/O racks or other devices that
the MLSC controls. A network administrator should
determine the IP address and the IP mask for the Ethernet
port so the MLSC can communicate across your network.
Project Files The Project Files option lets you transfer your MachineL-
ogic projects to and from the MLSC. Because the MLSC
(MLSC Only) has its own processor, it can execute MachineLogic tasks
on its own. But to do so you must first transfer your
MachineLogic project from the development system to
your runtime workstation (see Chapter 5). Once you have
accomplished this transfer, copy the project to the MLSC.
Likewise, you can copy your project from the MLSC back
to the development system.
To copy your project to and from the MLSC, complete
the following steps:
1. Select the NEXT button from the MachineLogic
menu.
MLCA.INI
The text of the MLCA.INI appears below:
[ControlAdapter]
MemBaseSeg=0xD800
MemSize=4 ;Set in Kbytes (0, 4, 8, 16, or 32)
IOBase=0x710
IRQ=5 ;(3, 4, 5, 7, 10, 11, 12, or 15)
[UCS]
UCSBase=0x718
UCSIrq=0
The parameters for MLCA.INI are described in the table below.
Parameter Description
[ControlAdapter] Memory sizes and locations for the control
adapter
MemBaseSeg=0xD800 Defines the base memory segment for the non-
volatile shared memory (NVSRAM).
The base memory segment must be defined at
an address that is evenly divisible by the mem-
ory size and allows the entire memory window
to fit within the following ranges:
• P1 PowerStations: 0xD000 to 0xEFFF
• 386 P2 and all 5x86 PowerStations: 0xC800
to 0xEFFF
• Pentium PowerStations: 0xC800 to 0xDFFF
For example, 0xD000, 0xD100, 0xD200, etc.
are valid base memory segments for a 4 kilo-
byte memory size.
MemSize=4 Defines the size of the NVSRAM in kilobytes
from 4k to 32k, incrementing by the following
values: 4k, 8k, 16k, and 32k. A value of 0 dis-
ables the NVSRAM.
IOBase=0x710 Defines the I/O port address ranging from 200
to FFF8 in multiples of eight.
Parameter Description
IRQ=5 Defines the hardware interrupt. The IRQ you
select can be any of the following: 3, 4, 5, 7, 10,
11, 12, or 15 as long as it does not conflict with
any other IRQ assignments made by the PC.
Set to 0 if Powerfail and Watchdog are dis-
abled.
[UCS] Parameters for UCS interface
UCSBase=0x718 Defines the I/O port address ranging from 200
to FFF8 in multiples of eight.
UCSIrq=0 Defines the hardware interrupt. The IRQ you
select can be any of the following: 3, 4, 5, 7, 10,
11, 12, or 15 as long as it does not conflict with
any other IRQ assignments made by the PC.
Set to 0 if no interrupt is used.
MACHLOG.INI
The text of the MACHLOG.INI file appears below.
Note You can also configure these parameters from the Memory and Ports dialog
box on the MachineShop Toolbar.
[COM]
Port = 1
Baud = 19200
[LIMITS]
Program = 50 ;Set in Kbytes
Inputs = 1024 ;Set in bytes on a quad boundary
Outputs = 1024 ;Set in bytes on a quad bounder
[CONTROLADAPTER]
PowerFail=ENABLED
Watchdog=ENABLED
[KEYBOARD]
CtrlAltDel=DISABLED;Key sequence is ignored if disabled.
[MACHINELOGICBOOTOPTION]
PowerOnOperation=ENABLED
Parameter Description
[Comm] Communication parameters for down-
loading and uploading
Port=1 Defines the COM port for communicating
with MachineLogic.
Baud=19200 Defines the baud rate for communicating
with MachineLogic.
[Limits] Memory limits for control program
Program=50 Defines the amount of memory in kilo-
bytes from 1k to 60k reserved for the
control program.
Inputs=1024 Defines the amount of memory in bytes
reserved for inputs to the control pro-
gram. This value can range from 4 bytes
to 8192 bytes.
Outputs=1024 Defines the amount of memory in bytes
reserved for outputs from the control pro-
gram. This value can range from 4 bytes
to 8192 bytes.
[ControlCard] Parameters for control adapter
Powerfail=Disabled Controls whether or not the MachineLog-
ic Control Adapter powerfail detection is
enabled or disabled.
Watchdog=Disabled Controls whether or not the MachineLog-
ic Control Adapter watchdog timer is en-
abled or disabled.
[Keyboard] Parameters for keyboard
CtrlAltDel=Enabled Controls whether or not the Ctrl+Alt+Del
key combination for rebooting the ma-
chine is enabled or disabled.
[MachineLogicBootOption] Parameters for start up
PowerOnOperation=Enabled Controls whether or not MachineLogic
will start after the workstation is powered
on.
PSU.CFG
The text of the PSU.CFG file appears below:
<data>
<application>
<version></version>
</application>
<configuration>
<poweron runitr="NO"></poweron>
<lastlanguage>English</lastlanguage>
<optiondata>0</optiondata>
<displaytype>0</displaytype>
<DirectSerial COM="0" FifoTrigger="1"/>
</configuration>
<backup>
<path1></path1>
<path2></path2>
<path3></path3>
</backup>
<restore>
<path1></path1>
<path2></path2>
<path3></path3>
</restore>
<ftp>
<username></username>
<password></password>
</ftp>
<P5Settings>
<shiftmode>0</shiftmode>
<selectionkey>0</selectionkey>
</P5Settings>
</data>
1. Install the MachineShop Shell software from the MachineShop Shell Installa-
tion disk.
2. Copy the NET directory and the contents of CTC directory from the PowerSta-
tion Start disk to your PC.
3. Modify the workstation’s AUTOEXEC.BAT file.
Note The MachineShop Shell Installation disk and the PowerStation Start disk are
part of the Runtime Workstation disk set. For instructions on how to create
the Runtime Workstation disk set, see the MachineShop Installation Booklet.
For instructions on how to install the MachineShop Shell on a PowerStation,
see your PowerStation User Guide.
To copy the files to the non-CTC workstation, complete the following steps:
1. Insert the PowerStation Start disk into drive A.
MLCA
If you have the MLCA installed, you may add these lines to the end of your
AUTOEXEC.BAT file.
REM
********************************************************************
REM Add the CTC folder to the system's PATH.
REM
********************************************************************
PATH %PATH%;C:\CTC
REM
********************************************************************
REM Load the MachineLogic Control Adapter driver if it is present.
REM
********************************************************************
:NOMLCA
REM
********************************************************************
REM Set up Interact and MachineLogic environment variables for MS Shell.
REM
********************************************************************
SET INTERACT=C:\INTERACT
SET INTERACT_FILES=C:\INTERACT\APPFILES
SET INTERACT_STARTUP=C:\STARTUP
SET MACHINELOGIC=C:\MACHLOG
REM
********************************************************************
REM Load NETWORK drivers -- NOVELL and/or TCPIP stack.
REM Remove REM on the CALL statement to load NOVELL network batch file.
REM If used, this must be called BEFORE loading the TCPIP stack.
REM
********************************************************************
CD \NET
REM CALL C:\NET\NET.BAT
LH C:\NET\TCPIP
REM
********************************************************************
REM Load MachineLogic if ML kernel present, and set for boot operation.
REM (determined by MLDU.EXE return value 0 = ENABLED, 1 = DISABLED)
REM
********************************************************************
C:\MACHLOG\RTXDOS
C:\MACHLOG\MACHLOG
:NOML
REM
********************************************************************
REM Start the MachineShop Shell.
REM
********************************************************************
CD \CTC
PSU
MLSC
If you have the MLSC installed, you may add these lines to the end of your
AUTOEXEC.BAT file.
@ECHO OFF
REM
*********************************************************************
REM Add the CTC folder to the system's PATH
REM
*********************************************************************
PATH %PATH%;C:\CTC
REM
********************************************************************
REM Set up Interact environment variables for MS Shell.
REM
********************************************************************
SET INTERACT=C:\INTERACT
SET INTERACT_FILES=C:\INTERACT\APPFILES
SET INTERACT_STARTUP=C:\STARTUP
REM
********************************************************************
REM If an external mouse is connected, MOUSE will install successfully
REM and create a new MOUSE.INI file.
REM
********************************************************************
CD \CTC
IF EXIST C:\CTC\MOUSE.INI DEL C:\CTC\MOUSE.INI
LH C:\CTC\MOUSE
REM
********************************************************************
REM Check for the presence of a MachineLogic Slot Card (MLSC).
REM Set up MachineLogic environment variables for MS Shell.
REM
********************************************************************
SET MACHINELOGIC=C:\MACHLOG
IF NOT EXIST C:\MACHLOG\NUL.EXT MD C:\MACHLOG
IF NOT EXIST C:\CTC\TST4MLSC.EXE GOTO NO_MLSC
TST4MLSC C:\NET\TCPIP.INI 0x7E MLSC 0xD000
IF ERRORLEVEL 2 GOTO BAD_MLSC
IF ERRORLEVEL 1 GOTO GOOD_MLSC
GOTO NO_MLSC
:GOOD_MLSC
REM *** MLSC Present and has IP - launch packet driver
SET MLSC=GOOD
C:\NET\MLSC_PKT 0x7E 0xD000
GOTO DO_TOUCH
:BAD_MLSC
REM *** MLSC Present but doesn't have IP or may not be functioning prop-
erly
SET MLSC=BAD
GOTO DO_TOUCH
:NO_MLSC
REM *** No MLSC, may or may not have MLPC (find out later)
SET MLSC=NONE
REM
********************************************************************
REM Load the MachineLogic Control Adapter driver if it is present.
REM
********************************************************************
CD \MACHLOG
IF NOT EXIST C:\CTC\MLCA.EXE GOTO NOMLCA
CD \CTC
LH C:\CTC\MLCA
:NOMLCA
REM
*********************************************************************
REM Launch packet drivers here.
REM If you are using the PACKET Interface for any of your networks,
REM launch the packet drivers here.
REM
*********************************************************************
REM
********************************************************************
REM Load NETWORK drivers -- NOVELL
REM Remove REM on the CALL statement to load NOVELL network batch file.
REM If used, this must be called BEFORE loading the TCPIP stack.
REM
********************************************************************
CD \NET
REM CALL C:\NET\NET.BAT
REM
********************************************************************
REM Load TCP/IP Stack
REM If MLSC is present always load TCPIP.
REM If no MLSC, check for MLPC.
REM
********************************************************************
IF %MLSC% == NONE GOTO :MLPC_TCP
GOTO TCPNOML
:MLPC_TCP
REM
********************************************************************
REM If MachineLogic is set for boot operation (MLDU.EXE returns 0),
REM TCP/IP must be run with the -NORTC option, to prevent interference
REM with MachineLogic! MachineLogic will install TCP/IP as a task.
REM
********************************************************************
C:\CTC\MLDU
IF ERRORLEVEL 1 GOTO TCPNOML
LH C:\NET\TCPIP -NORTC
GOTO TCPCONT
:TCPNOML
LH C:\NET\TCPIP
:TCPCONT
REM
********************************************************************
REM Load MachineLogic if ML kernel present, and set for boot operation.
REM (determined by MLDU.EXE return value 0 = ENABLED, 1 = DISABLED)
REM
********************************************************************
IF %MLSC% == NONE GOTO MAYBE_MLPC
GOTO NO_MLPC
:MAYBE_MLPC
IF NOT EXIST C:\MACHLOG\NUL.EXT MD C:\MACHLOG
CD \MACHLOG
IF NOT EXIST C:\MACHLOG\MACHLOG.EXE GOTO NO_MLPC
C:\CTC\MLDU
IF ERRORLEVEL 1 GOTO NO_MLPC
C:\MACHLOG\RTXDOS
C:\MACHLOG\MACHLOG
:NO_MLPC
REM
********************************************************************
REM Call AUTOEXEC.BAT file contained in project, if it exists.
REM
********************************************************************
IF NOT EXIST C:\STARTUP\NUL.EXT MD C:\STARTUP
CD \STARTUP
IF EXIST C:\STARTUP\AUTOEXEC.BAT CALL C:\STARTUP\AUTOEXEC.BAT
REM
********************************************************************
REM Start the MachineShop Shell.
REM
********************************************************************
CD \CTC
PSU
A D
add Development command 39
connection development system
direct serial 79 adding a connection 79
add language files 40 downloading files 81
Adjust Bright command 46 remote backups 82
Adjust Contrast command 48 remote restores 83
AUTOEXEC.BAT 112 transfer project files 79
Modifying for the MLCA 112 uploading files 81
Modifying for the MLSC 113 DHCP 55
Direct Serial 13, 68, 69, 70
Disable command 58
B disable download only 63
Back button 9 disable MachineLogic 20
backup Display Area 12
definition 28 Display Type command 23
Backup command 15, 28 display types
backup directory structure 28 color 23
backup path, configure 30 Electroluminescent 23
backup project 28 mono 23
baud rate 80 documentation standards 4
Baud Rate command 60 Download Only command 63
baud rate, configure 60, 74 Dynamic Host Configuration Proto-
brightness level 46 col (DHCP) 59
C E
Calibrate Touchscrn command 44 EL command 23
Cold command 88 Enable command 37, 55
Color command 23 enable download only 63
COM1 69 enable MachineLogic 20
COM2 69, 70 enable TCP/IP 55, 72, 74, 77
Config command 39 Ethernet I/O 102
Configure Paths command 31, 35 Ethernet Point to Point connection 77
Configure the TCP/IP Settings 54 Exit menu button 16
contrast level 47
adding a connection 79 P
downloading files 81 PACKET 58
remote backups 82 Password command 66
remote restores 83 port 69
uploading files 81 Port Address command 60, 94
MACHLOG.INI 108 Port Address, configure 60
Main Menu 12 port address, configure 74
Master Control Relay 91 Power Fail 100
MCR 91, 96, 101 Power Fail command 95
Memory Address command 93 PowerStation maintenance
Memory Size command 93 adjust brightness 46
menu buttons 11 adjust contrast 47
MLCA 91 calibrate touchscreen 44
MLCA.INI 107 keyboard test 45
MLPC 91 PSU.CFG 110
MLSC 58, 81, 82, 83, 99, 104 PWRSTA command 13
Mono command 23
R
N reset 24
navigating Reset Watchdog command 88
keyboard 8 restoration path, configure 34
mouse 8 Restore command 15, 32
moving between screens 9 Restoring a project 32
touchscreen 8 restrict access to files 65
NE2000 interface type 58 Retentive Memory command 92
Net Name command 55 RUN 18
Net Setup command 56 Run menu button 12
network connection Run Mode 22
Ethernet Point to Point 77 Runtime command 39
LAN 72 runtime files
serial 74 MACHLOG.INI 108
network connection settings 56 MLCA.INI 107
Next 91, 96, 97, 98, 99, 104 PSU.CFG 110
non-CTC-Parker workstation runtime system
definition 3 backup project 28
configure IP Address 58
O configure network connection 56
ODI interface type 58 MachineShop Net Name 55
online help 10