USER MANUAL Manual

Remote I/O Application ExamplesE–12
Publication 2706-807
Triggerring Messages Using Discrete I/O - PLC5 Example
(Bit Trigger Run Mode)
PLC5 at Rack #1, Group #0
Trigger message #1 here:
Format: 0 = Disabled
1 = Enabled. Trigger message
Move
Source 0
0<
Dest N9:2
1<
MOV
0000
Bit Field Distributor
Source N9:2
1<
Source Bit 0
Dest O:011
1<
Dest Bit 0
Length 1
BTD
0001
0002
0003
0004
Trigger message #2 here:
Format: 0 = Disabled
1 = Enabled. Trigger message
Move
Source 0
0<
Dest N9:3
0<
MOV
Bit Field Distributor
Source N9:3
0<
Source Bit 0
Dest O:011
1<
Dest Bit 1
Length 1
BTD
Enter priority message number to trigger here:
(The priority message occupies word 0, bits 0–13
in the output image table.)
Move
Source N9:20
4<
Dest N9:20
4<
MOV
Masked Move
Source N9:20
4<
Mask 0FFFH
4095<
Dest O:010
–31856<
MVM
0005
<END>0006