Download USER`S GUIDE

Transcript
Target User's Guide
Default value: The default slave number is 1 (same as the workbench one)
Examples:
isa -t=/t0
isa -s=3 -t=/t1
isa -t=/t0 &
isa -s=3 -t=/t1
Starts an ISaGRAF single task target with default slave number (1) and with
/t0 as the communication port.
Starts an ISaGRAF single task target with slave number 3 and with /t1 as
the communication port.
Starts two ISaGRAF single task targets. One with default slave number (1)
and with /t0 as the communication port. The other with slave number 3 and
with /t1 as the communication port.
C.4.2 Running the ISaGRAF multitasks: isaker, isatst, isanet
To improve the response time of the ISaGRAF target kernel and of the communication link,
the target is split into two tasks separating communication job (isatst or isanet communication
task) from application execution (isaker kernel task).
Such architecture is more flexible. It allows the user to run more than one communication task
linked with the same kernel task or to run up to 4 kernels with the same communication task.
This makes easy some integration such as a process visualization link and the workbench
debugger link on the same application or a single link up to 4 different applications through
the same physical port.
The kernel and communication tasks are independent and can be separately forked. The only
requirement is that the kernel task(s) has to be started first so that it initializes its system
environment and the communication task(s) can link it.
The ISaGRAF multitask target does not prevent the running of background processes or
interrupt driven routines
C.4.2.1 Running the kernel task: isaker
Slave number: -s Option
This option specifies the target kernel slave number. It can be from 1 to 255 except number
13 ($0D). This slave number is used through the communication link protocol and by the
communication task(s) linked to the kernel. It is needed to distinguish slaves from each other
when more than one target are running.
Default value: The default slave number is 1 (same as the workbench one)
C.4.2.2 Running the serial communication task: isatst
Communication link and configuration: -t Option
The target communication task isatst uses a serial link for debugger communication. The
name of the descriptor is specified with the -t option.
ICS Triplex ISaGRAF Inc.
C-331