SMC Networks 1560 user manual Host Issued Write Commands Mstr Type

Page 18

Chapter 4 — Programming Considerations

In the example (at the bottom of the previous page) the 1560-MBP responding at Node 37 would retrieve its control and reference values from the 8th and 9th words of the Global Data block. In the Host PLC we have placed this data in registers 40418 and 40419, as this corresponds to the 8th and 9th position in the Global Data packet.

4.1.2 Host Issued Write Commands - MSTR Type 1

If the Global Data Control Mode is not enabled, the 1560-MBP will not look to the Global Data Table to obtain the Control and Reference values. In this mode, the Host PLC must execute a write command (MSTR Type 1) to the 1560-MBP to register addresses 40001 and 40002, per the following drawing, to control the drive.

40001

40011

40021

40101

4xxxx

Write Data – Control Reference & Data Link IN

Not Accessible

by Write Command

Parameter Register Space

This register space contains the parameter table from the SCANport device. This paramaters are stored in their numerical order (example):

40101 = Parameter #1

40102 = Parameter #2

The full length of this space is a function of the SCANport device connected. Max size is 2000 parameters.

MSTR Type 1 Accessible Data Registers: The memory map for the registers which a PLC programmer can access from the 1560-MBP using the MSTR Type 1 command. Note that a write to the Read Only space between 40011 and 40100 will place an Error Code in the MBP Status register.

18

Image 18
Contents 1560 Table of Contents Please Read This Notice Quick Start Guide Step-by-StepRevisions General Specifications Product SpecificationsModbus Plus Specifications Configuration via dip switches Slave Address Host Address24 VDC Operating Temp To 50 C Storage Temp 40 to 85 C Supported Mstr Programming Commands Modbus Plus Port FunctionalityModbus Plus Communications Modbus Register Map Mstr Type 5 Write Global DataMBP Modbus Address Space Hardware Setup 1560-MBP Card Setup Connecting Power to the 1560-MBP CardDip Switch Configuration Switch SW Modbus Function Description Details Fault onLoss PlusSwitch SW 2 cont’d Contents Writing to the 1560-MBP Global Data Enabled Mstr Type Programming Considerations1560-MBP Global Data Modicon Programming Example Mstr Enable 40400 ActiveAbort Error 40410 SuccessHost Issued Write Commands Mstr Type Reading from the 1560-MBP Global Data Mstr TypeModicon Programming Example Mstr Type 40510 Host Issued Read Commands Mstr TypeEnable 40500 Active 0001040050 4006000020 MBP Status Registers 40021 to Modbus Name Values Description AddressBatch At this time Troubleshooting LED Troubleshooting TableLED Locations SCANport Mbpstat Diagnostics Cable Diagram TxRxD+Technical Support Technical Support ContactsAppendix a MBP Modbus Register MapMBP Modbus Appendix B Device Specific HintsSetting up the Adaptor I/O Data Logic Control Word Bit Function DescriptionDrive Status Word Bit Function Description Single Drive Peer Cop Application Example Hardware ConfigurationAppendix C OverviewSwitch Position Description Configuration Extension BlocksPLC REF Drive Status Ladder Logic Programming RefOffset DescriptionPLC Ref PLC Name Description Special Precautions and hints TimingAddressing HintsMounting Instructions Appendix DMounting and SCANport Cabling Instructions 70mmCable Requirements Appendix E SCANport Datalink OperationRepair and Warranty Service and RepairGeneral Warranty Policy Hardware Product Warranty Details Limitation of LiabilityContents