![background image](http://html1.mh-extra.com/html/snell-and-wilcox/iqcspi-1/iqcspi-1_manual_1309058031.webp)
IQCSPI
SECTION 33c
IQCSPOPS
100305
www.snellwilcox.com
Version 1 Issue 8
33c.31
RCCmd
This is a number given to the command (in the
range 1 to 0xEFFF).
MinR
This number is defined as a signed long integer. It
represents the Minimum value allowed.
MaxR
This number is defined as a singed long integer. It
represents the Maximum value allowed.
Step
This is a number, which represents
increment/decrement steps.
For styles of List and Tiled the Step value is equal
to the total number of descendants (i.e. total
number of commands which appear under the list,
not just the immediate children)
Div
This is a number that represents the divide-scaling
factor that is applied to the commands numeric
value.
Text
This string represents the command text.
ParamStg
The printf string for parameter display.
PayLoad
This field contains the Command Payload, which is
sent from the SPI card to the device.
When to send RollTracks:
Number
Description
0
Never
1
On Change
3
Always
5
Immediately – On Change
7
Immediately - Always
Communication between SPI and device
Example of an SPI card connected to a VCR.
Command and Reply
•
If a button is pressed on the SPI card to control
the VCR, a
Command
is sent from the SPI
card to the VCR.
•
A
Reply
is sent from the VCR to the SPI card
in response to the Command.
Request and RequestReply
•
For the SPI card to get the current status of the
VCR, a
Request
is sent from the SPI card to
the VCR.
•
A
RequestReply
is sent from the VCR to the
SPI card in response to the Request.
Tally and TallyReply
•
If a button (say the Play button) is pressed on
the VCR then a
Tally
is sent from the VCR to
the SPI card
•
A
TallyReply
is sent from the SPI card to the
VCR in response to the Tally.
Remaining File Content
Reply
This is optional (however there is normally one for
each command).
This is what the device sends to the SPI card.
It has the format:
“Reply=”
Number
:’
ReplyPayLoadString
’
, when
to RollTrack
An example is: Reply=1:'\x12\x11\xF0\x19\x2C'
Request
It will have the format
“Request=”
’RequestPayLoadString’, when to
RollTrack
RequestReply
This will be positioned on the line following the
Request statement.
It will have the format
“RequestReply=”
’RequestReplyPayLoadString’
, when to RollTrack