Download USER`S GUIDE

Transcript
Target User's Guide
C.4 Getting started with ISaGRAF OS9 target
First of all you need to transfer files (at least executable files from CMDS directory) to your
OS-9 target using any file transfer tool.
Then to get started you can simply run the help commands from your OS-9 system CMDS
directory:
isa -?
isaker -?
isatst -?
Isanet -?
C.4.1 Running the ISaGRAF single task: isa
The ISaGRAF target can be run as single task. But in such a configuration operations can be
critical. It is for instance recommended not to overload the communication link to guarantee
good performance. On the OS-9 multitasking system, different ISaGRAF single task targets
can be run on the same CPU as long as their slave number and communication port are
different.
This single task implementation has mainly been designed for poor hardware platform such
as low cost boards or MS-DOS PC’s or to make a first prototype when porting on a new
platform. Therefore the multitasking ISaGRAF target implementation should be preferred.
The ISaGRAF single task target does not prevent the running of background processes or
interrupt driven routines.
Communication link and configuration: -t Option
The ISaGRAF single task target uses a serial link for debugger communication. The name of
the descriptor is specified with the -t option.
No Default value: If this option is not used, no communication with the target is possible. In
such a case, error number 7 may be displayed.
Communication using an Ethernet link is not available with the single task implementation.
The serial link device is opened in binary data transfer mode (no control characters, no
XON/XOFF). Other communication parameters have to be set before starting ISaGRAF, so
that the user is totally free to use the parameters needed. When using the workbench
debugger, make sure the workbench communication parameters (see user’s guide: Managing
programs) match with the target ones.
Example:
xmode /t0 baud=19200
Sets up communication baud rate to 19200 baud on /t0 device
Slave number: -s Option
This option specifies the target slave number. It can be from 1 to 255 except number 13
($0D). This slave number is used through the communication link protocol. It is needed to
distinguish slaves from each other when more than one target are running. When using the
workbench debugger, make sure the workbench slave parameter (see user’s guide: Managing
programs) matches with an existing target.
C-330
ICS Triplex ISaGRAF Inc.