Author Topic: Magic RDS 4 task scheduler comamnds  (Read 1337 times)

davidmb

  • Newbie
  • *
  • Posts: 21
Magic RDS 4 task scheduler comamnds
« on: October 05, 2020, 11:48:07 am »
Hello,

I have a question regarding task scheduler commands in Magic RDS 4.
(Encoder connected via UECP)

1. What is the correct command to update specific data to encoder - I can set it but cant seem to update it to encoder)
2. What is the correct command to change data set from 1 to 2 in the encoder?

Thanks you very much for your help in advance and br,
David 

Jan

  • Hero Member
  • *****
  • Posts: 1069
Re: Magic RDS 4 task scheduler comamnds
« Reply #1 on: October 05, 2020, 02:14:06 pm »
This is a good and relevant question because the Task scheduler help is not finished yet.

The Magic RDS 4 supports several communication protocols and multiple connections. On the other side, it supports common control as well. As the result, is uses common ASCII equivalent commands for all models incl. UECP.


In your example (Data set change to 2) type following as the Task line:

Code: [Select]
send connection:"*" command:"PROGRAM=2"
This command will be translated to appropriate protocol for each connection (encoder). For the UECP, the output will be

<FE><00><00><00><02><1C><02><F9><D3><FF>

that's effectively MEC 1C ("Data set select") with value of 0x02.


You may specify Encoder address and Site address as well:

Code: [Select]
send connection:"*" command:"PROGRAM=2" adr:3 site:4
or if you want to send that to a specific connection (not to all):

Code: [Select]
send connection:"connection_name" command:"PROGRAM=2"
etc.


Complete list of commands is now available in the Terminal window under the "Set" button on the left side. We accept feature requests for the Task scheduler.

davidmb

  • Newbie
  • *
  • Posts: 21
Re: Magic RDS 4 task scheduler comamnds
« Reply #2 on: October 05, 2020, 02:28:43 pm »
Hi.

Yes, that is exactly what I was looking for.

It works like a charm. :)

Thanks for your help and br, David