Industrial Data Systems IDS Scale Basic User Manual

Page 2

Advertising
background image

Scale Basic 4.2E

Table of Contents

Table of Contents

Introduction .........................................................................................................1

EZ Link .................................................................................................................2

EZ Link Installation .................................................................................................................... 2
EZ Link Configuration ................................................................................................................ 3
EZ Link Test............................................................................................................................... 4

Event Driven Programming ................................................................................6

Program Design......................................................................................................................... 6
Event Driven Programming........................................................................................................ 8

Scale Basic Tutorial ..........................................................................................10

Getting Started......................................................................................................................... 10
Arithmetic and Registers.......................................................................................................... 11
Setpoint Monitors ..................................................................................................................... 14
Timers...................................................................................................................................... 16
Timer5, If/Else/End if, Flags .................................................................................................... 17
Tutorial Conclusion .................................................................................................................. 18

Reference...........................................................................................................19

Instruction Reference............................................................................................................... 19
Condition Codes ...................................................................................................................... 34
Built in Functions...................................................................................................................... 37
Events ...................................................................................................................................... 40

Keyboard Events ............................................................................................................... 40
Setpoint Monitors .............................................................................................................. 40
Timer Events ..................................................................................................................... 42
TTL Input Events............................................................................................................... 43
Serial Communications Port 1 Input.................................................................................. 43
Serial Communications Port 2 Input.................................................................................. 44

Registers.................................................................................................................................. 47
Error Codes ............................................................................................................................. 50

Appendix A: Design Template..........................................................................51

Advertising