ALLEN-BRADLEY ALLEN-BRADLEY BULLETIN 1203-SM1 ENHANCED MODE APPLICATION NOTE# SM1 - 2 May 27, 1997 PURPOSE The purpose of this document is to provide guidelines for wiring and control schemes for SCANport devices including Bulletin 1305 and 1336 PLUS AC Drives. This document is a suggestion only. Users must ensure that installations meet applicable codes and are suitable for the existing conditions. WHAT THIS NOTE CONTAINS This document contains information and an example ladder program that demonstrate how to control three 1305 drives using an SLC-5/03 and a 1203SM1 module. This note uses the 1203-SM1 configured as an enhanced mode module. The 1203-SM1 can be used with an SLC 5/02, 5/03, or 5/04 processor in this configuration. INTENDED AUDIENCE This application note should be used by personnel familiar with the hardware components and programming procedures necessary to operate SCANport devices. It is also assumed that the user has some familiarity with the SLC-500 and ladder programming. WHERE IT IS USED The diagrams, parameter settings and auxiliary hardware used in this application note are designed to address specific issues in many different applications. Some changes by the user may be necessary to apply the concepts of this document to a specific application. APPLICATION CONSIDERATIONS These example ladder programs were written to be simple and clear examples. Consult the SLC and 1203-SM1 manuals for more information. When used as an enhanced mode module, the 1203-SM1 extends the model used by the basic mode configuration. The enhanced mode configuration adds: • Datalinks • Safe State Data • Messaging If these functions are not required OR to aid in understanding the differences between the two configurations refer to the application note “Bulletin 1203-SM1 Basic Mode”. Faxback Document # 3313 Web location Http://WWW.AB.COM Page 1 of 12 ALLEN-BRADLEY This application note does not explain messaging. For more information on messaging refer to the application note “Bulletin 1203-SM1 SCANport Messaging”. SCANport devices may assign different meanings to bits in the Logic Command and Status words. The usage of the Reference and Feedback words may also vary. Consult the manual for your SCANport device for more information. SLC CONFIGURATION The screen prints in Figures 1 and 2 show the configuration of the SLC system for the example program. Figure 3 explains how the “G” file is used in the 1203SM1 module. As is shown in Figure 1, the SLC rack is configured with a 1203-SM1 module installed in the first slot. A 1747-IA16 module is installed in slot 2 and a 1747OV8 module is installed in slot 3. The module ID code for the 1203-SM1 is 13616 when used as an enhanced mode module. +------------------- SLC-500 ADVANCED PROGRAMMING SOFTWARE -------[ OFFLINE ]-+ ¦+- PROGRAM DIRECTORY FOR PROCESSOR: SM1_AP2 ---- SINGLE STEP TEST: ENABLED -+ ¦¦+- I/O CONFIGURATION FOR:SM1_AP2 -----------------------------------------+ ¦¦¦ RACK 1 = 1746-A4 4-slot Backplane ¦ ¦¦¦ RACK 2 = NOT INSTALLED ¦ ¦¦¦ RACK 3 = NOT INSTALLED ¦ ¦¦¦ ¦ ¦¦¦ SLOT CATALOG # CARD DESCRIPTION ¦ ¦¦¦ * 0 1747-L532 5/03 CPU -12K USER MEMORY ¦ ¦¦¦ * 1 OTHER I/O Module - ID code = 13616 ¦ ¦¦¦ * 2 1746-IA16 16-Input 100/120 VAC ¦ ¦¦¦ * 3 1746-OV8 8-Output [TRANS](SINK)10/50 VDC ¦ ¦¦¦ 4 ¦ ¦¦¦ 5 ¦ ¦¦¦ 6 ¦ ¦¦¦ 7 ¦ ¦¦¦ 8 ¦ +++- ESC exits ----------------------------------------------------------------+ offline READ ONLINE CONFIG CONFIG F1 F2 SLC 5/03 MODIFY RACKS F4 MODIFY SLOT F5 DELETE SLOT F6 UNDEL SLOT F7 EXIT F8 File SM1_AP2 SPIO CONFIG F9 Figure 1 -- SLC Configuration Faxback Document # 3313 Web location Http://WWW.AB.COM Page 2 of 12 ALLEN-BRADLEY Figure 2 shows the information that should be displayed by APS software if the module ID code for the 1203-SM1 is set to the correct value of 13616 for use as an enhanced mode module. The M0 Length, M1 Length and ‘G’ File Size all need to be set manually using this APS screen. +------------------- SLC-500 ADVANCED PROGRAMMING SOFTWARE -------[ OFFLINE ]-+ ¦+- PROGRAM DIRECTORY FOR PROCESSOR: SM1_AP2 ---- SINGLE STEP TEST: ENABLED -+ ¦¦+- I/O CONFIGURATION FOR:SM1_AP2 -----------------------------------------+ ¦¦¦ RACK 1 = 1746-A4 4-slot Backplane ¦ ¦¦¦ RACK 2 = +- SPECIAL CONFIG FOR SLOT: 1 ---+ ¦ ¦¦¦ RACK 3 = ¦ ¦ ¦ ¦¦¦ ¦ Module's ID Code: 13616 ¦ ¦ ¦¦¦ SLOT C¦ Maximum Input Words: 32 ¦ ¦ ¦¦¦ * 0 1¦ Maximum Output Words: 32 ¦ ¦ ¦¦¦ * 1 O¦ Scanned Input Words: 32 ¦ ¦ ¦¦¦ * 2 ¦ Scanned Output Words: 32 ¦ ¦ ¦¦¦ * 3 ¦ M0 Length: 800 ¦ ¦ ¦¦¦ 4 ¦ M1 Length: 400 ¦ ¦ ¦¦¦ 5 ¦ 'G' File Size: 32 ¦ ¦ ¦¦¦ 6 ¦ ISR Number: 0 ¦ ¦ ¦¦¦ 7 ¦ ¦ ¦ ¦¦¦ 8 +- ESC exits ---------------------------+ ¦ +++- ESC exits ----------------------------------------------------------------+ offline ISR NUMBER F1 SLC 5/03 MODIFY G FILE F3 File SM1_AP2 ADVNCD SETUP F5 G FILE SIZE F7 Figure 2 -- 1203-SM1 Configuration Figure 3 shows the configuration of the ‘G’ file for the 1203-SM1 module. The first word is set by APS and should not be modified. Each bit in the second word enables a Datalink. Refer to the manual for your SCANport device for more information about Datalinks. Each remaining word in the ‘G’ file contains Safe State Data. This is the data that will be sent to the attached SCANport device(s) if the 1203-SM1 dip switch is configured to use Safe State Data and the SLC becomes faulted or is changed to program mode. address 15 data 0 Faxback Document # 3313 Web location Http://WWW.AB.COM Page 3 of 12 ALLEN-BRADLEY G1:0 G1:1 G1:2 G1:3 G1:4 G1:5 G1:6 G1:7 G1:8 G1:9 G1:10 G1:11 G1:12 G1:13 G1:14 G1:15 G1:16 G1:17 G1:18 G1:19 G1:20 G1:21 G1:22 G1:23 G1:24 G1:25 G1:26 G1:27 G1:28 G1:29 G1:30 G1:31 0000 0000 0000 0000 0000 0000 0000 0000 |||| |||| |||| |||| ++++ |||| |||| |||+--| |||| |||| ||+---| |||| |||| |+----| |||| |||| +-----| |||| |||| | |||| |||+-------| |||| ||+--------| |||| |+---------| |||| +----------| |||| | |||+------------| ||+-------------| |+--------------| +---------------| +------------------0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Reserved (Used by SLC) Datalink Enables Channel Channel Channel Channel 1 1 1 1 Datalink Datalink Datalink Datalink A B C D Enable Enable Enable Enable Channel Channel Channel Channel 2 2 2 2 Datalink Datalink Datalink Datalink A B C D Enable Enable Enable Enable Channel Channel Channel Channel 3 3 3 3 Datalink Datalink Datalink Datalink A B C D Enable Enable Enable Enable Not Used Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe Safe State State State State State State State State State State State State State State State State State State State State State State State State State State State State State State Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data - Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel Channel 1 1 2 2 3 3 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 Logic Command Reference Logic Command Reference Logic Command Reference Datalink A1 Datalink A2 Datalink B1 Datalink B2 Datalink C1 Datalink C2 Datalink D1 Datalink D2 Datalink A1 Datalink A2 Datalink B1 Datalink B2 Datalink C1 Datalink C2 Datalink D1 Datalink D2 Datalink A1 Datalink A2 Datalink B1 Datalink B2 Datalink C1 Datalink C2 Datalink D1 Datalink D2 Figure 3 -- “G” file use Faxback Document # 3313 Web location Http://WWW.AB.COM Page 4 of 12 ALLEN-BRADLEY DATALINKS A Datalink is a type of pointer used by some SCANport devices to transfer information between the SLC and the device. Datalinks allow a parameter value to be changed without using the 1203-SM1 messaging function. SCANport devices that support this function have a group of parameters for Datalink configuration. These parameters are identified as “Data In” and “Data Out” parameters. Datalinks are enabled by bits in the first word of the 1203-SM1 “G” file (refer to the section on “G” file configuration). Each Datalink provides two words of input and two words of output when enabled. A simple Datalink application is to set a parameter number into one of the “Data In” parameters. The SLC output image word for that Datalink will then control the value of that parameter. For example: On a 1336 PLUS drive connected to channel 1 of a 1203-SM1 module installed in slot 1 use Datalink A1 to control the value of Parameter 27. First, set the lowest bit of the second word of the “G” file to a 1 (enables Datalink A on channel 1). Use a HIM to set parameter 111 (Data In A1) to “27”. The value in O:1.8 will now control the value of parameter 27 in the 1336 PLUS drive. A similar Datalink application is to set a parameter number into one of the “Data Out” parameters. The value of that parameter will then appear in the SLC input image word for that parameter. For example: On a 1336 PLUS drive connected to channel 1 of a 1203-SM1 module installed in slot 1 use Datalink A1 to monitor the value of Parameter 27. First, set the lowest bit of the second word of the “G” file to a 1 (enables Datalink A on channel 1). Use a HIM to set parameter 119 (Data In A1) to “27”. The value in I:1.8 will now monitor the value of parameter 27 in the 1336 PLUS drive. Ladder Program SCANport Channel Enables The section of program shown in Figure 4 enables all three SCANport channels on the 1203-SM1 module. ¦ Channel 1 ¦ ¦ SCANport ¦ ¦ Enable ¦ ¦ O:1.0 ¦ ¦---------------------------------------------------------------------( )------¦ ¦ ¦ 0 ¦ ¦ ¦ ¦Channel 2 ¦ ¦ ¦ ¦SCANport ¦ ¦ ¦ ¦Enable ¦ ¦ ¦ ¦ O:1.0 ¦ ¦ ¦ +---( )----¦ ¦ ¦ ¦ 8 ¦ ¦ ¦ ¦Channel 3 ¦ ¦ ¦ ¦SCANport ¦ ¦ ¦ ¦Enable ¦ ¦ ¦ ¦ O:1.1 ¦ ¦ ¦ +---( )----+ ¦ ¦ 0 ¦ Figure 4 -- Enabling the SCANport Channels Faxback Document # 3313 Web location Http://WWW.AB.COM Page 5 of 12 ALLEN-BRADLEY Ladder Program Drive 1 Start/Stop and Reference The section of program shown in Figure 5 provides start/stop control and a frequency reference to the 1305 drive connected to SCANport channel 1. The User Start is a normally open pushbutton while the User Stop is a normally closed pushbutton. ¦ Drive 1 Drive 1 Drive 1 ¦ ¦ User User START ¦ ¦ Momentary Maintained Command ¦ ¦ START NOT STOP Bit ¦ ¦ Input Input ¦ ¦ I:2.0 I:2.0 O:1.2 ¦ ¦-----] [-------------------] [----------------------------------------( )-----¦ ¦ ¦ 0 ¦ 1 1 ¦ ¦ ¦Drive 1 ¦Drive 1 ¦ ¦ ¦ ¦START ¦RUNNING ¦ ¦ ¦ ¦Command ¦Status ¦ ¦ ¦ ¦Bit ¦Bit ¦ ¦ ¦ ¦ O:1.2 I:1.2 ¦ ¦ ¦ +---] [--------]/[----+ ¦ ¦ 1 1 ¦ ¦ Drive 1 Drive 1 ¦ ¦ User STOP ¦ ¦ Maintained Command ¦ ¦ NOT STOP Bit ¦ ¦ Input ¦ ¦ I:2.0 O:1.2 ¦ ¦-----]/[--------------------------------------------------------------( )-----¦ ¦ ¦ 1 ¦ 0 ¦ ¦ ¦Drive 1 ¦Drive 1 ¦ ¦ ¦ ¦STOP ¦RUNNING ¦ ¦ ¦ ¦Command ¦Status ¦ ¦ ¦ ¦Bit ¦Bit ¦ ¦ ¦ ¦ O:1.2 I:1.2 ¦ ¦ ¦ +---] [--------] [----+ ¦ ¦ 0 1 ¦ ¦ Drive 1 ¦ ¦ Frequency ¦ ¦ Reference ¦ ¦ +MOV---------------+ ¦ ¦---------------------------------------------------------¦MOVE +-¦ ¦ ¦Source N20:0¦ ¦ ¦ ¦ 0¦ ¦ ¦ ¦Dest O:1.3¦ ¦ ¦ ¦ 0¦ ¦ ¦ +------------------+ ¦ Figure 5 -- Drive 1 Control and Reference Faxback Document # 3313 Web location Http://WWW.AB.COM Page 6 of 12 ALLEN-BRADLEY Ladder Program Drive 2 Start/Stop and Reference The section of program shown in Figure 6 provides start/stop control and a frequency reference to the 1305 drive connected to SCANport channel 2. This section functions identically to that shown in Figure 5 except for the changes in addresses. ¦ Drive 2 Drive 2 Drive 2 ¦ ¦ User User START ¦ ¦ Momentary Maintained Command ¦ ¦ START NOT STOP Bit ¦ ¦ Input Input ¦ ¦ I:2.0 I:2.0 O:1.4 ¦ ¦-----] [-------------------] [----------------------------------------( )-----¦ ¦ ¦ 2 ¦ 3 1 ¦ ¦ ¦Drive 2 ¦Drive 2 ¦ ¦ ¦ ¦START ¦RUNNING ¦ ¦ ¦ ¦Command ¦Status ¦ ¦ ¦ ¦Bit ¦Bit ¦ ¦ ¦ ¦ O:1.4 I:1.4 ¦ ¦ ¦ +---] [--------]/[----+ ¦ ¦ 1 1 ¦ ¦ Drive 2 Drive 2 ¦ ¦ User STOP ¦ ¦ Maintained Command ¦ ¦ NOT STOP Bit ¦ ¦ Input ¦ ¦ I:2.0 O:1.4 ¦ ¦-----]/[--------------------------------------------------------------( )-----¦ ¦ ¦ 3 ¦ 0 ¦ ¦ ¦Drive 2 ¦Drive 2 ¦ ¦ ¦ ¦STOP ¦RUNNING ¦ ¦ ¦ ¦Command ¦Status ¦ ¦ ¦ ¦Bit ¦Bit ¦ ¦ ¦ ¦ O:1.4 I:1.4 ¦ ¦ ¦ +---] [--------] [----+ ¦ ¦ 0 1 ¦ ¦ Drive 2 ¦ ¦ Frequency ¦ ¦ Reference ¦ ¦ +MOV---------------+ ¦ ¦---------------------------------------------------------¦MOVE +-¦ ¦ ¦Source N20:1¦ ¦ ¦ ¦ 0¦ ¦ ¦ ¦Dest O:1.5¦ ¦ ¦ ¦ 0¦ ¦ ¦ +------------------+ ¦ Figure 6 -- Drive 2 Control and Reference Faxback Document # 3313 Web location Http://WWW.AB.COM Page 7 of 12 ALLEN-BRADLEY Ladder Program Drive 3 Start/Stop and Reference The section of program shown in Figure 7 provides start/stop control and a frequency reference to the 1305 drive connected to SCANport channel 3. This section functions identically to that shown in Figure 6 except for the changes in addresses. ¦ Drive 3 Drive 3 Drive 3 ¦ ¦ User User START ¦ ¦ Momentary Maintained Command ¦ ¦ START NOT STOP Bit ¦ ¦ Input Input ¦ ¦ I:2.0 I:2.0 O:1.6 ¦ ¦-----] [-------------------] [----------------------------------------( )-----¦ ¦ ¦ 4 ¦ 5 1 ¦ ¦ ¦Drive 3 ¦Drive 3 ¦ ¦ ¦ ¦START ¦RUNNING ¦ ¦ ¦ ¦Command ¦Status ¦ ¦ ¦ ¦Bit ¦Bit ¦ ¦ ¦ ¦ O:1.6 I:1.6 ¦ ¦ ¦ +---] [--------]/[----+ ¦ ¦ 1 1 ¦ ¦ Drive 3 Drive 3 ¦ ¦ User STOP ¦ ¦ Maintained Command ¦ ¦ NOT STOP Bit ¦ ¦ Input ¦ ¦ I:2.0 O:1.6 ¦ ¦-----]/[--------------------------------------------------------------( )-----¦ ¦ ¦ 5 ¦ 0 ¦ ¦ ¦Drive 3 ¦Drive 3 ¦ ¦ ¦ ¦STOP ¦RUNNING ¦ ¦ ¦ ¦Command ¦Status ¦ ¦ ¦ ¦Bit ¦Bit ¦ ¦ ¦ ¦ O:1.6 I:1.6 ¦ ¦ ¦ +---] [--------] [----+ ¦ ¦ 0 1 ¦ ¦ Drive 3 ¦ ¦ Frequency ¦ ¦ Reference ¦ ¦ +MOV---------------+ ¦ ¦---------------------------------------------------------¦MOVE +-¦ ¦ ¦Source N20:2¦ ¦ ¦ ¦ 0¦ ¦ ¦ ¦Dest O:1.7¦ ¦ ¦ ¦ 0¦ ¦ ¦ +------------------+ ¦ Figure 7 -- Drive 3 Control and Reference Faxback Document # 3313 Web location Http://WWW.AB.COM Page 8 of 12 ALLEN-BRADLEY Input Data Table File The data table file shown in Figure 8 is the input data read from the 1203-SM1 via the SLC backplane. address I:1 I:1.1 I:1.2 I:1.3 I:1.4 I:1.5 I:1.6 I:1.7 I:1.8 I:1.9 I:1.10 I:1.11 I:1.12 I:1.13 I:1.14 I:1.15 I:1.16 I:1.17 I:1.18 I:1.19 I:1.20 I:1.21 I:1.22 I:1.23 I:1.24 I:1.25 I:1.26 I:1.27 I:1.28 I:1.29 I:1.30 I:1.31 15 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 data 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport Channels 1 & 2 Channel Status Channel 3 Channel Status Channel 1 Logic Status Channel 1 Feedback Channel 2 Logic Status Channel 2 Feedback Channel 3 Logic Status Channel 3 Feedback Channel 1 Datalink A1 Out Channel 1 Datalink A2 Out Channel 1 Datalink B1 Out Channel 1 Datalink B2 Out Channel 1 Datalink C1 Out Channel 1 Datalink C2 Out Channel 1 Datalink D1 Out Channel 1 Datalink D2 Out Channel 2 Datalink A1 Out Channel 2 Datalink A2 Out Channel 2 Datalink B1 Out Channel 2 Datalink B2 Out Channel 2 Datalink C1 Out Channel 2 Datalink C2 Out Channel 2 Datalink D1 Out Channel 2 Datalink D2 Out Channel 3 Datalink A1 Out Channel 3 Datalink A2 Out Channel 3 Datalink B1 Out Channel 3 Datalink B2 Out Channel 3 Datalink C1 Out Channel 3 Datalink C2 Out Channel 3 Datalink D1 Out Channel 3 Datalink D2 Out Figure 8 -- Input Data Table File Faxback Document # 3313 Web location Http://WWW.AB.COM Page 9 of 12 ALLEN-BRADLEY Channel & Message Status Input Image Definitions Channel 2 Status Bit Channel 1 Status 15 14 13 12 11 D2 C2 B2 A2 V2 MSTAT CH 2 X M 0 MSTAT STA CH 3 10 9 8 7 6 5 4 3 ID2 D1 C1 B1 A1 V1 ID1 Word 0 MSTAT CH 1 D3 C3 B3 A3 V3 ID3 Word 1 Message Status Ch 1-3 2 1 0 Channel 3 Status NOTE: x = Designated SCANport Channel Number on the module. IDx SCANport Channel x Connected Adapter Port ID Number. This three (3) bit field contains the adapter port number that channel x is connected to on the SCANport product. It should contain a value between 1-7. If this field contains a seven (7), then the channel is not connected to the SCANport product, or the SCANport product may not be powered. Vx SCANport Channel x Valid Data bit. When high (1), the Logic Status and Analog Feedback values are valid and can be used. When low (0), the values should not be considered valid. A-Dx SCANport Channel x Datalink A-D Valid Data bit. When high (1) the data associated Datalink A-D of the corresponding channel is valid and can be used. When low (0) the values should not be considered valid. M0 STAT M0-File Status bit. When high (1), any previously written M0-file message to the module can be enabled by the SLC program. When low (0), the SLC to SCANport module is either actively reading the last sent M0_file data changes, or no M0_file data has been loaded into the module by the SLC program. Under SLC program control, any changes to the M0-file message buffers should cause the checking of this status bit before enabling that message to be sent out any SCANport channel. Unchanged buffers can still be enabled or sent while this status bit is low (0). MSTAT CHx Message Status bits for the message buffer of the corresponding channel. These two (2) bit fields correspond to the status of each of the message buffers. There is one message response buffer for each channel. The first bit (MSB) contains the READY bit. The READY bit is active (high=1) when a new message request can be initiated to the SCANport product. The second bit (LSB) contains the DONE bit. The DONE bit is active (high=1) when an M1-file message buffer contains response data to a message request. When both the READY and the DONE bits are inactive (0), the buffer is in a BUSY state. This is the state during which the module is actually requesting the data from the SCANport product. These status bits should never be high at the same time. NOTE: The 1203-SM1 can be used to read and write parameters and other information in a SCANport device. For more information refer to the application note “Bulletin 1203-SM1 SCANport Messaging”. Faxback Document # 3313 Web location Http://WWW.AB.COM Page 10 of 12 ALLEN-BRADLEY Output Data Table File The data table file shown in Figure 9 is the data to be sent to the 1203-SM1 via the SLC backplane. address O:1 O:1.1 O:1.2 O:1.3 O:1.4 O:1.5 O:1.6 O:1.7 O:1.8 O:1.9 O:1.10 O:1.11 O:1.12 O:1.13 O:1.14 O:1.15 O:1.16 O:1.17 O:1.18 O:1.19 O:1.20 O:1.21 O:1.22 O:1.23 O:1.24 O:1.25 O:1.26 O:1.27 O:1.28 O:1.29 O:1.30 O:1.31 15 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 data 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport SCANport Channels 1 & 2 Channel Command Channel 3 Channel Command Channel 1 Logic Command Channel 1 Reference Channel 2 Logic Command Channel 2 Reference Channel 3 Logic Command Channel 3 Reference Channel 1 Datalink A1 In Channel 1 Datalink A2 In Channel 1 Datalink B1 In Channel 1 Datalink B2 In Channel 1 Datalink C1 In Channel 1 Datalink C2 In Channel 1 Datalink D1 In Channel 1 Datalink D2 In Channel 2 Datalink A1 In Channel 2 Datalink A2 In Channel 2 Datalink B1 In Channel 2 Datalink B2 In Channel 2 Datalink C1 In Channel 2 Datalink C2 In Channel 2 Datalink D1 In Channel 2 Datalink D2 In Channel 3 Datalink A1 In Channel 3 Datalink A2 In Channel 3 Datalink B1 In Channel 3 Datalink B2 In Channel 3 Datalink C1 In Channel 3 Datalink C2 In Channel 3 Datalink D1 In Channel 3 Datalink D2 In Figure 9 -- Output Data Table File Faxback Document # 3313 Web location Http://WWW.AB.COM Page 11 of 12 ALLEN-BRADLEY Channel Command Output Image Definitions Channel 2 Command Bit 15 Channel 1 Command 14 13 Not Used 12 11 10 MSG ID Reserved 9 8 M E DE 2 2 7 6 5 4 3 2 1 0 Not Used MSG ID M E DE 1 1 Word 0 Not Used MSG ID M E DE 3 3 Word 1 Channel 3 Command NOTE: x = Designated SCANport Channel Number on the module. DEx SCANport Channel x Data Enable bit. While low (0), the Channel will not be actively transferring I/O data (including datalink data) between the connected SCANport product. When high (1), the Channel will become active to the SCANport product and transfer the appropriate I/O data. When reset to low (0), the Channel will disconnect from the SCANport product. NOTE: This will usually cause the connected SCANport product to fault. MEx SCANport Channel x Message Enable bit. When set high (1), the message selected by the Message ID field will be transmitted through the appropriate channel to the SCANport product. This bit should be held high during the duration of the request until the status DONE bit is asserted (1). The resetting (0) of this bit clears the DONE status, and returns the message status to the READY state. MSG ID Message Identifier field. This field allows for the selection of one of the eight (8) message buffers in the M0-file area for each channel. Multiple channels can utilize the same Message ID buffer simultaneously. NOTE: The 1203-SM1 can be used to read and write parameters and other information in a SCANport device. For more information refer to the application note “Bulletin 1203-SM1 SCANport Messaging”. Faxback Document # 3313 Web location Http://WWW.AB.COM Page 12 of 12