Other than the standard instructions the TSX DMY 28 RFK module also uses a specific instruction
MOD_PARAM (Modify parameters) which enables the parameters associated with a single channel to be modified.
NOTE: In order to avoid several simultaneous explicit exchanges for the same index of channels, it is necessary to test the value of the word
EXCH_STS of the IODDT
Syntax: MOD_PARAM %CHxy.i (no., value1 , value2 , 0) where:
-
i = 16 or 24 (index of the first channel of a group of 8 channels),
-
no. = 0 to 7 (index of the channel in the group of channels),
-
value1, value2 correspond to the function parameters applied to the output (Timer, PWM, Counter...).
Example: Modification of parameters of channel 18 (value1 = 10 ms (100 x 0.1 ms) , value2 = 500 ms (5000 x 0.1 ms)) MOD_PARAM %CHxy.16 (2, 100 , 5000 , 0)