SMC Networks 1560 user manual Appendix E, SCANport Datalink Operation

Page 41

Appendix E — SCANport Datalinks

Appendix E

SCANport Datalink Operation

(Excerpted from A-B Publication 1203-5.2 - May 1995)

In the following discussion, the term ‘Datalink’ is used

extensively. When configuring some SCANport devices, the

term ‘Adaptor I/O’ is used in place of Datalink.

A Datalink is a type of pointer used by some SCANport devices to transfer information between a SCANport communication interface (such as the 1560-MBP) and a SCANport device (such as a VFD, SMP3, etc.). Datalinks allow parameter values to be written when the Control Command and Reference are sent to the SCANport device. Datalinks also allow parameter values to be read whenever the Status and Feedback values are read from the SCANport device.

SCANport devices that support Datalinks have a group of parameters for Datalink configuration. These parameters are identified as ‘Datalink In’ and Datalink Out’ parameters. The Datalink functions are enabled by setting the appropriate dip switches on SW1 and by configuring the ‘Datalink In’ and Datalink Out’ adapter I/O parameters in the SCANport device.

Each Datalink consists of two 16-bit words of input and two 16-bit words of output. Each of the two input words can be configured to write to a different destination parameter inside the SCAnport device by setting the two ‘Datalink In’ parameters for that Datalink to the desired destination parameters. Similarly, each of the two output words is configured by setting the two ‘Datalink Out’ parameters for that Datalink.

If a Datalink is enabled the value of the parameters pointed to by the ‘Datalink Out’ parameters will be transferred to the 1560-MBP. Conversely, data values sent into the Datalink registers will be written to the parameter locations configured in the ‘Datalink In’ parameters. If a Datalink is not enabled, any data sent to the corresponding 1560-MBP data space will be ignored.

If no ‘Datalink In’ parameter is configured the SCANport device will ignore it. The same is true for a ‘Datalink Out’ parameter. A zero usually represents an un-configured Datalink.

41

Image 41
Contents 1560 Table of Contents Please Read This Notice Step-by-Step Quick Start GuideRevisions Modbus Plus Specifications Product SpecificationsGeneral Specifications Configuration via dip switches Slave Address Host Address24 VDC Operating Temp To 50 C Storage Temp 40 to 85 C Modbus Plus Communications Supported Mstr Programming CommandsModbus Plus Port Functionality MBP Modbus Address Space Modbus Register MapMstr Type 5 Write Global Data Dip Switch Configuration Hardware Setup1560-MBP Card Setup Connecting Power to the 1560-MBP Card Switch SW Loss Function Description Details Fault onModbus PlusSwitch SW 2 cont’d Contents Programming Considerations Writing to the 1560-MBP Global Data Enabled Mstr Type1560-MBP Global Data Abort Error 40410 Enable 40400 ActiveModicon Programming Example Mstr SuccessHost Issued Write Commands Mstr Type Modicon Programming Example Mstr Type Reading from the 1560-MBPGlobal Data Mstr Type Enable 40500 Active Host Issued Read Commands Mstr Type40510 0001000020 4005040060 Modbus Name Values Description Address MBP Status Registers 40021 toBatch At this time LED Locations TroubleshootingLED Troubleshooting Table SCANport Mbpstat Diagnostics TxRxD+ Cable DiagramTechnical Support Contacts Technical SupportMBP Modbus Appendix aMBP Modbus Register Map Device Specific Hints Appendix BDrive Status Word Bit Function Description Setting up the Adaptor I/O DataLogic Control Word Bit Function Description Appendix C Hardware ConfigurationSingle Drive Peer Cop Application Example OverviewConfiguration Extension Blocks Switch Position DescriptionPLC REF Drive Status PLC Ref PLC Name Description Ladder Logic ProgrammingRefOffset Description Timing Special Precautions and hintsHints AddressingMounting and SCANport Cabling Instructions Appendix DMounting Instructions 70mmCable Requirements SCANport Datalink Operation Appendix EGeneral Warranty Policy Repair and WarrantyService and Repair Limitation of Liability Hardware Product Warranty DetailsContents