PJSEXOCT – Parse JSON string (string output)
Block SymbolLicensing group: STANDARD
Function Description
The block is almost the same as PJSOCT block, except name* parameters can
contain control sequence % + number that is substituted by sn + number input.
Example: Let
sn1 = "2",
sn2 = "rpm",
name1 = "motor[%1].temp",
name2 = "motor[%1].%2",
then name1 is expand to motor[2].temp, name2 is expand to motor[2].rpm.
Inputs
jtxt | JSON formated string | String |
RUN | Enable execution | Bool |
sn1..8 | Part of name of JSON object | String |
Parameters
name1..8 | Name of JSON object | String |
nmax | Allocated size of string [bytes] 0 65520 | Long (I32) |
Outputs
sy1..8 | String output value | Error |
iE | Error code | Error |
[Previous] [Back to top] [Up] [Next]
2023 © REX Controls s.r.o., www.rexygen.com