NORD Drivesystems BU0550 User Manual

Page 7

Advertising
background image

Table of Contents

BU 0550 GB-0813

7

1 GENERAL INFORMATION ...................................................................................................... 9

1.1 Specification of the PLC ....................................................................................... 9

1.2 PLC structure ........................................................................................................ 9

1.2.1 Memory ..................................................................................................................... 9

1.2.2 Process image ........................................................................................................ 10

1.2.3 Program Task ......................................................................................................... 10

1.2.4 Setpoint processing................................................................................................. 11

1.2.5 Data processing via accumulator ............................................................................ 11

1.3 Scope of functions .............................................................................................. 12

1.3.1 Motion Control Lib ................................................................................................... 12

1.3.2 Electronic gear with Flying Saw .............................................................................. 12

1.3.3 Visualisation ............................................................................................................ 12

1.3.4 Process controller ................................................................................................... 13

1.3.5 CANopen communication ....................................................................................... 13

2 CREATION OF PLC PROGRAMS ......................................................................................... 14

2.1 Loading, saving and printing .............................................................................. 14

2.2 Editor .................................................................................................................. 14

2.2.1 Variables and FB declaration .................................................................................. 15

2.2.2 Input window ........................................................................................................... 15

2.2.3 Watch and Breakpoint display window .................................................................... 16

2.2.4 PLC message window............................................................................................. 16

2.3 Load PLC program into the FI ............................................................................ 16

2.4 Debugging .......................................................................................................... 17

2.4.1 Observation points (Watchpoints) ........................................................................... 17

2.4.2 Holding points (Breakpoints) ................................................................................... 17

2.4.3 Single Step .............................................................................................................. 17

2.5 PLC configuration ............................................................................................... 18

2.6 PLC program start .............................................................................................. 18

2.7 Program example ............................................................................................... 19

3 AWL (INSTRUCTION LIST, IL) .............................................................................................. 20

3.1 General ............................................................................................................... 20

3.1.1 Data types ............................................................................................................... 20

3.1.2 Literal ...................................................................................................................... 20

3.1.3 Comments ............................................................................................................... 21

3.1.4 Jump marks ............................................................................................................ 21

3.1.5 Function call-ups ..................................................................................................... 22

3.1.6 Bit-wise access to variables .................................................................................... 22

3.2 Operators ............................................................................................................ 22

3.2.1 Loading and storage operators ............................................................................... 22

3.2.2 Arithmetical operators ............................................................................................. 24

3.2.3 Extended mathematical operators .......................................................................... 29

3.2.4 Bit Operations ......................................................................................................... 31

3.2.5 Comparison operators............................................................................................. 37

3.3 Jumps ................................................................................................................. 40

3.3.1 JMP ......................................................................................................................... 40

3.3.2 JMPC ...................................................................................................................... 40

3.3.3 JMPCN .................................................................................................................... 40

3.4 Type conversion ................................................................................................. 41

3.4.1 BYTE_TO_BOOL .................................................................................................... 41

3.4.2 BOOL_TO_BYTE .................................................................................................... 41

3.4.3 INT_TO_BYTE ........................................................................................................ 41

3.4.4 BYTE_TO_INT ........................................................................................................ 42

3.4.5 DINT_TO_INT ......................................................................................................... 42

3.4.6 INT_TO_DINT ......................................................................................................... 42

Advertising