Visual Productions forum

Author Topic: rs-232 IoCore  (Read 2041 times)

October 21, 2014, 02:45:12 PM
Read 2041 times

Marek_WDLUX

  • Member
  • *
  • Posts: 11
Hello,

i am trying to make controll Panasonic PT-D5700U via rs-232 with IOCore, but i am kinda lost now...

I tryied to send messages exactly as they are in projectors manual (ftp://ftp.panasonic.com/pub/panasonic/drivers/PBTS/brochures/S_PT-D5700U.pdf)

For example:

STX ADZZ ; POF ETX
this should turn the devic to standby, but it won't

1 - i did not understand how tasks for rs232 in iocore works. There are almost no information in the manual - for someone like me without knowlege of serial port comunication, because i don't even know where to put the comand like this - souhld it be "send" send string" or the hex form in "send hex string"? i didn't understand difference between some of message types...

I tried almost every possible combination that i found and nothing worked...

i have also this:
ftp://ftp.panasonic.com/pub/panasonic/drivers/pbts/manuals/OM_PT-DW5100.D5700.D4000RS232C.pdf
there are hex messages for everything that i need, but they are too long to for hex string message in iocore...
e.g. this if for power of:
02h 41h 44h 5Ah 5Ah 3Bh 50h 4Fh 46h 03h

but when i enter it to task and press entert, its automaticaly shorten to: 02h 41h 44h 5A



please help, our installation should be done by friday :)
« Last Edit: October 21, 2014, 02:53:36 PM by Marek_WDLUX »

October 22, 2014, 09:43:19 AM
Reply #1

Maarten Engels

  • Administrator
  • Member
  • *****
  • Posts: 2383
    • www.visualproductions.nl
hi Marek,

In the next revision we will be adding this text to IoCore's manual:

RS-232 features: [only available on the IoCore]
Send                  Send a message with an ASCII string type parameter. A LF (line feed 0x0D+0x0A) is automatically added.
Send Float          Send a message with a float type parameter. No LF added.
Send Unsigned    Send a message with an unsigned type parameter. No LF added.
Send Bool           Send a message with a bool type parameter. No LF added.
Send String         Send a message with an ASCII string type parameter. No LF added.
Send String Hex  Send a message with HEX values. No LF added.
Send Bytes         Send a message with raw bytes. No LF added.

The strings in the task's parameters are limited in length. When a longer string needs to be transmitted it can be constructed from multiple RS-232 tasks. Be sure to use the Send String feature for the first tasks so no LF is inserted between the string parts. It is recommended to finish with a Send feature to have one LF added to the end of the transmission.
Maarten Engels
Visual Productions BV

October 22, 2014, 10:53:35 AM
Reply #2

Marek_WDLUX

  • Member
  • *
  • Posts: 11
And if i make action made from more than one task, will it perform then one by one or all at once? Is there any option to change this?

(it still doesn't work)

October 22, 2014, 11:21:32 AM
Reply #3

Marek_WDLUX

  • Member
  • *
  • Posts: 11
It is working!

I did a 3tasks list

Send bytes: 02
Send string: PON
Send bytes: 03
(power on)

October 22, 2014, 04:22:57 PM
Reply #4

Maarten Engels

  • Administrator
  • Member
  • *****
  • Posts: 2383
    • www.visualproductions.nl
 :)

All the tasks in the action are executed; in the same order as the task-list.
Maarten Engels
Visual Productions BV

 

SMF spam blocked by CleanTalk