Panasonic WJ-GXD900 manual Receiving and Sending Serial Data RS-485, Required Settings for RS-485

Page 23

Receiving and Sending Serial Data (RS-485)

The encoder receives and sends serial data (duplex) as shown in the illustration below.

• In case transmitting characters (ABC123) to a network

• In case receiving characters (DEF456) from a network

 

 

RS-485 Device

ETX

Sends 8 byte data including

STX and ETX to the RS-485

ABC123

data port.

 

 

 

 

 

 

 

 

STX

 

 

 

 

 

 

 

 

RS-485 data port

 

STATUS 1

2

3

4

5

6

7

8

 

OPERATE

 

 

 

 

 

 

MPEG2 Encoder WJ-GXE900

 

 

 

 

 

 

 

 

RS-485 Device

STX

 

 

 

 

 

 

 

 

DEF456

 

 

 

 

Sends data to a serial data device

 

 

 

 

 

 

 

 

 

 

after extracting STX, characters

ETX

 

 

 

 

and ETX from data received from

 

 

 

 

the RS-485 data port.

RS-485 data port

STATUS

1

2

3

4

5

6

7

8

OPERATE

 

 

 

 

 

 

 

MPEG2 Encoder WJ-GXE900

 

 

 

 

 

 

 

 

100BASE-TX

ETX

 

When the receiving serial data size reaches the

 

entered size in the "WAITING DATA SIZE TO SEND

 

 

PACKET" input box on the RS-485 DATA PORT

 

 

ABC123

 

 

"WAITING TIMER TO SEND PACKET" input box on

 

 

page or when it has past a longer waiting time for

 

 

receiving data than the entered time in the

 

 

the RS-485 DATA PORT page, the encoder will send

 

 

STX

 

a packet attaching the following data to a network.

 

 

 

 

 

 

 

 

UDP

MAC: MAC Address (Destination, Source)

IP: IP Address (Destination, Source)

IP

UDP: UDP Port No. (Destination, Source)

 

 

MAC

 

 

 

 

 

100BASE-TX

MAC

Identifies data based on following data.

MAC: MAC Address (Destination, Source)

 

IP

IP: IP Address (Destination, Source)

 

UDP

UDP: UDP Port No. (Destination, Source)

 

 

 

 

 

STX

 

 

 

 

 

DEF456

 

 

 

 

 

ETX

 

 

 

Network

Network

Required Settings for RS-485

Perform the following settings to receive and send serial data.

Enter the desired size of the packet to be sent in the "WAITING DATA SIZE TO SEND PACKET (1 - 1024 byte)" input box on the RS-485 DATA PORT page.

The packet will be sent when its size reaches the entered size.

Enter the desired waiting time to send in the "WAITING TIMER TO SEND PACKET (10 - 1000 ms)" input box on the RS-485 DATA PORT. The packet will be sent when the entered time has passed.

Enter the desired port number to be used for receiving UDP packets from the network in the "RECEIVING PORT No." input box on the RS-485 DATA PORT page.

When the receiving serial data size reaches the entered size in the "WAITING DATA SIZE TO SEND PACKET" input box on the RS-485 DATA PORT page or when it has reached a waiting time for receiving data longer than the entered time in the "WAITING TIMER TO SEND PACKET" input box on the RS-485 DATA PORT page, the encoder will attach MAC, IP and UDP to the packet and send it to the network.

The received packet from the network will be converted to serial data by deleting MAC, IP and UDP, and then it will be sent to an RS-485 device from the RS-485 data port of the encoder.

23

Image 23
Contents Operating Instructions English Version Important Safety Instructions Contents Controlling the BIT Rate of Streaming Video Resetting the Alarm / Displaying the Alarm StatusFeatures Precautions CPU TCP/IP, UDP, HTTP, FTP, ARP, BootpSystem Requirements Limitation of LiabilityDocument Convention Trademarks and Registered TrademarksDip Switches 1 8 SW2 Power Indicator OperateStatus Indicators Status 1 Rotary Switch SW1 A, B, CReset Button Reset BNC MPEG2 Decoder Front Panel Network Status Indicators LINK1, 100, 1000, ACTRS-232C 9-pin D-sub Ethernet Port 100BASE-TX/1000BASE-T RJ-45 Signal Ground Terminal Signal GND Power CordMulticast Transmission ConnectionsVideo 100BASE-TX System Example Switching streaming videoAddress=aaa.aaa.aaa.aaappppp Operation Example Switching streaming videoControlling camera Digital Disk Recorder WJ-HD500 Series System example Recording streaming videoOperation Example Recording streaming video Setting Example Recording streaming videoRS-485 Data Port Setup Network Port SetupSystem Example Unicast TransmissionReceiving and Sending Serial Data RS-485 Required Settings for RS-485Alarm Reset Alarm Function and a Reset SwitchDetails of the TCP/IP Data part AlarmsAction of the encoder when an alarm is received Alarm notification commandAudio IN/AUDIO OUT Alarm ResetHeat Dissipation InstallationsPlaces to avoid About mountingMounting the decoder Rack MountingMounting the encoder How to install Installing in a container box Only for the EncoderCode label Labels for EncoderLabels for Decoder Description labelBefore Starting Settings SetupItems included in the software Setup with the Provided Panasonic IP Setup SoftwareSetup Using Windows 98 SE Network Setup of the PCSetup Using Windows Setup Using Windows XP Category View Setup Top page of the encoder Settings Menus of the EncoderNetwork AlarmMaintenance CONTROL/STATEControl CONTROL/STATEItem Descriptions Encode StateCamera No When using multicast transmissionWhen using unicast transmission VideoTTL Encoder Start UP SetupBIT Rate TOS BITGOP AudioVideo Loss Alarm AlarmAlarm Notification IP ADDRESS/ALARM Notification Port No Camera Site AlarmALARM-DRY Contact Timer CGI ResetAlarm OFF Timing ON/OFF ALARM-CAMERA SiteCGI Reset ALARM-VIDEO Loss CGI Reset Stop BIT RS-485 Data PortBaud Rate DataDestination Port No Destination SetupReference Setup Followings Destination IP Address in Receiving PacketNetwork System Daylight Savings Start UP CommandNTP Server HOST/IP Address Time ZoneUser Camera Control AdministratorHost Host IP ADDRESS/ Subnet MaskRestart MaintenanceFirmware Update Accept Exclusive Command IP AddressHOW to Update the Firmware Camera Control Defroster Program PresetFocus IrisCamera Menu Control Top page of the decoder Settings Menus of the DecoderDisplay Video page for each video output chan- nelDecode State Receiving Stream IP ADDRESS/RECEIVING Stream Port NoReceiving IP ADDRESS/RECEIVING Port No CH1 CH4UNICAST/MULTICAST Latency Buffer Decoder Start UP SetupDisplay Position DisplayCamera No. Display Date DisplayTime Display Character Background ColorYY/MM/DD hhmmss Year/Month/Day DD/MM/YY hhmmss Date/Month/YearEnter the IP address of the decoder Default setting is Decryption KEY 4 Digits 0 VIDEO&AUDIO DecryptionDevice NAME/ LOCATION/CONTACT/ Snmp Community User Host Click to add a host after entering the host information HOW to Update the Firmware Symptom TroubleshootingReference Network troubles LINK1 indicator does not lightAre the IP addresses set correctly? Video troublesEncoder may be down Image is not displayed correctlyAudio fragmentation occurs No audio Image is disturbed drop frame, etcHOW to USE the CGI Commands Item List Camera ControlFormat ResponseExamples Important NoticesControl Item List Camera Settings Menus ControlImportant Notice Examples Switching Streaming Video Example Start encoding Controlling Start /STOP of the EncoderExamples Start decoding Streaming transmission Controlling Start / Stop of the DecoderStop decoding Http /1.1 Xxxxxxxxxxxxx CR Displaying the Status of the EncoderExample Crlf Displaying the Status of the DecoderStatus of CH4 Controlling the BIT Rate of Streaming Video and Audio Data 101 Resetting the Alarm / Displaying the Alarm Status 103 Displaying the Contact Input Status Displaying the Status of Video Loss Muting the Audio Multiscreen Display Type Controlling the Contact OutputPIO OUT109 Restarting the Encoder / Decoder Updating Setting Default setting Default Settings60SEC Interval ALARM-VIDEO Loss Audio Setup OFF ALARM-DRY ContactRESET/TIMER SEC 60SEC Interval ALARM-CAMERA SiteNo Change 114Device Name Multicast IP Address for Setup Multicast PortLatency Buffer None Decoder Start UP Setup Display Time Display Hour User User Authentication OFF User NameInput/Output SpecificationsStandard Accessories Basic Specification117 118 N0603-1063 3TR001669BAB