USER MANUAL Manual
Remote I/O Application ExamplesEā8
Publication 2706-807
Triggering Messages with Variables Using Discrete I/O ā
PLC5 Programming Example (Message List Run Mode)
PLC5 at Rack #1, Group #0, ā 1/4 Rack
Enter Priority Message Number to Trigger Here:
(In Message List mode a priority message occupies the lower 12 bits of
work 0 in the output image table. A special message should be triggered
only as a priority message.
Move
Source 905
905<
Dest N9:10
905<
MOV
0000
Bit Field Distributor
Source N9:10
905<
Source Bit 0
Dest N9:20
905<
Dest Bit 0
Length 12
BTD
0001
Masked Move
Source N9:20
905<
Mask 0FFFH
4095<
Dest O:010
0<
MVM
0002
Move
Source 1
1<
Dest N9:2
1<
MOV
0003
0004
# Enter Add/Delete Bit Here:
Format: 0 = Bit clear, delete message
1 = Bit set, add message to message list
(The Add/Delete bit is in word 0, bit 15 of the output image
table. This determines whether the message is added to or
deleted from the message list.)
Bit Field Distributor
Source N9:2
1<
Source Bit 0
Dest O:010
0<
Dest Bit 13
Length 1
BTD