19
Tutorial 7. How to programme the Logic Controllers and Relay Boxes.
7.0
The method of programming for these peripherals is similar so we will consider just the Logic
Controller but bear in mind that the Relay Boxes are treated in the same way. For the tutorial, we will
play a short clip of video, say 3 seconds duration, and light 3 LEDs, 1 for each second during the clip.
To do this we need to connect the LEDs to logic outputs 1, 2 and 3 respectively. We will assume that
the logic controller is connected to the RS485 bus with address switches set to BANK 01.
7.1
Start a new sequence programme with Step 00 programmed for PLAY FROM - 00:00:02:00.
7.2
Click on ‘End’ and select ‘LOGIC CTRLR’ as device and ‘BANK 01’ as Command.
7.3
The ‘Logic Selector’ frame is displayed with 16 unhighlighted buttons. This indicates that all
outputs are set to logic low. Click on ‘1’ to highlight button ‘1’, this will set output 1 to logic hi when
the command executes, in this case it will cause LED 1 to light.
7.4
Click ‘O.K.’ to enter this step. The ‘Logic Selector’ frame disappears and Step 01 is entered
showing the logic states of the 16 outputs (16 on the left, 1 on the right).
7.5
Now enter a ‘WAIT FOR’ 1 second command.
7.6
Repeat steps 7.2 to 7.5 but each time enabling the next LED i.e. logic output 2 hi, then logic
output 3 each followed by a 1 second delay.
7.7
End the sequence with a ‘GOTO SEQUENCE 03’ command.
7.8
Save the sequence as ‘leds1_3’ and send it to sequence 03.
7.9
Play sequence 03 and you should see the sequence looping constantly with each led lighting at
the same point in the video each time.