background image

10

Using the Module as a SMPTE Generator

Controlling the Generator

The 1746-SMPTE generator is entirely controlled by words in the PLC Output
File.  See the Module I/O Space chapter for a diagram of the Output File.

Note:  The 1746-SMPTE samples the control bits once per frame.  Pulses of less
than 33 milliseconds will not activate the module properly.

Setting the Current Time

Whenever the SET bit transitions from a zero to a one, the SMPTE time in the
Set Time words will be loaded into the SMPTE generator’s output.  The load
occurs at the next frame edge, so the time can be altered while the generator is
running or while it is idling.  Any invalid entries, such as minutes greater than
59, will be treated as if the entry were zero.  An error bit will be set in the Input
File to highlight the problem field.

Starting the Generator

Whenever the RUN bit transitions from a zero to a one, the generator switches
from IDLING to RUNNING.  If the generator is already running, the rising edge
on the RUN bit has no effect.

Stopping the Generator

Whenever the STOP bit transitions from a zero to a one, the generator switches
from RUNNING to IDLING.  If the generator is already idling, the rising edge
on the STOP bit has no effect.

Содержание 1746-SMPTE

Страница 1: ...1746 SMPTE User s Guide by Alcorn McBride Inc...

Страница 2: ...pplications will be suitable without further testing or modification Our Show Control equipment is not intended for use in applications where a malfunction can reasonably be expected to result in pers...

Страница 3: ...e 5 Output File 5 Input File 6 Using the Module as a SMPTE Generator 7 Generator Theory of Operation 7 Configuring the Generator 8 Controlling the Generator 10 Monitoring the Status of the Generator 1...

Страница 4: ......

Страница 5: ...ic counters work very well In fact they are still in widespread use in much of today s audio and video equipment However they do have drawbacks such as the lack of consistency from one machine to anot...

Страница 6: ...read and generate SMPTE EBU time code to the Allen Bradley family of programmable logic controllers The module is compatible with all processors in the SLC 500 family including the 5 01 5 02 5 03 and...

Страница 7: ...vel before installing the module in the chassis The 1746 SMPTE includes one eight position switch labeled SW1 on the circuit board to select the output level measured in volts peak to peak Switch SW1...

Страница 8: ...terminal block alternate the tightening of the release screws to avoid cracking the block Maximum screw torque is 8 in lb SMPTE Input When the 1746 SMPTE is used to read external time code the signal...

Страница 9: ...tput File The eight words in the output file configure and control the SMPTE module 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 x x x x x Frame Rate Mode Mute x Loop x Set Stop Run 1 Dropout Tolerance 2 S...

Страница 10: ...Hours 1 Minutes 2 Seconds 3 Frames 4 x x x x x Drop Gen Lock Frame Rate 5 Error Codes 6 x x x x x x x x x x x x x x x x 7 x x x x x x x x x x x x x x x x Module Input File The next two chapters contai...

Страница 11: ...is running or remains unchanged if the generator is idling When the generator is idling the output can be muted to prevent transmitting the same SMPTE code over and over The generator constantly compa...

Страница 12: ...otherwise add one frame to the current time if running or leave the current time unchanged if idling 5 If the current time matches the Loop End time replace the current time with the Loop Start Time i...

Страница 13: ...e Loop End Time the generator will jump to the Loop Start Time and continue generating from there If the LOOP bit is clear zero then the SMPTE output will stop at the Loop End Time Notice that by sett...

Страница 14: ...output The load occurs at the next frame edge so the time can be altered while the generator is running or while it is idling Any invalid entries such as minutes greater than 59 will be treated as if...

Страница 15: ...que if your program s scan time exceeds 33 milliseconds Current Frame Rate The low byte of word 1 in the Input File always contains the number 24 25 or 30 to indicate the frame sequence of the output...

Страница 16: ...art Time Frames 8 Loop End Time Hours 9 Loop End Time Minutes 10 Loop End Time Seconds 11 Loop End Time Frames 12 15 Reserved for future use Any invalid entry in the Output File will cause the corresp...

Страница 17: ...r Typical Applications Sample Rungs In this example the 1746 SMPTE generates a short section of time code under the control of two external inputs to the PLC The PLC includes a 5 03 processor the Alco...

Страница 18: ...of the output file The value 128 causes bit 7 of word 0 to be set and all other bits to be clear Bit 7 is the operating mode setting this bit configures the module to generate time code Bits 10 8 dete...

Страница 19: ...Using the Module as a SMPTE Generator 15 SMPTE Generator Continuing the initialization tasks rungs 0002 and 0003 set the LOOP START TIME and the LOOP END TIME...

Страница 20: ...STOP controls These inputs can be used to give external equipment direct control over the SMPTE generator s operation Rung 0006 monitors the generate status bit in the 1746 SMPTE input file to activa...

Страница 21: ...antly tests the incoming time code to be sure it remains good This means that each frame must contain 80 good SMPTE bits and also the time code must be rolling forward one frame at a time or must be i...

Страница 22: ...Make the current internal time and frame rate available to the PLC through the Input File 8 Indicate external lock and internal generate status to the PLC through the Input File Configuring the Reade...

Страница 23: ...sitions from a zero to a one the reader begins searching for incoming time code If the reader is already running the rising edge on the RUN bit has no effect When the operating mode is switched from g...

Страница 24: ...word 1 in the Input File always contains the number 24 25 or 30 to indicate the frame sequence of the incoming time code No distinction is made between 23 976 and 24 frame rates or between 29 97 and...

Страница 25: ...Sample Rungs This PLC includes a 5 03 processor the Alcorn McBride 1746 SMPTE module and a basic relay output module When the PLC switches to run mode the first pass bit S2 1 15 causes the following r...

Страница 26: ...r the execution of additional rungs or could simply activate some device external to the PLC Notice that the RUN control bit O 1 0 was not needed in this example The 1746 SMPTE automatically entered R...

Отзывы: