Sentence Mode Example Programs - Omron SYSMAC C200H-OV001 Operation Manual

Voice unit
Table of Contents

Advertisement

Sentence Mode Example Programs

4-1
Sentence Mode Example Programs
Example 1: One-shot
operation
Sequential mode response
Priority mode response
Example 2: One-shot
operation
60
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
This section describes how to develop PC programs for Voice Unit message
playback when the Voice Unit is under PC control (ON-LINE mode).
For the following programs it is assumed that the Voice Unit has been
mounted on the PC as follows:
C200H
CPU
Voice unit: unit no. 1
In this example, the number of repetitions and the repeat intervals for mes-
sage playback are fixed.
Message no. 2 is played back when input 00100 turns ON.
Message no. 6 is played back when input 00101 turns ON.
The messages are played back 3 times at 1.0 second intervals
25313
00100
00101
In sequential mode the messages corresponding to inputs 00100 and 00101
are played back in the sequence in which their inputs turn ON.
If the two inputs turn ON in the same scan time, the message having the low-
er number (message no. 2) is played back first.
If the output command of message no. 2 turns on during message no. 6 play-
back message no. 2 takes priority. As a result message no. 6 is interrupted
and message no. 2 is played back.
Message no. 6 is played back from the beginning again after message no. 2
has been played back.
In this example, the number of repetitions and the repeat intervals are differ-
ent for each message.
Input Unit: word 1
This command transfers repetition
MOV
(3 times) and interval data (1.0 s)
#0103
to the Voice Unit.
110
This command issues the message
11102
no. 2 output command when input
00100 turns ON.
This command issues the message
11106
no. 6 output command when input
00101 turns ON.
Section 4-1

Advertisement

Table of Contents
loading

Table of Contents