beautypg.com

DNF Controls SW32PS_Port_Switcher User Manual

Page 14

background image

Page 13 of 24

SW32PS RS422 Port Switcher

b)

Status: Get Status of Selected Port

Returns the status of the passed port.

Command = ‘S’ + PORT + CR
PORT = the 2-digit ASCII representation of the port number.

Response = ‘S’ + FROM + TO + CR

Example #1: Get status of port 13 using route in previous example.
Command = ‘S’ + ‘1’ + ‘3’ + CR
Response = ‘S’ + ‘1’ + ‘3’ + ‘0’ + ‘5’ + CR

Example #2: Get status of port 5 using route in previous example.
Command = ‘S’ + ‘0’ + ‘5’ + CR
Response = ‘S’ + ‘1’ + ‘3’ + ‘0’ + ‘5’ + CR

c)

Status: Request Status of All Crosspoints

Returns the Source Number routed to each Destination.

Command = ‘X’ + CR
Response = ‘X’ + CROSSPOINTS RETURNED + CROSSPOINT DATA

CROSSPOINTS RETURN = Total number of crosspoints included in response
represented as a 2-digit ASCII number.

CROSSPOINT DATA = Source number for each destination, represented as a 2-
digit ASCII number. Source numbers are returned in order starting from
Destination 1.


Example: SW32-8 with following routes: 5 to 1, 2 to 6, 2 to 7, 3 to 4
Command = ‘X’ + CR
Response = X+08(total of 8 crosspoints) +05 +00 +00 +03 +00 +02 +02 +00 + CR

d)

Preset: Learn Preset

Save the current configuration of the SW32PS into one of the available presets.
There are 8 presets available, numbered 1 – 8.

Command: ‘L’ + Preset # + CR
Where Preset # = ‘1’ through ‘8’

Response: ‘O’ + ‘K’ + CR


Example #1: Learn Preset #1

Command = ‘L + ‘1’ + CR

Response = ‘O’ + ‘K’ + CR


Example #2: Learn Preset #3

Command = ‘L’ + ‘3’ + CR

Response = ‘O’ + ‘K’ + CR