Send a text file to the control coprocessor – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 49
Chapter 3
Getting Started with the Control Coprocessor
3-20
Set Up a Password File
After the control coprocessor executes the startup file, it executes the login
file. This file must have the appropriate entries for the login to execute.
If the control coprocessor does not find the DD/SYS/PASSWORD file, it
executes the OS-9 shell.
Important: When using Ethernet, you must have a password file in the
/DD/SYS directory. When you are not using Ethernet, the password file
is optional.
The password file contains one or more variable-length text entries—an
entry for each user name. The fields are separated by commas and defined
as follows:
user
name
password
group.user ID number
initial process priority
initial execution directory pathlist
initial data directory pathlist
initial
program
The following is an example of a password file:
super,user,0.0,255,.,.,shell
-p=“Super:
”
fudja,ajduf,3.7,128,/dd,/dd,shell
Set your environment variables in a .LOGIN file. The .LOGIN file is
executed when the /DD/SYS/PASSWORD file is present on the RAM
drive and the user is forced to log in.
See OS-9 Operating System User Manual, publication 1771-6.5.102, for
more information on password files and execution of the login procedure.
This section explains how you create a text file and then send it to the
control-coprocessor RAM disk.
Create a Test Text File
To create a text file:
1.
Select
E)
Edit
on the PCBridge main menu to access your editor.
The default text editor is DTE, a public domain text editor provided
for your convenience.
2.
Create a text file. The test file for this example is named TEST.TXT.
3.
Return to the PCBridge main menu after you complete writing your
text file.
Send a Text File to the
Control Coprocessor