Home

SIMATIC TI575 Task Code - Service, Support

image

Contents

1. 011101 LCFH Most significant word of Loop C flags 011110 LCFL_ Least significant word of Loop C flags 100101 AODA Analog Alarm Orange Deviation Alarm Limit 100110 AYDA Analog Alarm Yellow Deviation Alarm Limit 100010 LADB Loop Alarm Deadband 101000 ASPH Analog Alarm Setpoint High Limit 100111 ASPL Analog Alarm Setpoint Low Limit 100000 LLLA Loop Low Low Alarm Limit 100001 LRCA Loop Rate of Change Alarm Limit engineering units minute 101001 ACFH Most significant word of Analog Alarm C flags 101010 ACFL Least significant word of Analog Alarm C flags 100100 ALA Analog Alarm Low Alarm Limit 011111 LHHA Loop High High Alarm Limit 101100 ALLA Analog Alarm Low Low Alarm Limit 100011 AHA Analog Alarm High Alarm Limit 101111 AERR Analog Alarm Error 110001 LKD Loop Derivative Gain limiting coefficient 101011 AHHA Analog Alarm High High Alarm Limit 101101 ARCA Analog Alarm Rate of Change Alarm Limit engineering units minute 101110 AADB Analog Alarm Alarm Deadband 1 8 Task Code Parameter Descriptions 11575 Task Code Table 1 5 wwwwww Extended Variable Type continued 110110 2C Control relay accessed as a word 110111 LACK Loop Alarm Alarm Acknowledge flags 111000 AACK Analog alarm Alarm Alarm Acknowledge flags 111001 LPET Loop Peak Elapsed Time Value Represents the elapsed time from when the process is scheduled until it c
2. 2 6 Task Code Definitions 11575 Task Code T32 Program to Run Mode 1033 Go to Program Mode TA Exec ute Power up 11575 Task Code Status Word 15 Peak discrete scan for a T1545 T1555 or T1575 It has no meaning for the other controllers It is the peak time required to execute the I O Cyde RLL and SF Cycle for a T1545 T1555 or TI 575 Status Word 16 Provides the reason for fatal error if bit A in Status Word 2 is set Error numbers range from 0 to 65535 Status Word 17 Provides the reason for non fatal error if bit B in Status Word 3 is set Error numbers range from 0 to 65535 Status 18 thru 30 Undefined and are set to zero Command 32 Response 32 Command 33 xx Response 33 xx Xx if 00 freezes the outputs if FF clears the discrete outputs and freezes the word Command 34 xx Response 34 Field xx is added for multi PL C multi application systems eg T1575 and has the following characteristics If xx is not coded or xx 00 then the restart is for this application only If xx 01 then the restart is coordinated across locked applications If xx 202 then the restart is coordinated across all applications independent of dependencies If xx is not specified then 00 is assumed unless the PLC is in the FAULT mode then 02 is assumed for multiple application PLCs If the PLC is in the fault mode and xx is specified it must be 02 or the restart is disallowed If the battery
3. 1 Controller in Download Mode 1 Transparent Byte Protocol TBP supported for local ports 1 Loop Data Elements Supported by Block Transfer 1 STW 16 30 supported Spare Set to Zero Figure 2 4 Status Word 9 11575 Task Code Task Code Definitions 2 5 Task Code Definition continued Status Word 10 HBU Mode Active with no Standby Stand Alone 0002 Active with Off line Standby 0003 Active with On line Standby Standby On line with healthy Active 0005 Standby Off line with healthy Active Status Word 11 Valid only if Word 10 22 or 5 Reason for Off line 0000 Nospecial reason entered on power up Off line due to hardware mismatch 0002 Off line due to user command Off line requesting on line but inhibited by user program in active unit 0005 Off line due to failure in standby 0003 Off line due to active unit in PROGRAM mode 0006 Off line due to loss of HBU communications Status 12 Most significant 16 bits of the User V memory size Concatenated with Status Word 5 to indicate memory sizes larger than 65535 words Status Word 13 and 14 Operational status of each card in a multicard chassis The numbered bits below represent the corresponding physical slot within the controller If the bit is 0 a card is installed and functional If the bit is 1 the card is failed or not present MSB WORD 13 LSB
4. e fthechannel is coded as F the N for the channel over which the request is received is returned e ftherequester is on a local port and codes the channel as F then an invalid data error is returned e Ifan uninstalled channel is coded a range error is returned Thefollowing restart reset conditions apply e Cold Warm H ot Restarts Use previous value e Power up with Low Battery Default to 2 task codes per scan e PLCClear Default to 2 task codes per scan Used to determine which bases are disabled in the system All supported channels are returned Command 8D 00 Response 8D 00 cc mmmm cc mmmm all supported channels returned Where CC Channel number mmmm Bit mask representing which bases are enabled disabled MSB base 15 LSB base 0 Bit set base enabled Bit cleared base disabled Task Code Definitions 2 15 Task Code Definition continued TC8D Subcommand 01 Write Mask to Contoller TC8D Subcommand 02 Read I O Base Configuration T93 Assign Deassign Port Used to write I O base enable disable mask to controller Command 8D 01 cc mmmm cc mmmn Where Response Where cc mmmm Channel number to write mask to Range 1 thru maximum channel number supported Mask representing which bases to enable disable Bit set indicates base is to be enabled Bit cleared indicates base is to be disabled MSB base 15 LSB base 0 8D 01 cc mmmm cc mmmn cc m
5. A22 A21 A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 AM Where SS 00 A16 user address space 01 A24 user address space other values for ss are undefined A23 A1 correspond to VMEbus address lines A23 A1 respectively 71575 Task Code Task Code ParameterDescriptions 1 11 Port Module and Board Address Descriptors Port Descriptors QQQQ is used to represent a source or destination port within a Series 500 505 PLC and identifies A Alocal communication port on the PLC 0 1 2 7 8 9 10 15 0 0 LLLLLL 1 0 pppppp Where LLLLLLL Board s LAR 00h 3Eh T1575 only O for all other PLCs pppppp Port number 0 first port B AnApplication ID 0 1 2 T 8 9 10 15 0 0 000000 1 1 aaaaaa Where aaaaaa App ID 1 12 Task Code Parameter Descriptions 11575 Task Code Chapter 2 Task Code Definitions 2 1 Task Code Definition ccc cece cece cece eee eee eee eee eee eee eee 2 2 TCO1 Read Word Memory Random sssssssssss eee enn 2 2 TC02 Write Word Memory Area Random 000 eee 2 2 TC30 ReadOperationalStatus sssssssseesee nn 2 2 1032 Program to Run Mode esee tuc ont de a cea ta ened 2 7 T33 Go to Program ModE i eee ee aS ee ur x e Ree OR BOR E BOR de TR BUR FR un 2 7 1C 34 Execut POWOTUD 22i diea pee ore toot on eR
6. M SB is set then wwww is treated as the address of a real 32 bit value If the MSB is reset then wwww is treated as the address of an integer 16 bit value 1 2 Task Code Parameter Descriptions 11575 Task Code Category Word Code Description 11575 Task Code The correspondence between the categories and word code representation for the task codes are described in this chapter See Table 1 1 Table 1 1 Word Code Categories Controller a 01 02 50 51 1 2 3 4 AAAA or wwww Category 1 user words within the controller are arranged in pages with page sizes dependent on the type of memory The first page Page 0 is accessed by a single word format MSB bits gt 1 2 5 6 16 O Word Code OFFSET To access successive pages Word Code F is used as the expansion code and the format becomes MSB bits gt 1 2 5 6 7 16 0 1111 0 PAGE 0 Word Code OFFSET Word code and page sizes for each memory type are defined in Table 1 2 Task Code Parameter Descriptions 1 3 Word Area Address Descriptors continued Page and Offset The PAGE and OFFSET fields identify the specific data element of the memory type specified by the word code Table 1 2 Memory Type Page Sizes Word Word Code Definition Page Size First Sede CC Hecadom Drum Current Count Memory DCC 1 DI eWemyG 3 90 ono meme o a Sr R A 1000 Timer Counter Preset ii Memory d Timer Cou
7. the responder makes provisions to check parity even though the UART is set up as defined above RL Byte TheRL byte defines the request response maximum length in bytes In a message that is a task code request the RL byte specifies the maximum length of the task code response In the task code request the RL byte is a binary number ranging from 6 hexadecimal 06 to 256 hexadecimal 00 with 255 being represented by hexadecimal FF In thetask code response the RL byte defines the maximum length of response that the device supports Only two values are allowed for the RL bytein the response The values are 73 hexadecimal 49 or 256 hexadecimal 00 3 6 Communication Protocols 11575 Task Code LL Byte TC Byte 11575 Task Code With this definition a responding device with a maximum buffer size of 72 bytes indicates this restriction to the requesting device In the event that the request has overflowed the 72 byte buffer length the responding device returns error code hexadecimal 09 incorrect amount of data sent with request The LL byte defines the message byte count including the 3F and the CKSM The byte count is a hexadecimal number ranging from a minimum of 6 hexadecimal 06 to a maximum of 256 hexadecimal 00 with 255 represented by hexadecimal F F TheTC byte is a hexadecimal number ranging from 00 to FF that identifies the task code command response message The dd dd dd bytes is a hexadecimal number representing t
8. 2 17 Contents iii 3 1 3 2 3 3 TC 93 Subcommand 01 Assign Port to Application 00 2 17 TC 93 Subcommand 02 Deassign Port 6 eee 2 17 TC 94 Conflg re Por ica ci eee Ae ee ee oe REX ea oe ean ona 2 18 TC 94 Subcommand 00 Read Port Configuration 02 2 18 TC 94 Subcommand 01 Set Port Configuration 6 02s 2 19 TC 99 Write VME Memory Area Block Random 0 0 00 2 20 TC 9A Read VME Memory Area Block Random ccc cece eee eee es 2 21 Chapter3 Communication Protocols i nul iii A A o cdas 3 2 Non Intelligent Terminal Protocol NIP 0 0oooccoccocc rn nn nm n 3 3 NIP FOMAC PC 3 3 NAP Character Set 2 c ccccsee rise i eniai eae e eed A E OE ai 3 3 Message De limliters esser go a eed ore en Ra DC TAN soe do de bo a o 3 4 CharacterCourit 22 specu went ie des xr osea Fee pol a teem dahon ewe le dees 3 4 Mesage BOY oria isimna mMITMTMTT 3 4 Errorchecking Code eos ode nete E a a N donate anal tg a AAA E 3 4 Transparent Byte Protocol occcccccccccccc a 3 6 UART Initialization Requirements sssssssseeeee e 3 6 Message FOtlnab eraat actae id pa eens Din pae Dea or pac a eee 3 6 inno c Mo Pe Tr 3 6 Responder wise darts ses uERE beu iine yai a iia 3 6 RE Byte iina aaa eene peuple eau lot uot tessa dodge testa in stipe manera ee an adidas 3 6 INI 3 7 eus 3 7 Message Timeouts occccco hh 3 8 Message Tum Around Time ssssssuseeee
9. Fatal Hold Mode 1 Hold User Program Source RAM ROM 1 ROM Battery Low 1 Low Battery Operational Mode Program Run 1 Run Scan Type Fixed Variable 1 Fixed Keylock Protected 1 Protected Figure 2 1 Status Word 1 2 2 Task Code Definitions 11575 Task Code The scan time reported in field G is modulo 256 in earlier controller releases Fatal Error where the bit 1 means GoD E F G L___ Operating System RAM Parity Program RAM Parity Operating System Fatal Error Watchdog Timeout Dynamic Program Memory Diagnostic Illegal Operation Code RAM Diagnostic Failure ROM Diagnostic Failure Scan Diagnostic Failure 1 O Fatal Error Reserved Abnormal Power Loss Unindentified Failed Board Present T1560 565 Fatal Error due to EPROM Other Hardware Failures Fatal Error see Status Word 16 for reason code Figure 2 2 Status Word 2 11575 Task Code Task Code Definitions 2 3 Task Code Definition continued Fatal Error where the bit 1 means MSB A A A A B L___ Scan Overrun 1 O Base Failure Special Function Port Failure Local Port Communication Port Failure 1 0 Module Failure Over Temperature Too Many Special Function
10. Modules 1 0 Table Does Not Agree With Modules Installed Board Marked Non fatal has Failed Untraceable Error Flag Set User Program Error See Chapter 2 STW200 Non Fatal Error See Status Word 17 for reason code Controller Type see Table C 6 Figure 2 3 Status Word 3 Table 2 1 ContollerType 2 4 Task Code Definitions 11575 Task Code Status Word 4 TheLadder Logic Memory Size See also Status Word 7 Status Word 5 User V memory Size See also Status Word 12 Status Word 6 Highest configured I O Point Status Word 7 Most significant 16 bits of the Ladder Logic Memory Size Concatenated with Status Word 4 toindicate memory sizes larger than 65 535 words Status Word 8 Remaining 1 O points not configured Status Word 9 Expanded Controller Type Identification L_ 1 Controller is Compiled Code Version L 1 SF Loop Option Installed 1 Remote I O QQQQ format 0 Distributed Format 1 Block transfer uses data element type with 24 bit offset 0 Block transfer uses 16 bit absolute address 12 NIMs are Local Control is Local 0 NIM in Remote Network has Control Multiple Controllers Installed 1 5x5 Class Controller 1 Internal CRs 1 Network Time Slice supported 1 Generic Upload Download Supported 1 Controller in Upload Mode
11. V 16 For DCC STW WX and WY memory the PAGE and OFFSET fields are determined by the following equations PAGE N 1 DIV 1024 OFFSET N 1 MOD 1024 1 Where N is the data element number e g 53 in WX53 Given PAGE and OFFSET N is determined by the following N PAGE MUL 1024 OF FSET Task Code Parameter Descriptions 1 5 Word Area Address Descriptors continued TC P TCC Encoding DSP DSC Encoding The following equations specify the PAGE and OFFSET fields for word addresses referencing TCP TCC memory NOTE TCP and TCC memory share a single word code Because of this the encoding of the OF FSET field is used to distinguish between these word types PAGE N 1 DIV 128 OFFSET N 1 MOD 128 Z WhereN is the Timer Counter number and Z is 1 TCP memory or 129 TCC memory Given PAGE and OFFSET N is determined by the following N PAGE MUL 128 H OFFSET 1 MOD 128 41 The following equations specify the PAGE and OFFSET fields for word addresses referencing DSP DSC memory NOTE DSP and DSC memory share a single word code Because of this the encoding of the OF FSET field is used to distinguish between these word types PAGE N 1 DIV 30 OFFSET N 1 MOD 30 Z Where N is the drum number and Z is 1 DSP memory or 31 DSC memory Given PAGE and OFFSET N is determined by the following N PAGE MUL 30 H OFFSET 1 MOD 30 41 1 6 Task Code Parameter Descriptions 11575 Task Code Category 2 W
12. a port to an application Command 93 01 QQQQ aa cc Where QQQQ Port ID of the port to be assigned aa Application D of the application to be assigned cc Connection type as follows 00 Exclusive connection Only a single application may have an exclusive connection to a port 01 2 Shared connection Multiple applications may have shared connections to a port If ccis not coded then exclusive is assumed Response 93 Used to delete a port assignment Command 93 02 QQQQ aa Where QQQQ Port ID of the port to be deassigned aa Optional application ID of the application whose connection is to be deassigned If not coded or 00h then the requester is deassigned Response 93 Task Code Definitions 2 17 Task Code Definition continued TA Configure Port TC Subcommand 00 Read Port Configuration This task code is used to set the attributes e g baud rate character size parity number of stop bits and protocol of a local port This task code has two subcommands 00 Read local port configuration 01 Set local port configuration This task code is used to read the configuration of a port Command 94 00 QQQQ Where QQQQ Port ID of the port whose configuration is to be read Response 94 QQQQ pppp bbbbbbbb cc pp ss ff QQQQ pppp bbbbbbbb cc pp ss 2 18 Task Code Definitions Port 1D of the port whose configuration is to be read Port protocol as follows 0000 none 0001 TTY e
13. does not equal hexadecimal FF an error has occurred and the message is discarded The receiver starts a timer upon receiving of the first character of a message If the entire message is not received before the timer times out the message is discarded and the receiver is initialized to receive the next message The timeout value is baud rate dependant and message length dependant The values for the maximum length message are shown in Table 3 3 along with the baud rate and character times Table 3 3 Maximum Length Message Values Baud Rate Character Time ms Message Timeout Value sec 2 400 4 167 1 200 300 33 333 9 600 After receiving a message the response is not initiated for 0 25 ms This turn around time ensures that the transmitting device has had time to set up the receiver The same delay applies between receiving the response and the beginning of a new message After a request message has been sent the requester waits a minimum of one message timeout plus one turn around delay before attempting another transmission This allows the receiver to timeout the first message and reinitialize to receive The time required to execute the request is determined separately and may be much longer 3 8 Communication Protocols 11575 Task Code Application Note Since a device that supports TBP must also support NITP use lookup tables for Parity Checking to avoid reprogramming the UART to send and receive 7 bits of data with NIT
14. is disallowed If the PLC is in the fault mode xx 02 and the battery is bad then the PLC memory is deared 2 8 Task Code Definitions 11575 Task Code TC50 Command 50 AAAA Read User Word Response 50 RRRR RRRR Area Block As many locations are returned that can fit in the task code length or until the end of the memory type is reached NOTE For the TI 545 TI 555 and T1575 controllers the wwww word code descriptor can be used instead of the AAAA in which case the data descriptor dddd replaces RRRR TC51 Command 51 AAAA RRRR RRRR White User Word Response 51 Area Starting at Address As many locations can be written that fit in thetask code length or until the end of the memory type is reached NOTE For the TI 545 TI 555 and T1575 controllers the wwww word code descriptor can be used instead of the AAAA in which case the data descriptor dddd replaces RRRR 11575 Task Code Task Code Definitions 2 9 Task Code Definition continued T58 Set Contoller Time of Day Clock 2 10 Task Code Definitions 58 GGGG HHHH III JJ 58 GGGG Year Month bit 1 84 9 16 XXXX XXXX XXXX XXXX tens ones tens ones Year Month HHHH Day Hour bit 1 8 9 16 XXXX XXXX XXXX XXXX tens ones tens ones Day Hour 1111 Min Sec bit 1 8 9 16 XXXX XXXX XXXX XXXX tens ones tens ones Minute Second JJ Day of Week bit 1 8 XXXX spare 11575 Task Code TC 59 White Di
15. Compared to NITP TBP improves the efficiency of the information exchange between a controller and an operator interface device UARTInitialization In order to support TBP information exchange the communications Requirements controlling device Universal Asynchronous Receiver Transmitter UART is initialized to the following conditions e 8data bits per character e noparity e 1 start bit e lstopbit Message Format The TBP message format is implemented as 3F RL LL TC dd dd dd CK SM The 3F or ASCII question mark is the first character of all TBP messages Thefirst byte serves as the protocol identifier that allows the NITP messages to be distinguished from the TBP messages Therefore any device supporting TBP initializes the UART described above If the protocol is NITP the first byte received is hexadecimal BA or the ASCII colon sent with odd parity If the protocol is TBP the first byte is hexadecimal 3F or the ASCII question mark Any other first character causes the message to be discarded Initiator The initiator of a request message may choose to use either protocol NITP or TBP The responder must respond to the initiator in like protocol In the case that the request was made using TBP and the responder does not support TBP no response to the request is made Responder For the responder that supports TBP a request made using NITP is acknowledged using NITP Sincethe NITP character set is limited to 20 characters
16. Edition iii vii Original Edition 1 1 1 12 Original Edition 2 1 2 21 Original Edition 3 1 3 9 Original Edition Registration Original Edition Pages Description Contents Preface Chapter1 Task Code Parameter Descriptions Word Area Address Descriptors cece eee 1 2 Word Codes cease habe e ena RERO ERRARE CR anche ates Suresh ew Sues 1 2 Category I Word Code Description sssssssssssssssss sene 1 3 jud EP V OO m 1 5 G EnNCOdINO eneeier aea rote o aE D E 1 5 DCP ENCON I 1 5 WX WY DC C SIW ENCO ding uec nem ect oet a em one char N gun egies E 1 5 TE PITE C ENCON iaie maiii cae aa a ore Pe ac ae a ai Ro dac da ol e ge 1 6 pgs M cadutiuna naiue ia niingie ead a anG i E D enters 1 6 Category 2 Word Code Description sisse sisiis tane tiii diia eens 1 7 Category 3 Word Code Description 0 ccc ccc eee eee e nee eeeneees 1 9 Category 4 VMEbus Word Code Description ccc eee eens 1 11 Port Module and Board Address Descriptors cccccccccoccccnn a 1 12 Port Descrptors uk cena eee xe oq Ce b Roo x D ep Mn da 1 12 Chapter2 Task Code Definitions 2 1 Task Code Definito aii iii a RR cage ada RR 2 2 TC01 Read Word Memory Random cece eee n 2 2 TC 02 Write Word Memory Area Random sssssssessse eh 2 2 1030 Read OperationalStatus ssssssssssssssse en 2 2 IC 32 Program to Run Mode ccoo es pe caw aud eee honed wade Ree e 2 7 1733 Go to Program Mode
17. P Message odd parity For transmission the hexadecimal nibble value is used as an index into the table that contains the hexadecimal representation of the ASCII character The values of the ASCII characters used in NITP are listed in Table 3 4 Table 3 4 ASCII Character Values for NITP ASCII Character ees Nibble Hexadecimal Fee etre nal Representation Wii Parity With Parity For reception make a copy of the received character mask the parity bit and convert it to a hexadecimal nibble Using this nibble value as an index into the transmit table compare the received character with the table value If they do not match an error occurred 11575 Task Code Communication Protocols 3 9
18. SIEMENS SIMATIC T1575 Task Code User Manual Order Number PPX 575 8104 1 Manual Assembly Number 2589734 0002 Original Edition Copyright 1993 by Siemens Industrial Automation Inc All Rights Reserved Printed in USA Reproduction transmission or use of this document or contents is not permitted without express consent of Siemens Industrial Automation Inc All rights including rights created by patent grant or registration of a utility model or design are reserved Since Siemens Industrial Automation Inc does not possess full access to data concerning all of the uses and applications of customer s products we do not assume responsibility either for customer product design or for any infringements of patents or rights of others which may result from our assistance 01 21 92 Technical data is subject to change We check the contents of every manual for accuracy at the time it is approved for printing however there may be undetected errors Any errors found will be corrected in subsequent editions Any suggestions for improvement are welcomed MANUAL PUBLIC ATION HISTORY SIMATIC T1575 Task Code User Manual Order Manual Number PPX 575 8104 1 Refer to this history in all correspondence and or discussion about this manual Event Date Description Original Issue 04 93 Original Issue 2801374 0001 LIST OF EFFECTIVE PAGES Pages Description Cover Copyright Original Edition History Effective Pages Original
19. assign Port 6 c cee 2 17 TC94 Configure Post cisci erg eee E RE PARE LATER See SEP owe ee de 2 18 TC94 Subcommand 00 Read Port Configuration lsssssssssesssseeeeee 2 18 TC94 Subcommand 01 Set Port Configuration 0 00 2 19 T99 Write VME Memory Area BIOCK RandOM ccc cece cece eee eee neeeees 2 20 TC9A Read VME Memory Area Block Random 000 cece 2 21 11575 Task Code Task Code Definitions 2 1 2 1 Task Code Definition TOL Read Word Memory Random TCO2 Wite Word Memory Area Random T30 Read Operational Status Command 01 AAAA AAAA Response 01 RRRR RRRR Response values are returned in respective address positions NOTE For T1545 T1555 and T1575 controllers the wwww word code descriptor can be used instead of the AAAA in which case the data descriptor dddd replaces RRRR Command 02 AAAA RRRR AAAA RRRR Response 02 NOTE For T1545 T1555 and T1575 controllers the wwww word code descriptor can be used instead of the AAAA in which case the data descriptor dddd replaces RRRR Command 30 xx Response 30 UUUU Where xx not coded Return Status Words 1 through 15 01 Return Status Words 16 through 30 Response contains 15 status words with the following definitions Scan Time in Milliseconds 8 Bits Download Select Switch 1 Download Fatal Error Present 1
20. ble 3 1 to communicate with a wide variety of host devices from ASCII terminals to more intelligent machines Table 3 1 Standard ASCII Codes 7 bit ASCII Displayed 7 bit ASCII Displayed Character Code Character 30 39 NOTE ASCII characters except those in the NITP character set e g a carriage return or line feed may be sent to control special network devices between the ending delimiter and the next beginning delimiter The controller ignores these characters Hexadecimal values must be translated into two ASCII codes or characters For example OE hex equals 30 ASCII 0 45 ASCII E Communication Protocols 3 3 Non Intelligent Terminal Protocol NITP continued Message Delimiters A colon marks the beginning of a message and a semicolon marks the end of a message Any characters between a colon and the next semicolon are interpreted as valid any characters between a semicolon and the next colon are ignored This allows the host to use any parameters required by its software between lines of output When transmitting data to the host the PLC sends carriage return and line feed characters after the terminating semicolon in order to scroll the response on ASCII terminals More intelligent host devices can be set to filter out the carriage return and line feed Character Count To aid in error control the colon at the beginning of the message is followed by a two character count field representing the tota
21. ded Number of bits Only included if NN 255 For use with linelengths greater than 72 characters Group of 8 discrete bits The starting bit identified by JJJJJJ isthe LSB of the first I1 and increasing discrete addresses arein increasing bit position significance Pattern is repeated in each byte Unused bits are cleared if number returned is not a multiple of 8 71 GGGG HHHH III JJ For GGGG HHHH IIII JJ definition see Task Code 58 2 12 Task Code Definitions 11575 Task Code TC7D Command Read SF Loop Response Processor Mode 7D 7D 00mm ffff nnnn ssssssss rrrrrrrr WWWW xxxx YYYY ZZzz vvvv rrrr qqqq Description TC7D returns the current operational mode of the Loop SF mm ffff nnnn SSSSSSSS rrrrrrrr WWWW XXXX yyyy ZZZZ VVVV rrrr qqaq TC7E Command Read Random Response processor or the Loop SF function on single board controllers such as the TI 545 The fields returned follow Mode Descriptor dos Loop card is following CPU s operational mode 1 Loop card is in PROGRAM mode l Loopcardis in RUN mode al Loop card isin HOLD mode 1 Loop card isin FAULT mode 000 Unused Fatal Error vector Non fatal error vector Size of S memory in bytes Number of bytes of S memory available Maximum number of loops supported Maximum number of analog alarms supported Maximum number of SF Programs supported Maximum number of SF Subroutines supported Control Block ID of th
22. e last undefined SF Program or SF Subroutine that the user tried to execute 0000 is returned if no attempt has been made to execute an undefined SF Program or SF Subroutine Control Block I D of the last restricted SF Program that the user tried to invoke from RLL 0000 is returned if no attempt has been made to invoke a restricted SF Program from RLL Control Block ID of the first disabled control block in S memory 0000 is returned if there are no disabled control blocks 7E wwww wwww 7E dddd dddd Description Read values given the the wwww fields wwww may be either normal Series 500 word codes or SF Loop word codes NOTE Real values for undefined loops or analog alarms are returned as a NAN Not A Number nteger values for undefined loop or analog alarms are returned as zero 11575 Task Code Task Code Definitions 2 13 Task Code Definition continued TC 7F Read Block T88 Select Number of SF Module Task Codes Per Scan If an error occurs when reading a variable TC7E returns an error response 00 ee wwww Where eeis the error code and wwww is the word code on which the error occurred Note that wwww may be 16 32 or 48 bits long If the error occurred because wwww was a partial word code at the end of the task code then TC7E returns a full sized word code padded on the end with zeros Command 7F wwww nn Response 7F dddd dddd Description Read nn values beginning at the address sp
23. ecified by wwww wwww may be either a normal Series 500 word code or an SF Loop word code If nn is not specified then as many values as can fit in the task code buffer are returned NOTE Real values for undefined loops or analog alarms are returned as a NAN Integer values for undefined loops or analog alarms are returned as Zero Command 88 CN CN Response 88 Where C Channel Number 1 2 3 8 or F N Number of Task Codes per Scan 1 2 3 8 NOTE This allows a different number of task codes per scan for each channel but all SF modules on that channel are allowed the same number If an un installed channel is programmed a range error is returned The hex value of F for the channel number is a wild card and indicates the O channel over which the request is received If this request is from any communication port local or remote other than an SF module it is rejected as containing invalid data 2 14 Task Code Definitions 11575 Task Code T89 Read Number of SF Module Task Codes Per Scan T 8D Subc ommand 00 Read I O Base Enable Disable Status 11575 Task Code Command 89 CO Response 89 CN CN Where C Channel Number 1 2 3 8 or F N Number of Task Codes per scan 1 2 3 8 NOTE Multiple CNsarereturned in the order of the coded COs e f COis note coded in the request then one CN is returned for each of the installed channels in order of channel number 2 per RCC
24. ee Soon Rer tee Roi gone He 2 7 1035 Execute Complete Warm Start sssssssssssssssssees eee 2 8 1C36 Execute Paitial Hot tart ecce deese enden E vase ee d ed oe 2 8 TC50 Read UserWord Area Block lsssssssssssssseee ee 2 9 TC51 Write User Word Area Starting at Address 0 0 2 9 TC58 Set ControllerTime of Day Clock ssssssseeee eee 2 10 TC59 Write Discrete I O StatusorForce via Data Element Type 2 11 JC5A Write BOCK sica oia cc er RW ce RE o RO Crea 2 11 TC6B Read Discrete I O StatusorForce via Data Element Type Luuee 2 12 TC71 Read Controller Time of Day Clock 0 0c cee 2 12 TC7D Read SF LOOP ProcessorMode eee ccc cece eee nn 2 13 JC7E Read Random revival Ca ER ew dues REOR ewes 2 13 ICZF Read BOCK cuina c tiet A ce qi eu Do A ias 2 14 TC88 Select Number of SF Module Task CodesPerScan suuueueus 2 14 TC89 Read Numberof SF Module Task CodesPerScan uuuuuuueuu 2 15 TC8D Subcommand 00 Read I O Base Enable Disable Status 2 15 TC8D Subcommand 01 Write Mask to Controller 00 0000 eee eee 2 16 TC8D Subcommand 02 Read I O Base Configuration 0 0000005 2 16 T93 Assign Deassign Port cc cece ccs 2 16 T93 Subcommand 00 Read Portassignments 0 02 e eee 2 17 T93 Subcommand 01 Assign Port to Application 0c eee eee 2 17 T93 Subcommand 02 De
25. essees n nnn 3 8 Minimum Time Between Requests sssssssssssssss eese 3 8 Application Note for Panty Checking NIP Message sseeesseeeeeennnn 3 9 Contents List of Figures 2 1 2 2 2 3 2 4 3 1 Status WOrd MP PTE 2 2 Status WOItU 2 5 repeti e ad PER RU 2 3 Status WO S ta cate uu DE EE 2 4 Status WO RPE 2 5 Command and Response Messages 0 cc cece cette tee nn 3 3 Contents v List of Tables 1 1 1 2 1 3 1 4 1 5 2 1 3 1 3 2 3 3 3 4 Word Gode Categoria ed antiq ved aa Euro t RU ERN RE R AE 1 3 Memory Type Page Sizes oocococococcoc erar rn n nne 1 4 f Vanable Data Fomnat 2 isssekatee per cbr aaa 1 7 wwww Variable Data ect RR RR eR ennaii HE E RE OUR X n ee n OE 1 7 wwwwww Extended Variable Type sssssssssse I nn 1 8 Controler Types sumida tome A EEE 2 4 Standard ASCI Codes ciis ss seis p ke peed EE REE Ew E EaD E KOE A 3 3 NIIP Message Structure occ 3 5 Maximum Length Message Values 0 6 naae 3 8 ASCII Character ValuesforNITP 1 0 0 0 cee aae 3 9 Contents Preface Task Codes are the command response messages sent to Series 500 and Series 505 controllers These codes are sent e through the RS 232 and RS 422 communication ports e through Special Functions modules such as the NIM e across the VMEbus using the interboard messaging service in the SIMATIC TI575 Refer to SIMATIC T1575 Interboard Communicati
26. fset into either A16 or A24 space cc Number of elements of size xx to be read xx Size of data element to be read 00 Byte operation 01 2 Word operation 02 Long word operation Response 9A de de Where de Data element of size xx that was read Examples 9A00 00000120 0100 read 1 byte from A16 user space 9A02 00002000 0500 read 5 bytes from A24 user data space using byte operations i e reading 1 byte at a time 11575 Task Code Task Code Definitions 2 21 3 1 3 2 3 3 Chapter 3 Communication Protocols QVI occ cee 3 2 Non Intelligent Terminal Protocol NITP eee rn nn nn B 3 3 NIIP FOrmmat ai cate ert Rr qus DR Run RON quis XI e Rub Reque ca pun nee Bal 3 3 NIIP Character Set ou bes terere repu edere er ri ee key lar ETE pd 3 3 Message Delimiters ooococccccccnnnrn Ih hn 3 4 Character Count c j 0ce ce sgaese bx a e en d NER UR eR end x 3 4 Message Body icis un eee ee eee gwen ede deep Onde E EVES REY SERVA PEYISERS 3 4 Ermorchecking Code viii ehe e nee RR REX ne bea ieee E EET ESEE weeds 3 4 Transparent Byte Protocol occcccccccccccc enhn nnn nhanh nnn 3 6 UART Initialization Requirements ssssssssse I nnn 3 6 Message FoltridE csehkLeR EPOR MESA RD Ie Seemed obec Seca DE MR EE 3 6 NAO Ke p EET 3 6 Responder iiscusasuk kd EA RARE RA RR EERE EE GRE EW dE dee Peri 3 6 RE Byte acco cane e a ac E a e E ai ad 3 6 BB soso hehe A A A A 3 7 LAA O 3 7 Message Timeolu
27. g a printer port 0002 TBP secondary includes NI TP 0003 TBP host includes NITP Baud rate Character size not including any parity bits Typically 7 or 8 Parity as follows 00 No parity 01 Even parity 02 Odd parity 03 Mark parity 04 Space parity Number of stop bits as follows 00 Bit synchronous 01 1 stop bit 02 1 5 stop bits 03 2 stop bits Flow control as follows Vea DSR DTR 1 XON XOFF 11575 Task Code TC Subcommand 01 Set Port Configuration 11575 Task Code This task code is used to set the port configuration Command 94 01 QQQQ pppp bbbbbbbb cc pp ss ff Where QQQQ Port ID of the port to be configured pppp Port protocol as follows 0000 none 0001 TTY eg a printer port 0002 TBP secondary includes NITP 0003 TBP host includes NITP bbbbbbbb Baud rate cc Character size not including any parity bits typically 7 or 8 pp Parity as follows 00 No parity 01 Even parity 02 Odd parity 03 Mark parity 04 Space parity SS Number of stop bits as follows 00 Bit synchronous 01 1stop bit 02 1 5 stop bits 03 2 stop bits ff Flow control as follows L tate DSR DTR 1 XON XOFF Response 94 Task Code Definitions 2 19 Task Code Definition continued TC 99 Task code 99 provides a flexible mechanism to write to a VME address White VME Memory Area Command 99 am offset ccxx de de Block Random Where am Access mode 00 Sh
28. he ECC the two characters for the character count and the two characters used to delimit the message The total character count for a message containing 0100000008 Starting Delimiter 01 1 Character Count 02 2 Message Body 0100000008 0A 10 Error checking Code 04 4 Ending Delimiter 01 1 Total Character Count 12 18 Numbers in parentheses are the corresponding decimal values After determining the total character count insert the character count at the beginning of the message body as 120100000008 The ECC is given by Two s complement of 1201 0000 0008 EDF 7 so that the complete message is the character string 120100000008E DF 7 or ASCII Codes 3A 31 32 30 31 30 30 30 30 30 30 30 38 45 44 46 37 3B Characters 1 2 01 0 00 0 0 0 08 ED F 7 NOTE If the number of characters in the concatenated character count and message body string is not evenly divisible by 4 then the fill characters 00 are added to the end of the string for use in the ECC calculation These fill characters are not actually placed in the final message Table 3 2 summarizes the NITP message structure Table 3 2 NITP Message Structure Beginning delimiter Colon Body of M essage 72 maximum Femina ELECTO Communication Protocols 3 5 3 3 Transparent Byte Protocol Transparent Byte Protocol TBP is a message protocol for point to point communications using 8 bit characters transmitted serially
29. he data associated with the task code request response The CK and SM bytes form hexadecimal numbers ranging from O to 255 The checksum bytes are generated by the sending device using the Fletcher checksum one s complement as defined by the following equation The exclamation point preceding the sum of the terms in parentheses in the equation for CK means to take the one s complement of the resulting sum CK B1 B2 B3 Bn SM SM n B1 n 1 B2 n 2 B3 Bn When a carry results from adding two bytes the carry is added into the sum or the sum is incremented by one For instance if the message consisted of the following bytes 3F 49 06 30 CK is calculated as 3F 49 06 30 15 2 2C SM is calculated as 4 3F 3 49 2 06 30 15 Thetransmitted message becomes 3F 49 06 30 2C 15 Thereceiver calculates both the CK and the SM checksum bytes for example CK B1 B2 B3 Bn SM n B1 n 1 B2 n 2 B3 Bn Communication Protocols 3 7 Transparent Byte Protocol continued Message Timeouts Message Tum Around Time Minimum Time Between Requests When a carry results from adding two bytes the carry is added into the sum or the sum is incremented by one For the transmitted message from the above example the receiver produces the following results CK is calculated as 3F 49 06 30 2C 15 FF SM is calculated as 6 3F 5 49 4 06 3 30 2 2C 15 FF If the checksum calculated by the receiver
30. he offset nnn n for this variable is meaningless and is therefore set to zero FV 0 may contain one of three valid values as follows note this is the RRRR field in task code 01 or 02 0002 Variable Scan with U pper L imit 0003 FFFF Invalid previous setting retained Battery bad power up always defaults to Variable Scan 1 10 Task Code Parameter Descriptions 11575 Task Code 001 Timeline configuration parameters These are programmed by the user to select how often the scan is repeated and the maximum time spent in each part of the timeline Battery bad power up default values are specified by the individual controller product Each parameter is a 16 bit integer and is represented by a different offset nnn nn 0000 DS DS Discrete Scan Time 1 255 ms Valid for FV 0 or 2 This value specifies how often thel O Cycle RLL SF Module Cycle and Guaranteed Comm is performed 0001 LS Loop Time Slice 0 255 ms 0002 AS Analog Alarm Time Slice 0 255 ms 0003 CS Cyclic SF PGM Time Slice 0 255 ms 0004 PS Priority SF PGM Time Slice 0 255 ms 0005 NS Normal SF PGM Time Slice 0 255 ms NOTE Writing a value of 0 toa timeline parameter is interpreted as no change to the existing value Category 4 The VMEbus word code only accesses VMEbus memory on word boundaries VMEbus Word 1 word is 2 bytes You only access VM E A16 and A24 user data memory To Code Description encode this word code 0 0 1 1 1 S S 0 O A23
31. is bad 34 xx or 34 is not allowed in the RUN or HOLD mode Task Code Definitions 2 7 Task Code Definition continued T35 Command 35 xx Execute Complete Response 35 Wam Start Field xx is added for multi PL C multi application systems e g T1575 and has the following characteristics If xx is not coded or xx 00 then the restart is for this application only If xx 01 then the restart is coordinated across locked applications If xx 202 then the restart is coordinated across all applications independent of dependencies If xx is not specified then 00 is assumed unless the TI 575 is in the FAULT mode then 02 is assumed If the PLC is in the fault mode and xx is specified it must be 02 or the restart is disallowed If the PLC is in the fault mode xx 02 and the battery is bad then the PLC memory is deared TC 36 Command 36 xx Execute Partial Response 36 Hot Start Field xx is added for multi PL C multi application systems e g T1575 and has the following characteristics If xx is not coded or xx 00 then the restart is for this application only If xx 01 then the restart is coordinated across locked applications If xx 202 then the restart is coordinated across all applications independent of dependencies If xx is not specified then 00 is assumed unless the TI 575 is in the FAULT mode then 02 is assumed If the PLC is in the fault mode and xx is specified it must be 02 or the restart
32. l number of printable characters in the message induding the colon character count message body error checking code and the terminating semicolon The two characters represent an 8 bit hexadecimal value so that a count of 50 characters is represented as 3332 32 hex The maximum length of NITP messages is 72 characters Message Body The message body consists of ASCII character pairs from the NITP character set each representing a single binary byte value Enor checking Following the message body is an ASCII four character error checking code Code ECC in the form of a 16 bit hexadecimal number that is included at the end of the message just before the semicolon terminator The ECC is a checksum computed by both the sending and receiving stations 1 Dividethe character count and the message body into blocks of four characters left justified and zero filled The beginning and ending delimiters are not included in the calculation 2 Treat each block as a four digit hexadecimal number 3 Sumtheresulting numbers blocks 4 Takethetwo s complement of the sum to get the ECC For example consider a message whose body is the Read Word M emory Random Task Code TCO1 reading V1 and V9 01 00 00 00 08 ASCII 39 31 30 30 30 30 30 30 30 38 Codes 3 4 Communication Protocols 11575 Task Code 11575 Task Code The total character count is calculated by adding together the number of characters in the message the four characters for t
33. mmm Error Response Channel number being modified Mask representing which active bases were disabled Bit set indicates that base was active MSB base 15 LSB base 0 00 OE Cannot disable base because Run out of ROM s selected Used to determine which bases are configured in the system All supported channels are returned Command 8D 02 Response 8D 02 cc mmmm cc mmmm all supported channels Where returned cc mmmm Channel number Bit mask representing configuration status MSB base 15 LSB base 0 Bit set base configured Bit cleared base not configured Used to specify application to port assignments This task code has three subcommands 00 01 02 2 16 Task Code Definitions Read port assignments Assign port to application Deassign port 11575 Task Code T93 Subc ommand 00 Read Port Assignments T93 Subc ommand 01 Assign Port to Application T93 Subc ommand 02 Deassign Port TI575 Task Code Used to determine which applications a port is assigned to Command 93 00 QQQQ Where QQQQ Port ID of the port whose assignments are to be read Response 93 aacc Where aa Application ID of the application assigned tothe port cc Connection type as follows 00 Exclusive connection Only a single application may have an exclusive connection to a port 01 2 Shared connection Multiple applications may have shared connections to a port Used to assign
34. n nn nnn 1 12 Port DESEAPLOLS RR ET 1 12 11575 Task Code Task Code Parameter Descriptions 1 1 Word Area Address Descriptors Word Codes Task Codes that access user word areas within the controller require a word code to identify the desired value s Word codes are separated into four categories e Category 1 Those that access memory types supported by a discrete machine such as the SIMATIC TI530C or SIMATIC TI560 e Category 2 Those that access Loop and Analog Alarm Variables supported only in batch machines such as the SIMATIC TI 565 SIMATIC TI545 SIMATIC TI1555 and SIMATIC T1575 e Category 3 Those that access timeline variables supported by controllers with tunable timelines such as the T1545 T1555 and the TI575 e Category 4 This category contains the VME bus word code Word codes are represented by different symbols e AAAA represents a word code used in task codes initially intended to access memory types in Category 1 by earlier Series 500 and Series 505 controllers Later controllers also use these task codes to access Category 2 and Category 3 word codes AAAA may be either 16 or 32 bits long e WWWW represents a word code used in task codes intended to access Loop and Analog Alarm Variables that are supported only in a batch machine e g T1575 TI 565 TI 555 and TI 545 The word code wwww may be either 16 or 32 bits long If the most significant bit
35. nter Current TCC Memory 1001 Reserved Drum Step Preset DSP Memory Drum Step Current DSC Memory OH Word Code Expansion with Expanded osa a mur omae A The encoding of the PAGE and OFFSET fields of the word address is dependent upon the value of the WORD CODE field Equations using the following operations are given below for each memory type e a DIV b integer divide of a by b e a MUL b integer multiply of a by b e a MOD b remainder of a DIV b 1 4 Task Code Parameter Descriptions 11575 Task Code V K Encoding G Encoding DCP Encoding WX WY DC C STW Encoding 11575 Task Code For V and K memory the PAGE OFF SET fields are determined by the following equations PAGE N 1 DIV 1024 OFFSET N 1 MOD 1024 Where N is the data element number e g 4073 in V4073 Given PAGE and OFFSET N is determined by N PAGE MUL 1024 14 0FFSET For G memory the data element number is determined by N Application 32768 Application Offset Application number for A 1 B 2 amp c 0 means current application Application Offset ranges from 1 to 32768 PAGE and OFFSET arethen determined as are V and K above For DCP memory the PAGE OFFSET fields are determined by the following equations PAGE N 1 DIV 30 OFFSET N 1 MOD 30 1 MUL 16 S 1 WhereN is thedrum number and S is the drum step number Given PAGE and OFFSET N is determined by N PAGE MUL 30 OFFSET DI
36. ompletes execution T1545 TI 555 T1575 111010 APET Analog Alarm Peak Elapsed Time Value Represents the elapsed time from when the process is scheduled until it completes execution T1545 T1555 T1575 111011 PPET SF PGM Peak Elapsed Time Value Represents the elapsed time from when the process is scheduled until it completes execution T1545 TI 555 T1575 nno Category 3 Word Category 3 word codes allow configuration of the TI 545 TI 555 and TI 575 Code Description Timeline Two of the spare category 1 word codes are used to provide expansion to Category 3 words The first word code used 1101 indicates an 11 bit data type identifier and a 16 bit offset while the second code 1011 indicates an 11 bit identifier and a 32 bit offset In both cases the first offset is O The 2 word format 11575 Task Code Task Code Parameter Descriptions 1 9 Word Area Address Descriptors continued and the 3 word code format f 1 0 1 1 Ww Ww Ww n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n The fields in the word code follow e f Integer Real Flag TheO in the MSB of the first word indicates integer The 1 in theMSB of thefirst word indicates floating point and thus restricts that variable to S memory only e WWW The 11 bit word code 3 digit hex number that specifies one of the following variables 000 FV Fixed Variable Scan Type selection T
37. on Manual PPX 575 8103 Task Codes are used to initiate modes of operation and to Read Write controller data This section defines the symbols used to represent the various fields of the task codes The definitions given in this section apply only when the task code description does not define the symbols used NOTE Symbols defined with the task code descriptions take precedence for that task code Thefollowing conventions are used throughout this manual r Theuse of upper case or lower case symbols is significant r brackets indicate optional parameters rr a series of periods means a repetition of zero or more times 11575 Task Code Preface vii 1 1 12 Chapter 1 Task Code Parameter Descriptions Word Area Address Descriptors cece 1 2 Word COdes s eiicto ta RD Cb e nep EE Hebr pace edd ates a pak 1 2 Category Word Code Description sssssssssssssess sn 1 3 iM sse bade vedo iria unidos bie edet id ath manos omaada make 1 5 GIENCOCINO i manar eaaa Much 1 5 DCP ENCOGING uuu rx ERU don nox eb end on as 1 5 WX WY DCC STW Encoding x1 2a Rete cl dc Ded e a 1 5 jue JA essem P IIIIMT 1 6 DSP DSC EriG OG 1rd green tune ted qr or eee uat ex e ea des e a 1 6 Category 2 Word Code Description 0 sene 1 7 Category 3 Word Code Description 0 enne 1 9 Category 4 VMEbus Word Code Description eee ees 1 11 Port Module and Board Address Descriptors lessen nn
38. ord Code Description 11575 Task Code Category 2 word codes are distinguished by bits 2 through 6 all set to 1 To access loop and analog alarm data use 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 f 1 1 1 1 1 w w w w n n n n n n Use the single word format to access types defined by word codes 0 E in bits 7 10 Use word code F in bits 7 10 to extend the addressing past 64 variables of a given type or to reach additional types The double word format is The fields in the category 2 word code follow and are shown in Table 1 3 through Table 1 5 e nn n is the variable number 1 is the first variable Table 1 3 f Variable Data Format p qme 0000 0001 LPV 0010 LSP Loop Setpoint 0011 LMN_ Loop Output 0100 LMX tepeBias e 0101 LERR Loop Error ETE 1000 LTI Loop Reset 1001 LVF Loop V flags 1011 APV Analog Alarm Process Variable 1100 ASP Analog Alarm Setpoint 1101 AVF Analog Alarm flags 1110 Reserved 1111 Expansion code see wwwwww Task Code Parameter Descriptions 1 7 Word Area Address Descriptors continued Table 1 5 wwwwww Extended Variable Type xxxx is the same as wwww above 010000 Reserved 010001 LPVL Loop Process Variable Low Limit Loop Sample Rate seconds 010110 ATS Analog Alarm Sample Rate seconds 010111 LHA Loop High Alarm Limit 011000 LLA Loop Low Alarm Limit omo tLA froto
39. ort user access A16 VME address modifier code 29 01 Short supervisory access A16 VME address modifier code 2D 02 2 Medium user data A24 VME address modifier code 39 03 2 Medium user program A24 VME address modifier code 3A 04 Medium supervisory data A24 VME address modifier code 3D 05 Medium supervisory program A24 VME address modifier code 3E offset oooooooo 32 bit offset into either A16 or A24 space cc Number of elements of size xx to be written xx Size of data element to be written 00 Byte operation 01 2 Word operation 02 Long word operation de Data element of size xx to be written Response 99 Examples 9900 00000120 0100 FF write 1 byte to A16 user space 9902 00002000 0500 FF FF FF FF FF write 5 bytes to A24 user data space using byte operations i e writing 1 byte at a time 2 20 Task Code Definitions 11575 Task Code TC9A Task code 9A provides a flexible mechanism to read from a VME address Read VME Memory Area Command 9A am offset ccxx Block Random Where am Access mode 00 Short user access A16 VME address modifier code 29 01 Short supervisory access A16 VME address modifier code 2D 02 2 Medium user data A24 VME address modifier code 39 03 Medium user program A24 VME address modifier code 3A 04 Medium supervisory data A24 VME address modifier code 3D 05 Medium supervisory program A24 VM E address modifier code 3E offset oooooooo 32 bit of
40. sc rete I O Status via Data Hement Type TC5A White Block 11575 Task Code Command 59 TT JJJJJJ NN nnnn II II Response 59 Where TT Data Element Type dentifier 06 Discrete Input Packed X Discrete Output Packed Y 08s Control Register Packed CR JJJJJJ 24 bit offset first data element is 0 NN Number of bits 1 208 short form 255 indicates extended count in nnnn nnnn Extended Number of bits Only included if NN 255 For use with line lengths greater than 72 characters Il Group of 8 discrete bits The starting bit identified by JJJJJJ isthe LSB of the first and increasing discrete addresses arein increasing bit position significance Pattern is repeated in each byte Command 5A wwww dddd dddd Response 5A Description Write block beginning at the address specified by wwww NOTE When writing loop or analog alarm data the data corresponding to undefined loops and analog alarms is ignored It must be present in the block as a placeholder Task Code Definitions 2 11 Task Code Definition continued TC 6B Command Read Discrete I O Response Status Using Data Eement Type Where TC71 Command Read Controller Response Time of Day Clock nnnn 6B TT JJJJJJ NN nnnn 6B II 11 71 Data Element Type Identifier See TC 59 24 bit offset first data element is 0 Number of bits 21 248 short form 255 indicates extended count in nnnn Exten
41. susce ee aaa px Rr UR one a Reda 2 7 1C 34 Execute POWOFL UD ia tse tenis tack ene a eae cr kon Rede do Polon edere x 2 7 TC 35 Execute Complete Warm Start 0 0 ccc ccc eect nn 2 8 TC 36 Execute Partial Hot Statt ue ru eee cete feet Led ee amined 2 8 TC 50 Read User Word Area Block ooccccccccccccccc e 2 9 TC 51 Write User Word Area Starting atAddress 0 cece 2 9 TC58 Set Controller Time of Day Clock 6 cbc em 2 10 TC 59 Write Discrete I O Status via Data Element Type Luuueuuuuuueeeeee 2 11 pes S nico P M 2 11 TC 6B Read Discrete I O Status Using Data Element Type Luuuueueueuee 2 12 1C 71 Read Controller Time of Day Clock ssssssseeeeeeen m 2 12 TC 7D Read SF Loop ProcessorMode ieee cece cece cece n 2 13 TC 7E Read Random isses ese ena ken daa Ce PE ROS CUR E d bacon 2 13 TE F Read Block 2a ai ue Rl o dC Rd C ACC de nats 2 14 TC88 Select Number of SF Module Task CodesPerScan uuuuuuuuuuueu 2 14 TC89 Read Number of SF Module Task CodesPerScan uuuuuueus 2 15 TC 8D Subcommand 00 Read I O Base Enable Disable Status uuuuee 2 15 TC8D Subcommand 01 Write Mask to Controller ssseeueeeesseeeeee 2 16 TC8D Subcommand 02 Read I O Base Configuration ssuuuuueueuee 2 16 TC93Assign Deassign Port 0 cece ccc mn 2 16 TC 93 Subcommand 00 Read Port Assignments 0 00 e eee
42. ts icio ir er Ee xn A A A OE PR E 3 8 Message Tum ATOUDO TING uiae iater rr epe o pe hebes ox ed ed da ed 3 8 Minimum Time Between Requests sssssssssssssssseee e 3 8 Application Note for Parity Checking NITP Message 00 cece cece eee eee 3 9 11575 Task Code Communication Protocols 3 1 3 1 Overview The Series 505 controllers support two serial communication protocols on the RS 232 and RS 422 communication ports e All Series 505 500 Non I ntelligent Terminal Protocol NITP e TI545 TI565 TI 575 Transparent Byte Protocol TBP Additionally the T1575 supports the nterboard Communication Protocol IBC Task codes are requested using any of the applicable protocols This chapter describes the operation of the NITP and the TBP protocols Refer to SIMATIC TI575 Interboard Communication M anual PPX 575 8103 for a description of thelBC protocol 3 2 Communication Protocols 11575 Task Code 3 2 Non Intelligent Terminal Protocol NITP NITP Format NITP Character Set 11575 Task Code NITP is a simple character oriented method of data link communications using standard 7 bit ASCII codes Both command and response messages consist of starting and ending delimiters a character count or message length field the body of the message and an error checking code field as shown in Figure 3 1 Character Message Figure 3 1 Command and Response Messages NITP uses the subset of standard ASCII codes see Ta

Download Pdf Manuals

image

Related Search

Related Contents

FRONIUS IG 300, FRONIUS IG 400, FRONIUS IG 500  Manual de Instrucciones    TABLET COMPUTER DR786 USER'S GUIDE  フロアコンセント  ADXL375 (Rev. B)  User Manual [English]  NETTOYANT DETARTRANT DESINFECTANT  

Copyright © All rights reserved.
Failed to retrieve file