Tmr1p examples, Example 1, Example 2 – WaveWare TMR1P User Manual

Page 12: Example 3, Daviscomms (s) pte ltd, 3 tmr1p examples

Advertising
background image

DAVISCOMMS (S) PTE LTD

3 TMR1P

Examples

Assuming the Sub-address is “1234”, Header1 is pre-programmed using the TPS as “00ff”,
Trailer2 is pre-programmed as “eeff”, and the Source ID is enabled with the capcode index of the
capcode address that the TMR1P is receiving the message as 4.

3.1 Example

1


If the user sends out the following page: “1234[[[[1011k0t1]”

Interpretation: This is to control the 8 output ports. Sub-address is "1234", ports P1, P3, P4 and

P8 are set to logic high, ports P2 and P6 are set low, port P5’s state remained
unchanged, and port P6’s state is toggled to the opposite state from the previous
state.

3.2 Example

2


Assuming the Sub-address is now disabled through the TPS and if the user sends out the
following page: “[[[[1011k0k1]”

Interpretation: This is to control the 8 output ports. Sub-address is "1234", ports P1, P3, P4 and

P8 are set to logic high, ports P2 and P6 are set low, port P5’s state remained
unchanged, and port P6’s state is toggled to the opposite state from the previous
state.


3.3 Example

3


i) If the user sends out the following page: “1234 [[[[1]”

Interpretation: This is to control all the 8 output ports simultaneously and in this case, all ports

will be set to logic High (source).


ii) If the user sends out the following page: “1234 [[[[0]”

Interpretation: This is to control all the 8 output ports simultaneously and in this case, all ports

will be set to logic Low (sink).


iii) If the user sends out the following page: “1234 [[[[s]”

Interpretation: This is to control all the 8 output ports simultaneously and in this case, all ports

will be set to the logic state which is the opposite of the previous state.


iv) If the user sends out the following page: “1234 [[[[k]”

Interpretation: This is to control all the 8 output ports simultaneously and in this case, all ports

will be remain at the same as state as the previous state.

12

500088R03

DAVISCOMMS (S) PTE LTD

Blk70 Ubi Crescent #01-07 Singapore 408570. Tel: (65) 65471127 Fax: (65) 65471129

Advertising
This manual is related to the following products: