RCL Script Examples
Listed below are various scripting examples that are pre-installed within TagNet to control Reader operation and GPIO settings. These examples are available by choosing the [Generate from Template] button on the TagNet scripting screen. Templates save you keystrokes when creating scripts and can be modified to suit using examples below. Examples are provided for Server based readers as well as Smart readers running the TagSmart client.
Server Based Reader Control
Example #1 – Typical GPIO, sensor input, signal light output.
Example #2 – No Trigger Input, continuous read, output lights.
Example #3 – No GPIO, continuous read, Server Based Control
Example #4 – Trigger input, signal light output with AUX condition.
Remote Client Reader Control
Example #5 – Generic script for TagSmart enabled readers
These examples assume a 4 lens Signal light assembly where the order (from bottom of light pole up) is green/amber/red/blue (lights 1 /2 / 3 / 4)
Typical GPIO, sensor input, signal light output
Alien (models ALR-9640, 9650, 9770, 9780, 9800, 9900), AWID (models MPR2010AN, MPR3014), Omron (model V740)
Pre-Processor Script
10 CONNECT SETGPIO(*NEW)
Explanation ** establish a new connection with the reader (opens a socket) and GPIO port
20 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-ON)
Explanation ** turn off all signal lights except for blue to indicate that schedule is running.
30 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) TRIGGERON(INPUT-1-ON) SIGNALON(OUTPUT-4-FLASH-ON)
Explanation ** Start the read process when triggered, flash blue light briefly to indicate read cycle has started.
Post-Processor Script
ERROR WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-FLASH-ON)
Explanation ** Flash on red if error in binding function.
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON)
Explanation ** turn on green. Normally the green light is used to indicate a good condition.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON)
Explanation ** turn on amber. Normally the amber light is used to indicate a tag was read but business logic shows an error condition.
NOTAG WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-ON) GPIOCODE2(OUTPUT-3-OFF) GPIODELAY2(3000)
Explanation ** turn on red light for (3) seconds longer to be more noticeable. Normally the red light is used to indicate that no tag was read during the event cycle.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
Intermec (model IF5, IF30, & IF61) ** Internal GPIO
Pre-Processor Script
10 CONNECT SETTRIGGER(*RESET)
Explanation ** establish a new connection with the reader (opens a socket)
20 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-4-ON)
Explanation ** turn off all signal lights except for blue to indicate that schedule is running.
30 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) TRIGGERON(INPUT-1-ON) SIGNALON(OUTPUT-4-FLASH-ON)
Explanation ** Start the read process when triggered, flash blue light briefly to indicate read cycle has started.
Post-Processor Script
ERROR WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-FLASH-ON)
Explanation ** Flash on red if error in binding function
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-14-ON)
Explanation ** turn on green. Normally the green light is used to indicate a good condition.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-24-ON)
Explanation ** turn on amber. Normally the amber light is used to indicate a tag was read but business logic shows an error condition.
NOTAG WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-34-ON) GPIOCODE2(OUTPUT-4-ON) GPIODELAY2(3000)
Explanation ** turn on red light for (3) seconds longer to be more noticeable. Normally the red light is used to indicate that no tag was read during the event cycle.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-1234-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
Symbol (models AR400, XR400, XR440, XR440-XML, XR450)
Pre-Processor Script
10 CONNECT SETGPIO(*NEW)
Explanation ** establish a new connection with the reader (opens a socket) as well as a new connection to the GPIO port
20 CONFIGURE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) FEATURE(SETPARAMETERS)
Explanation ** set the physical reader properties
30 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-ON)
Explanation ** turn off all signal lights except for blue to indicate that schedule is running.
40 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) TRIGGERON(INPUT-1-ON) SIGNALON(OUTPUT-4-FLASH-ON)
Explanation ** Start the read process when triggered, flash blue light briefly to indicate read cycle has started.
Post-Processor Script
ERROR WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-FLASH-ON)
Explanation ** Flash on red if error in binding function
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON)
Explanation ** turn on green. Normally the green light is used to indicate a good condition.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON)
Explanation ** turn on amber. Normally the amber light is used to indicate a tag was read but business logic shows an error condition.
NOTAG WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-ON) GPIOCODE2(OUTPUT-3-OFF) GPIODELAY2(3000)
Explanation ** turn on red light for (3) seconds longer to be more noticeable. Normally the red light is used to indicate that no tag was read during the event cycle.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
No Trigger Input, continuous read, output lights
Alien (models ALR-9640, 9650, 9770, 9780, 9800, 9900), AWID (models MPR2010AN, MPR3014), Omron (model V740)
Pre-Processor Script
10 CONNECT SETGPIO(*NEW)
Explanation ** establish a new connection with the reader and GPIO port
20 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) DWELL(10000) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-ON)
Explanation ** set Dwell to 10 seconds and turn off all signal lights except for blue to indicate that schedule is running.
30 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT)
Explanation ** Start the read process, note absence of any triggers.
Post-Processor Script
ERROR IGNORE
Explanation ** Do not display any light conditions if error in binding function
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON)
Explanation ** Turn on green. Normally the green light is used to indicate a good condition. Note: the GPIODELAYx command is somewhat redundant here as the reader is continually looping attempting to read tags. Light will stay on briefly based on how quickly the physical reader duration is set at.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON)
Explanation ** Turn on amber. Normally the amber light is used to indicate a tag was read but business logic shows an error condition.
NOTAG Note: ** no red light is used as it is redundant in a Triggerless environment. When no tags are present only the Blue ‘schedule active’ light will be on, any valid tag that comes within the Antenna field will be immediately be read and will return either a green or amber light.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
Intermec (model IF5, IF30, & IF61) ** Internal GPIO
Pre-Processor Script
10 CONNECT SETTRIGGER(*RESET)
Explanation ** establish a new connection with the reader (opens a socket)
20 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-4-ON) DWELL(10000)
Explanation ** set Dwell to 10 seconds and turn on blue to indicate that schedule is running (unconditionally shuts off all previous light conditions).c
30 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT)
Explanation ** Start the read process, note absence of any triggers.
Post-Processor Script
ERROR WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-FLASH-ON)
Explanation ** Flash on red if error in binding function
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-14-ON)
Explanation ** turn on blue and green light simultaneously. Normally the green light is used to indicate a good condition. Note: the GPIODELAYx command is somewhat redundant here as the reader is continually looping attempting to read tags. Light will stay on briefly based on how quickly the physical reader duration is set at.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-24-ON)
Explanation ** turn on blue and green light simultaneously Normally the amber light is used to indicate a tag was read but business logic shows an error condition.
NOTAG Note: ** no red light is used as it is redundant in a Triggerless environment. When no tags are present only the Blue ‘schedule active’ light will be on, any valid tag that comes within the Antenna field will be immediately be read and will return either a green or amber light.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-1234-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
Symbol (models AR400, XR400, XR440, XR440-XML, XR450)
Pre-Processor Script
10 CONNECT SETGPIO(*NEW)
Explanation ** establish a new connection with the reader (opens a socket) and GPIO port
20 CONFIGURE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) FEATURE(SETPARAMETERS)
Explanation ** set the physical reader properties
30 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) DWELL(10000) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-ON)
Explanation ** set Dwell to 10 seconds and turn off all signal lights except for blue to indicate that schedule is running.
40 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT)
Explanation ** Start the read process, note absence of any triggers.
Post-Processor Script
ERROR IGNORE
Explanation ** Do not display any light conditions if error in binding function
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON)
Explanation ** turn on green. Normally the green light is used to indicate a good condition. Light will stay on briefly based on how quickly the physical reader duration is set at.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON)
Explanation ** turn on amber. Normally the amber light is used to indicate a tag was read but business logic shows an error condition.
NOTAG Note: ** no red light is used as it is redundant in a Triggerless environment. When no tags are present only the Blue ‘schedule active’ light will be on, any valid tag that comes within the Antenna field will be immediately be read and will return either a green or amber light.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
No GPIO, continuous read, Server Based Control
Note: no post processor or end of schedule Scripts are required in this scenario as there is no GPIO input or output. This example is for maximum efficiency and speed when logging tag events in a continuous read basis. Typically this script is used in conjunction with the Portal Event Viewer that displays real-time feedback on a close-by monitor, actual tags being read and Item #’s. With this type of rich data based feedback, signal lights become less important and are really not required.
Alien (models ALR-9640, 9770, 9780, 9800, 9650, 9900), AWID (models MPR2010AN, MPR3014), Omron (model V740)
Pre-Processor Script
10 CONNECT SETVIEWER(*NEW)
Explanation ** establish a new connection with the reader and the PEV client (opens a socket to each). Note: this is important as without the Connect and Read statements every read will attempt to open a new connection and will slow the read cycle and logging considerably.
20 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT)
Intermec (model IF5, IF30, & IF61)
Pre-Processor Script
10 CONNECT SETVIEWER(*NEW)
Explanation ** establish a new connection with the reader and the PEV client (opens a socket to each). Note: this is important as without the Connect and Read statements every read will attempt to open a new connection and will slow the read cycle and logging considerably.
20 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT)
Symbol (models AR400, XR400, and XR440, XR450)
Pre-Processor Script
10 CONNECT SETVIEWER(*NEW)
Explanation ** establish a new connection with the reader and the PEV client (opens a socket to each). Note: this is important as without the Connect and Read statements every read will attempt to open a new connection and will slow the read cycle and logging considerably.
20 CONFIGURE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) FEATURE(SETPARAMETERS)
Explanation ** set the physical reader properties
30 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT)
Explanation ** invoke the Read event cycle using the duration in the physical reader properties.
Trigger input, signal light output with AUX condition
Note: the AUX1, AUX2, AUX3 are special reserved conditions unique to a custom binding function when more than the (3) standard conditions are required (match, no-match, no-tag). See SQL Template Binding Function
Alien (models ALR-9640, 9650, 9770, 9780, 9800, 9900), AWID (models MPR2010AN, MPR3014), Omron (model V740)
Pre-Processor Script
10 CONNECT SETGPIO(*NEW)
Explanation ** establish a new connection with the reader (opens a socket) and GPIO port
20 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-ON)
Explanation ** turn off all signal lights except for blue to indicate that schedule is running.
30 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) TRIGGERON(INPUT-1-ON)
Explanation ** listen on input from sensor plugged into Input1, when triggered execute results based on Post-processor script shown below
Post-Processor Script
AUX1 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-FLASH) GPIOCODE2(OUTPUT-2-FLASH) GPIOCODE3(OUTPUT-2-FLASH)
Explanation ** Flash light 2 (amber) three times.
AUX2 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON) GPIOCODE2(OUTPUT-3-ON) GPIOCODE3(OUTPUT-2-OFF) GPIODELAY3(3000) GPIOCODE4(OUTPUT-3-OFF)
Explanation ** turn on lights 2 & 3 for (3) seconds
AUX3 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON) GPIOCODE2(OUTPUT-2-ON) GPIOCODE3(OUTPUT-1-OFF) GPIODELAY3(3000) GPIOCODE4(OUTPUT-2-OFF)
Explanation ** turn on lights 1 & 2 for (3) seconds
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON) GPIOCODE2(OUTPUT-1-OFF) GPIODELAY2(3000)
Explanation ** turn on light #1 for (3) seconds.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-ON) GPIOCODE2(OUTPUT-3-OFF) GPIODELAY2(3000)
Explanation ** turn on light #3 for (3) seconds.
NOTAG WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON) GPIOCODE2(OUTPUT-2-OFF) GPIODELAY2(3000)
Explanation ** turn on light #2 for (3) seconds.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
Intermec (model IF5, IF30, & IF61)
Pre-Processor Script
10 CONNECT SETTRIGGER(*RESET)
Explanation ** establish a new connection with the reader (opens a socket)
20 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-4-ON)
Explanation ** turn off all signal lights except for blue to indicate that schedule is running.
30 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) TRIGGERON(INPUT-1-ON) SIGNALON(OUTPUT-4-FLASH-ON)
Explanation ** Start the read process when triggered, flash blue light briefly to indicate read cycle has started, when triggered execute results based on Post-processor script below
Post-Processor Script
AUX1 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-4-ON-2-FLASH) GPIOCODE2(OUTPUT-4-ON-2-FLASH) GPIOCODE3(OUTPUT-4-ON-2-FLASH)
Explanation ** Flash light 2 (amber) three times.
AUX2 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-234-ON) GPIOCODE2(OUTPUT-4-ON) GPIODELAY2(3000)
Explanation ** turn on light 2 & 3 on for (3) seconds
AUX3 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-124-ON) GPIOCODE2(OUTPUT-4-ON) GPIODELAY2(3000)
Explanation ** turn on light 1 & 2 for (3) second delay.
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-14-ON) GPIOCODE2(OUTPUT-4-ON) GPIODELAY2(3000)
Explanation ** turn on light #1 for (3) seconds.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-34-ON) GPIOCODE2(OUTPUT-4-ON) GPIODELAY2(3000)
Explanation ** turn on light #3 for (3) seconds.
NOTAG WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-24-ON) GPIOCODE2(OUTPUT-4-ON) GPIODELAY2(3000)
Explanation ** turn on light #2 for (2) seconds.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) GPIOCODE(OUTPUT-1234-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
Symbol (models AR400, XR400, XR440, XR440-XML, XR450)
Pre-Processor Script
10 CONNECT SETGPIO(*NEW)
Explanation ** establish a new connection with the reader (opens a socket) and GPIO port
20 CONFIGURE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) FEATURE(SETPARAMETERS)
Explanation ** set the physical reader properties
30 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-ON)
Explanation ** turn off all signal lights except for blue to indicate that schedule is running.
40 READ SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) TRIGGERON(INPUT-1-ON) SIGNALON(OUTPUT-4-FLASH-ON)
Explanation ** listen on input from sensor plugged into Input1, when triggered execute results based on Post-processor script shown below
Post-Processor Script
AUX1 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-FLASH) GPIOCODE2(OUTPUT-2-FLASH) GPIOCODE3(OUTPUT-2-FLASH)
Explanation ** Flash light 2 (amber) three times.
AUX2 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON) GPIOCODE2(OUTPUT-3-ON) GPIOCODE3(OUTPUT-2-OFF) GPIODELAY3(3000) GPIOCODE4(OUTPUT-3-OFF)
Explanation ** turn on light 2 & 3 on for (3) seconds
AUX3 WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON) GPIOCODE2(OUTPUT-2-ON) GPIOCODE3(OUTPUT-1-OFF) GPIODELAY3(3000) GPIOCODE4(OUTPUT-2-OFF)
Explanation ** turn on light 1 & 2 for (3) seconds
MATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-ON) GPIOCODE2(OUTPUT-1-OFF) GPIODELAY2(3000)
Explanation ** turn on light #1 for (3) seconds.
NOMATCH WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-3-ON) GPIOCODE2(OUTPUT-3-OFF) GPIODELAY2(3000)
Explanation ** turn on light #3 for (3) seconds.
NOTAG WRITEGPIO SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-2-ON) GPIOCODE2(OUTPUT-2-OFF) GPIODELAY2(3000)
Explanation ** turn on light #2 for (3) seconds.
End-Schedule Script
10 CLOSE SETHANDLER(*CURRENT) SETPARMS(*CURRENT) SETGPIO(*CURRENT) GPIOCODE(OUTPUT-1-OFF) GPIOCODE2(OUTPUT-2-OFF) GPIOCODE3(OUTPUT-3-OFF) GPIOCODE4(OUTPUT-4-OFF)
Explanation ** turn off all signal lights to ensure they are off after schedule completes.
Remote mode running TagSmart Client
Intermec IF5, IF30, & IF61
Symbol XR400, XR440, XR450
Post-Processor Script
MATCH 14
Explanation ** turn on green. Normally the green light is used to indicate a good condition.
NOMATCH 13
Explanation ** turn on amber. Normally the amber light is used to indicate a tag was read but business logic shows an error condition.
Copyright © 2024 Stratum Global, Inc.