SMC Networks 1560 user manual MBP Global Data

Page 16

Chapter 4 — Programming Considerations

Word

0 Slave 33

8

 

 

Slave 37

 

 

10

 

 

 

 

 

 

12

 

 

 

 

 

 

30 Slave 48

Global Data Sent from Host

(2 words per slave)

1560-MBP

Control Word

Reference

Adaptor I/O-A1

Adaptor I/O-A2

Adaptor I/O-B1

Adaptor I/O-B2

Adaptor I/O-C1

Adaptor I/O-C2

Adaptor I/O-D1

Adaptor I/O-D2

Global Write Space

(Slave 37)

From Global Data Table

MSTR Type 1 accessible only

Relationship between Global Data from Host and 1560-MBP Control & Reference Words: The diagram shows an example if Slave 37 was configured for Global Data Control and where the Control/Reference words would come from in the Global Data from a Host.

The following table details the relationship between the Modbus Plus addresses and the Global Data Table:

1560-MBP

Global Data

 

Modbus Plus

Table

Description

Address

Index

1,17,33,49

0

Control Word

 

1

Reference Word

2,18,34,50

2

Control Word

 

3

Reference Word

3,19,35,51

4

Control Word

 

5

Reference Word

4,20,36,52

6

Control Word

 

7

Reference Word

5,21,37,53

8

Control Word

 

9

Reference Word

6,22,38,54

10

Control Word

 

11

Reference Word

7,23,39,55

12

Control Word

 

13

Reference Word

8,24,40,56

14

Control Word

 

15

Reference Word

9,25,41,57

16

Control Word

 

17

Reference Word

10,26,42,58

18

Control Word

 

19

Reference Word

11,27,43,59

20

Control Word

 

21

Reference Word

12,28,44,60

22

Control Word

 

23

Reference Word

16

Image 16
Contents 1560 Table of Contents Please Read This Notice Quick Start Guide Step-by-StepRevisions Product Specifications Modbus Plus SpecificationsGeneral Specifications Configuration via dip switches Slave Address Host Address24 VDC Operating Temp To 50 C Storage Temp 40 to 85 C Modbus Plus Port Functionality Supported Mstr Programming CommandsModbus Plus Communications Mstr Type 5 Write Global Data Modbus Register MapMBP Modbus Address Space 1560-MBP Card Setup Connecting Power to the 1560-MBP Card Hardware SetupDip Switch Configuration Switch SW Function Description Details Fault on LossModbus PlusSwitch SW 2 cont’d Contents Writing to the 1560-MBP Global Data Enabled Mstr Type Programming Considerations1560-MBP Global Data Enable 40400 Active Abort Error 40410Modicon Programming Example Mstr SuccessHost Issued Write Commands Mstr Type Global Data Mstr Type Reading from the 1560-MBPModicon Programming Example Mstr Type Host Issued Read Commands Mstr Type Enable 40500 Active40510 0001040060 4005000020 MBP Status Registers 40021 to Modbus Name Values Description AddressBatch At this time LED Troubleshooting Table TroubleshootingLED Locations SCANport Mbpstat Diagnostics Cable Diagram TxRxD+Technical Support Technical Support ContactsMBP Modbus Register Map Appendix aMBP Modbus Appendix B Device Specific HintsLogic Control Word Bit Function Description Setting up the Adaptor I/O DataDrive Status Word Bit Function Description Hardware Configuration Appendix CSingle Drive Peer Cop Application Example OverviewSwitch Position Description Configuration Extension BlocksPLC REF Drive Status RefOffset Description Ladder Logic ProgrammingPLC Ref PLC Name Description Special Precautions and hints TimingAddressing HintsAppendix D Mounting and SCANport Cabling InstructionsMounting Instructions 70mmCable Requirements Appendix E SCANport Datalink OperationService and Repair Repair and WarrantyGeneral Warranty Policy Hardware Product Warranty Details Limitation of LiabilityContents