General Discussions
Serial Interface Power Control

Is there a way to turn HOST_PORT (2Serial) on and off within JOB?
I tried this procedure:

RB"Sigfox_ON"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1H
LOGONB

DO{PROFILE HOST_PORT FUNCTION=SERIAL};
DO{XC}

RC"Sigfox_DATA"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)X
LOGONC

2SERIAL("{%d[1CV],%E[1001CV],%d[2CV],%E[1101CV],%f[1501CV],\013\010}");
DELAY(W)=12000

DO{PROFILE HOST_PORT FUNCTION=DISABLE}

Turning on and off works, but the 2SERIAL command returns error E75.

**Is there a way to turn HOST_PORT (2Serial) on and off within JOB? I tried this procedure:** RB"Sigfox_ON"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1H LOGONB DO{PROFILE HOST_PORT FUNCTION=SERIAL}; DO{XC} RC"Sigfox_DATA"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)X LOGONC 2SERIAL("{%d[1CV],%E[1001CV],%d[2CV],%E[1101CV],%f[1501CV],\013\010}"); DELAY(W)=12000 DO{PROFILE HOST_PORT FUNCTION=DISABLE} **Turning on and off works, but the 2SERIAL command returns error E75.**

Hi thomasios,

You can try to use the third schedule to disable the HOST port; please also add a few ms delays before and after sending the string out:

RB"Sigfox_ON"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1H
LOGONB

DO{PROFILE HOST_PORT FUNCTION=SERIAL};
DO{XC}

RC"Sigfox_DATA"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)X
LOGONC

2SERIAL("\w[500]{%d[1CV],%E[1001CV],%d[2CV],%E[1101CV],%f[1501CV],\013\010}\w[500]");

DO{XD}

RD"Off"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)X
LOGOND

DO{PROFILE HOST_PORT FUNCTION=DISABLE}

Best regards,
Rudy Gunawan

Hi thomasios, You can try to use the third schedule to disable the HOST port; please also add a few ms delays before and after sending the string out: ```` RB"Sigfox_ON"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1H LOGONB DO{PROFILE HOST_PORT FUNCTION=SERIAL}; DO{XC} RC"Sigfox_DATA"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)X LOGONC 2SERIAL("\w[500]{%d[1CV],%E[1001CV],%d[2CV],%E[1101CV],%f[1501CV],\013\010}\w[500]"); DO{XD} RD"Off"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)X LOGOND DO{PROFILE HOST_PORT FUNCTION=DISABLE} ```` Best regards, Rudy Gunawan
18
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft