The text of a manual · part 14 of 15
FMT1000 Series Programmer's Guide: Chapter 2 I/O System Programming, pages 131 to 134
Pages 131 to 134 of 142, from FMT1000 Series Programmer's Guide
The original document is the PDF (965 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol FMT-1020
Page 131
I/O System Programming
ROB – Return State of Battery Sense Format ROB
Summary Returns an integer that indicates on-battery operation.
Returns Battery state, integer 0 or 1 0=Voltage input is 12VDC supply 1=Voltage input is battery pack
Description This command is used to read the battery sense input. When the power input is lost, and the battery pack takes over, this input will switch from 0 to 1.
Example rem echo rem
Read battery sense bit. ROB > COM2 The return string will be '0' or '1'.
2-111
Page 132
FMT1000 Series Programmer’s Guide
SBE, RBE – Set and Return Battery Sense Enable Format SBE 0 | 1
0=disable 1=enable
Summary Enables or disables automatic battery power sense.
Returns Battery sense enable, 0 or 1.
Description This command enables the automatic battery power sense feature. This feature senses the switchover to battery power within 20 seconds of primary power loss. A string is sent to the CPU via the internal path to alert the application of the condition. Also see the SBS command, page 2-113.
Example rem echo rem echo rem rem rem
2-112
Enable battery sense. SBE1 > COM2 Set switched to battery string. SBS Power_Failed! > COM2 If primary power is lost and the battery pack is installed, the string 'Power_Failed!' will be sent to the CPU.
Page 133
I/O System Programming
SBS, RBS – Set and Return Switched to Battery String Format SBS<string>
Maximum string length: 16 characters
Summary Set switched to battery string.
Returns Switched to battery string 0-16 characters.
Description This command sets the switched to battery string used by the automatic battery power sense feature. This feature senses the switchover to battery power within 20 seconds of primary power loss. The string is sent to the CPU via the internal path to alert the application of the condition. Also see SBE command, page 2-112.
Example rem echo rem echo rem rem rem
Enable battery sense. SBE1 > COM2 Set switched to battery string. SBS Power_Failed! > COM2 If primary power is lost and the battery pack is installed, the string 'Power_Failed!' will be sent to the CPU.
2-113
Page 134
FMT1000 Series Programmer’s Guide
2-114