Read window (MISO)
Field Size Function
rdfun 1 byte
rdaddr 2 bytes (MSB:LSB)
rdlen 1 byte
rdfun, rdaddr, and rdlen from the write window are
mirrored if the data is available in rddata.
wrfun 1 byte
wraddr 2 bytes (MSB:LSB)
wrlen 1 byte
wrfun, wraddr, and wrlen from the write window are
mirrored if the data has been written to wrdata.
rddata
1FB-Size-8
rddata contains the read data.
8.3.2 Function numbers
Function numbers are written to MOSI by the master (SPS) and reected in MISO by the
PR 5900.
Number Function Mode
0×00 Idle n.a. (not active)
0×01 Read bits Once
0×02 Read bytes (8-bit values) Once
0×04 Read words (16-bit values) Once
0×08 Read dwords (32-bit values) Once
0×41 Write bits Once
0×42 Write bytes (8-bit values) Once
0×44 Write words (16-bit values) Once
0×48 Write dwords (32-bit values) Once
0×81 Read bits Cyclic
0×82 Read bytes Cyclic
0×84 Read words Cyclic
0×88 Read dwords Cyclic
"Read bits" enables reading
- of a single bit (rdlen == 1)
- of several bits
rdlen and rdadr must be multiples of 8.
The result is the same as when reading the corresponding bytes via "read bytes".
"Write bits" enables writing
- of a single bit (wrlen == 1)
The bit is set if wrdata <>0
The bit is deleted if wrdata == 0
Process Controller Maxxis 5 PR 5900 8 Fieldbus interface
Minebea Intec EN-358