PX_RW

code: 501

# set
<module-index>/<port-index> PX_RW [<page>, <address>] <value>

# get
<module-index>/<port-index> PX_RW [<page>, <address>] ?

Description

Provides access to the register interface supported by the port transceiver. It is possible to both read and write register values.

  • <page>: the transceiver page address, integer, 0x00 - 0xFF (0-255).

  • <address>: the address within the page, integer, 0x00 - 0xFF (0-255).

If <address> < 128, the page index <page> is ignored by the server. The server will read from page 0 without writing 0 into byte 127.

If <address> >=128, the page index <page> will be written into byte 127.

Actions

set, get

Parameters

  1. value: hex4, register value of a transceiver.

Example

# set
input:  0/1 PX_RW [0x00,0x56] 0x0000000F
output: <OK>

input:  0/1 PX_RW [0,86] 0x0000000F
output: <OK>

# get
input:  0/1 PX_RW [0x00,0x56] ?
output: 0/1 PX_RW [0x00,0x56] 0x00000011

input:  0/1 PX_RW [0,86] ?
output: 0/1 PX_RW [0,86] 0x00000011