Home AMX User Forum AMX Technical Discussion
Options

Control Panasonic AG-AG-7350 with AG-IA232TC card

Ok, So I have come across the need to control an older VTR deck, and it has the RS232C card installed. Its a 25pin dsub connector with one port saying rs232C input and the other output... On the input one, I have made a 25 pin to 9pin cable according to a document I think is for this.. it lists the correct model number, however the card has different communication conditional settings on the back of the card then from this model spec sheet from panasonic.

MANUAL : http://ccg.mavenspire.net/agis232tc.pdf

The cable according to the attached manual is pretty much straight through:
9pin 25pin
Frame pin 1
pin 3 pin 2
pin 2 pin 3
pin 7 pin 4
pin 8 pin 5
pin 6 pin 6
pin 5 pin 7
pin 4 pin 20
pin 9 pin 22

I used a cable test and everything looked great (all pins from above were correct)

As the manual lists 9600 8 bit 1 stop bit and no parity
The card lists 9600 7 bit 1 stop bit and odd parity

I have tried both, but cannot seem to get any communication between the controller and the deck.

There are two sets of dip switches that Im not totally sure how to set, the attached manual seems to only address dip switch set 1 number 1 and 3.

I have tried the dipswitch number 1 both at 0 and 1 position, with no change.

Could my commands be wrong?
dvREC_VCR2	= 5001:7:0	// Panasonic AG-7350/AG-IA232TC -- 9600,7,O,1 -Odd parity
				// settings could also be 9600,8,N,1 

DATA_EVENT[dvREC_VCR2]
{
    ONLINE:
    {
	WAIT 5
	{
	    SEND_COMMAND dvREC_VCR2, "'SET BAND 9600,7,O,1 485 DISABLE'"
                   // SEND_COMMAND dvREC_VCR2, "'SET BAND 9600,8,N,1 485 DISABLE'"
	}
    }
}


// record button example - covers multiple 
BUTTON_EVENT[TPS,501]	// ONT TOUCH RECORDING - RECORD
{
    PUSH:
    {
	//PULSE[dvREC_VCR,2]
	//PULSE[dvREC_VCR,8]
	SEND_STRING dvREC_VCR2, "'(02h)(ORC)(03h)'"
	
	// create new turbo clip
	
	// start recording turbo clip
	
                // Other recorders and 'live' light 
	SET_PULSE_TIME(3)
	PULSE[dvREC_DVD,8]
	SET_PULSE_TIME(5)
	PULSE[dvREC_DVD2,8]
	CALL 'REC MUTE OFF'()
	OFF[nREC_MUTE_VAL]
	OFF[nREC_PAUSE]
    }
}


Does anybody have working knowledge of this device, or if im doing something wrong? Any help is much appreciated!

Comments

  • Options
    dvREC_VCR2	= 5001:7:0	// Panasonic AG-7350/AG-IA232TC -- 9600,7,O,1 -Odd parity
    				// settings could also be 9600,8,N,1 
    
    DATA_EVENT[dvREC_VCR2]
    {
        ONLINE:
        {
    	WAIT 5
    	{
    	    SEND_COMMAND dvREC_VCR2, "'SET BAND 9600,7,O,1 485 DISABLE'"
                       // SEND_COMMAND dvREC_VCR2, "'SET BAND 9600,8,N,1 485 DISABLE'"
    	}
        }
    }
    ...
    
    try to change the "SET BAND 9600,7,O,1 485 DISABLE" to "SET BAUD 9600,7,O,1 485 DISABLE"
  • Options
    Joe HebertJoe Hebert Posts: 2,159
    Could my commands be wrong?
    	SEND_STRING dvREC_VCR2, "'(02h)(ORC)(03h)'"	
    
    Yes, the command looks wrong.
    You are sending the ASCII characters (02h)(ORC)(03h)

    What you really want is $02 (STX) then the ASCII characters ORC and then $03 (ETX)

    Try this:
    SEND_STRING dvREC_VCR2, "$02,'ORC',$03"	
    

    HTH
  • Options
    papadouk wrote: »
    try to change the "SET BAND 9600,7,O,1 485 DISABLE" to "SET BAUD 9600,7,O,1 485 DISABLE"

    Yeah, I was made aware of that from some other code I had used, I totally missed that. I have noticed the compiler doesn't error out with this.

    Yes, the command looks wrong.
    You are sending the ASCII characters (02h)(ORC)(03h)

    What you really want is $02 (STX) then the ASCII characters ORC and then $03 (ETX)

    Try this:

    Code:
    SEND_STRING dvREC_VCR2, "$02,'ORC',$03"

    I will give this a try come monday, can you tell me the reason for the change to $02 and $03, the '$' sign that is? ...did I miss something in the text? I know it said I could ommit the '(' and ')', but please help me understand this.. I am new to netlinx and am awaiting prog 1 class.

    Thank you,
    Paul
Sign In or Register to comment.