You are on page 1of 80
ona 000m Comyn dapat rie LC cn 2) Q) conic were ViFION GP © Code © issues 11 Pulleguests © Actions Projects Securiy Le Insights @ Weltuna ric P mana « cote sine: EES son Prsranches Tags Diagnostic ookit fr Mitsubishi PLC based on SLMP @ conpiein Update README nian 282022 21 spe anu smc Shap be bocnages Daly Ute dyes ago CD Rene Be fort Daily Update. years ago & MIT license aghon Oniy Ure ayes 59 =o ° ay Stars. be Moin Diy upave 2y05 35° @ 2 watching Be Obestren Daily Update 2years ago per repesmory be eso aly Unt ayes 90 Ralenses be tne Oni Ure ayes 250 D itattributes Initial commit 2 years ago sues 1 sitanore tit commi 2yers 390 Packages © ucewse Ital conmit ayes 50 sea amicanineeat nan 90 ona 0s00m canna Sug tt 1 ReAOWEmd Update README ma [) Wetunasin Daly Upte Weltuna Diagnostic toolkit for Mitsubishi PLC based on SLMP Table of contents # License © Usage © 1Gaghary 1-1 Invoduetion 1» 1-2Data Structure and Socket Interface 1-2-1 MESSAGE FRAME_TYPE,T 1 1-2:2 MESSAGE. DATA_CODELT 1 1.24 DESTINATION ADDRESS_T 1-2-4 Socketinterface 1.2.5 SLMP_EXCEPTION,CODET 1-2-6 REMOTE_CONTROL_MODET 1-2-7 REMOTE_CLEAR MODE_T = rater 11-341 Constructors 1-3-2 Methods = 1-4uDP sea amicanineeat nan lastyear Languages canpaianins Sapo ea er ba PL 1-4-1 Constructors 14-2 Methods = 1-5 DevicedccessMaster 11-541 Constructors 1-52 Properties 1.523 Methods 1-6 RemoteOperationMaster 1-6-1 Constructors 1 1.6.2 Properties 1-6-3 Methods = 1-7 SLMPException 1-74 Constructors 91-72 Properties 91-73 Methods 1 Reference 1-8-1 Device Code for Local Device Access = 1-82 Bample © 2 Movein = 241 Invoduetion 2-2 Install Plug-in 2.3 Project Management = 2-1 New = 23-2 Open = 2.33 Swe. = 23-4 Swve As 2-4 Target Management = 241 Add 1 2-4-2 Remove rea amicanyineeat nan oan as0e0 canpaianins Sapo ea er ba PL = 2.43 Property = 24 Activate 2.5 Tool Management 2541 Add 1 25-2 Remove 1 2.53 Layout = 2-6 Operation = 2.61 Connect = 2.6-2 Disconnect © 3 Numeras| #341 Invoduetion = 3-2Enable 1 3-3 Device Control 1 3-4 Channel Control Pane! = 34-1 Monitor = 34.2 PID Auto Tuning 3-4-3 PID Constants License 180 Usage 1Gagharv 14 Introduction Gagharvs a Net 5 library which implements the SLMP client, written in C# language reais nan Ccanpenianis Sago dtr Ma PLC sae LN 1-2 Data Structure and Socket Interface 12.1 MESSAGE, FRAME.TYPE.T Namespace: AMEC.PCSoftware,CommunicationProtacol.CrazyHein SLMP. Message Specifies the frame type that the SLMP client adopts Enumeration values Value Mc Mc4e STATION_NUM_EXTENSION oxiesansezin easton Description The message forma i the same as the QnA-compatble 3E frame in MC protocol + Anumber 121 or higher cannot beset to the request destination station No ‘The message format isthe same as the Qrt-compatible 4 frame in MC protocol 4 frame isthe message format that extends 3€ frame and corresponds to the serial No, + Anumber 121 or higher cannot beset to the request destination station No. ‘The message format that extends 4& frame and corresponds to ‘only CC-Link IE TSN. + Anumber 121 or higher can be set to the request destination station No. + Adevice that isnot supported by the station number extension frame cannot send, receive, or relay the message using the station number extension frame, oan as0e Ccanpaianans Dap ea rt 112-2 MESSAGE DATA.CODE.T Namespace: AMEC PCSoftware.CommunicationProtacol.CrazyHein SLMP.Message ‘Specifies the communication data code that the SUMP cient adopts Enumeration values Value Description ASCII ASCII code BINARY Binary code Remarks ‘When using binary codes, the communication time will decrease since the amount of communication data is reduced by approximately half comparing to using ASCII codes. 12.5 DESTINATION, ADDRESS. Namespace: AMEC PCSoftware.CommunicationProtacol.CrazyHein SLMP. Message ‘Specifies the detailed address information corresponding tothe access destination public readonly steuct DESTINATION ADDRESS_T ‘ public readonly byte network ranbers public readonly byte station_ounbers public readonly ushort nodule to; public readonly byte muletdrop numbers aie anicanyineeat nan Ccanpeianis Dag dtr Ma PLC seen LN Fields Field network number station number module io oxieasaoseaineeatnaction Description Request destination network No (00H: Connected network (1H to EFH: Network No. The stations of network No.240 to 255 Request destination station No FFH: Connected station OH to 78H: Stat ‘TCH: Seta station No-121 or higher atthe aren of the request destination extension station No. of the station number extension No. frame ‘DH: Assigned control station/Master station ‘EH: Present contol station/Master station Specify the module ofthe access destination (O3FFH: CPU module - Own station (O3FFH: CPU modile - Control CPU (O3EOH: CPU module - Multiple system CPU No (OBEIH: CPU module - Muple system CPU No2 (O3E2H: CPU madule - Multiple system CPU No3 (OBE3H: CPU module - Multiple system CPU No (0000H to OIFFH: CPU macile - Multidrop connection station via a {CPU module in multidrop connection (0300H: CPU module - Contral system CPU (03DIH; CPU module - Standby system CPU Feld ‘multidrop number ‘extension_station number oxiiesaoseaineeatnation Ccanpaninanans Sago afr Ma PLC san LN Description ‘03D2H: CPU module - System A CPU (08D3H. CPL module - System 8 CPU (O3FFH: CC-Link I Feld Network remote head module - vn station (O3EOH: CC-Line Ie Feld Network remote head module - Module Noa (O3EIH: CC-Link If Field Network remote head module - Module Noa ‘0000 to OIFFH: CC-Link I Field Network remate head mode = Multcrop connection station va a CPU module in maltidrop connection!” (08DOH: CC-Link Ie Feld Network remote head module - Control system (03D1H; CC-Link If Field Network remote head module Standby system Request destination multidrop station No, (00H to TFH: Station No. af multidrop connection station ‘00H: The station that relays the multirop connection and network ‘00H: Station ather than the mulkidrop connection station Request destination extension station No. (only for station number ‘extension frame) ‘0000H: Speciy the station No. atthe area of the request destination station No. ‘0000H: Assigned control station/Master station (0001H to FFFEH: Station No. FFFFH: Own station oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN [1] When the CPU module in multidrop connection is relayed, specify the value in 4 digits {hexadecimal obtained by dividing the /O No, ofthe serial communication module of the mulideop. connection source by 16, Remarks Please refer to SLMP reference Manual for comprehensive explanation, 12-4 Sockatintrtace Namespace: AMEC.PCSoftware CommunicationProtocolCrazyHein SLMP JOU Represents a socket interface which s typically used to send and receive byte arrays public interface Socketinterface: IDispossble ‘ ant soncfoytet] butter, int offset, Ant size, SocketFlags socketFlags = SocketFlags. None) ant seceivebyte[] butter, int offaet, int size, Socketrlage sockettlags ~ Socketrlags.Nor string Nane(): > Remarks ‘The library build-in UDP class andl TCP class implement the interface. 12.5 SIMP EXCEPTION CODET Namespace: AMEC PCSoftware CommunicationProtocolCrazyHein SLM Represents the errr cade and ercar name af the exception, pubic enum SUMP_EXCEPTION_COOE_T: Urnts2 oxiiesaoseaineeatnation 90 Enumeration values Value NO_ERROR, RUNTIME_ERROR, INVALID_SUBHEADER, INVALID_DATA.CODE INVALID_FRAME.TYPE MESSAGE, FRAME, CORRUPTED INVALID_COMMAND_CODE ‘COMMAND _MESSAGE_CORRUPTED DDEVICE_ACCESS_OUT_OF_HEAD_RANGE INVALID_DEVICE_CODE INVALID_DEVICE INDIRECT, SPECIFICATION INVALID_DEVICE_EXTENSION, SPECIFICATION INVALID_DEVICE. EXTENSION, MODIFICATION INVALID_DEVICE_ MODIFICATION DDEVICE_REGISTER, DATA. CORRUPTED INVALID_DEVICE.REGISTER_DATA REMOTE STATION. DISCONNECTED INVALID_REMOTE_OPERATION oxieasaoseanoea-nation Ccanpenianis Sago dtr Ma PLC sae LN Code 00000000 nF FFE x09000001 ox00000002 ox00000003 ox00000004 ox09000010 x09000011 6x00000020 00000021 ox00000023 oxoo000024 oxoo000025 ox00000026 6x00000027 ox00000028 0x00000030 oxo0000040, Description eon as0e0 canpaninanas Dag adr Ma PLC seen LN Value Code Description INVALID_MODEL_CODE 00000041 RECEIVED_UNMATCHED,MESSAGE ‘oxo9000080 INSUFFICIENT. DATA ARRAY. BUFFER 0000000 INVALID_ASCIL CODE VALUE ‘0x09000081 12.6 REMOTE_CONTROL_MODE.T Namespace: AMEC.PCSoftware,CommunicationPretacol.CrazyHein SLMP.Command Specifies whether the remote operation can be executed forcibly by the device other than the ‘extemal device which performed the remote STOP/remote PAUSE. Ifthe forced execution isnot allowed, remote operation can be executed only by the external device which performed the remote sTOP/remote PAUSE. public enun AEMOTE_COVTROL_OOE_Trushort Enumeration values Value Description Forced execution not allowed. (Remote operation FORCED_EXECUTION.NOT_ALLOWED cannot be executed when other device is performing ‘the remote STOP/remate PAUSE) Forced execution allowed. (Remote operation can be FORCED_FXECUTION ALLOWED. executed even winen other device is performing the remote STOP/remote PAUSE) 12-7 REMOTE.CLEAR.MODE.T aie canicanineeat nan 86 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Namespace: AMEC.PCSofware.Communication?rotacol.CrazyHein SLMP.Command Specifies whether the clear (ritializaton) processing of device is executed or not when starting the ‘aleulation forthe remote RUN. The device which received the remote RUN request urns ta the RUN state ater the clea initialization) processing of device. When the device inital vale is set inthe parameters of the CPU module, the clear (iitialzation) processing of device i executed according to the setting, Enumeration values Value Description DO_NOT.CLEAR DEVICE Do not clear the device, CLEAR DEVICE EXCEPT_LATCHED Clear all devices except that in the latch range CLEAR ALL, DEVICE Clear all devices including that inthe latch range. 13 TeP Namespace: AMEC.PCSoftware,CommunicationProtocol CrazyHein SLMP.1OUity Implements the Socketinterface via TCP. clase TCP + Sockes poe eofoce 124 Constnctors ‘TCPAPEndPoint, IPEndPoint, nt32,Int32) ase amicanineeat nan ‘80 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Initializes a new instance ofthe TCP class using specific local endpoint, destination endpoint, send timeout and receive timeout pubiie TER(PEnePoint source, TPEndPoint destination, int sendTineout, int receiveTineost) Parameters source |PEndPoint ‘The loca IPEndPoint to associate with the TCP. the parameters null, the underlying service provider wil assign the local network address and port number when you call Connect method. destination IPCndPoint The IPEndPoin that represents the destination forte data. sendrineout Intd2 Specifies the amount of time in millseconds after which 3 synchronous Send cal wil time out receiveinsout Ini32 iseconds after which a synchronous Receive call wil ime out. Specitis the amount of time in mil Exceptions SLMPException 1-2 Methode ase amicanineeat nan +80 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN ‘Sends the specified number of bytes of data to a socket interface starting atthe specified offset and sing the specified Socketflsgs public nt Send(bytel) buffer, Snt offset, int size, SocketFlags socketFlags = Socketrlags.Nor Parameters butter Byte) {an array of type byte that contains the data to be sent. offset Intd2 ‘The position inthe data bulfer at which to begin sending data size In32 The number of bytes to send, socketFlags Sockettlags A bitwise combination ofthe Sockelflags valves. Retuins 32 ‘The numberof bytes sent Exceptions SLMPException Remarks ase amicanineeat nan 80 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN ‘The method will block uni the requested number of bytes are sent. IF the time-out value was exceeded, the method will throw a SLMPException, Receives the specified number of bytes from a bound sacket int the specified offset position of the receive butfer, using the specified SocketFlags public int neceive(oytel] buffer, int offset, int size, SocketFiags socketriags = SocketFiags Parameters batter Byte) [an array of type byte thats the storage location for received data, offset Inti ‘The location in buffer to store the received data, README me socketFlags Socketflags A bitwise combination ofthe Sacketflags values Returns ines2 ‘The numberof bytes received ase amicanineeat nan +00 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Exceptions SLMPException Remarks ‘The method will read as much data as is avaiable, up to the number of bytes specified by the size parameter. IF no data is available for reading, the method will block until data is available Ifthe time-out value was exceeded, the Receive call will throw a SLMPException 1-2-3 Name Returns the name of the socket interface pubiie stetng tone() Retuens String The name of the socket interface. The default value is TCP" 1-2-4 Connect Establishes a connection to a destination endpoint specified in Constructors public vot connectt) Exceptions SLMPException aie mica nan 680 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Remarks ‘The methad will lock and synchronously establishes a network connection between local and destination IPEndPoint specified in Constructors. 1-4. UDP Namespace: AMEC PCSoftware.CommunicationProtocol CrazyHein SLMP.IOUtlity Implements the Socketinterface via UDP. public class UOP + Soeketznterface LUDP{IPEndPoint,IPEndPoint,Int32,Int32,Int32) Initiaizes a new instance ofthe UDP class using specific local endpoint, destination endpoint, receive butfer size, send timeout and receve timeout. public UOP(PEnePeint source, TPEndPoint destination, int internalsutfersize, int sencTineout Parameters source IPEndPoint ‘The local IPEndPoint to associate withthe UDP. destination IPEndPoint ‘The IPEndoint that represents the destination forthe data, Snternalbuffersize Int32 aie amicanineeat nan ‘790 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN ‘An It 32 that contains the siz, n bytes, ofthe receive bute. sendrineout Int32 Species the amount of tne in miliseconds after which a synchronous Send call wl time out. receiveineout Int32 Specifies the amount of time in miliseconds afer which 3 synchronous Receive cal will ime out Exceptions SLMPException 142 Methods 142 send Sends the spectied number of bytes of data toa socket interface, stating a the specified offset, and ‘sing the spected Sockelae. pulse Ant Sene(byel) buffer, Sn offset, int sine, SocketFlags socketrags ~ SocktFlags.Ror Parameters butfer Byte] [an array of type byte that contains the data to be set. ftaet Int ‘The postion inthe data buffer at which to begin sending data ase amicanineeat nan +90 a, s030-0 Compaen Osprt ct r size 19832 ‘The number of bytes to send, rocketlage Socktlags bitwise combination ofthe SocketFags values. Returns tnes2 ‘The number of bytes sent. Exceptions SLMPE) Reads value from the bit devices (consecutive device No} in 1é-point units. Reads value from the word devices (consecutive device No} in one-word unis publse vote 2esckossioevicelnuore(ushort monitortngriner, string cevicecode, vint neasbevice, Parameters ronitoringtiner U6 ‘This timer sets the waiting time for the external device that received a request message to walt for the response after it issued a processing request tothe access destination, (000H (9): Unlimited wait (until the processing is completed) (0011 to FFFFH (1 to 655: ): Waiting time (Unit: 250ms) evicecode Siting Specify the type of the target device of reading, Refer to Device Code for Local Device Access for details headoevice Ulnt32 ase amicanineeat nan 200 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Speciy the head No, ofthe target device of reading evscepoints UInt16 Speciy the number of target device points of reading endgode Ulnt16 ‘The command processing result stored ‘When normally completed, 0 stored. When fale an error code ofthe access destination is store, Refer to SLMP-Compatible Device Manual {ata Spancuinti6> The storage location for data read from devices, Exceptions SLMPException ReadLocalDevicelnWord(Uintt6, Enumerable<(String, UInt32)>,lEnumerable<(String, UInt32)>, ‘out Ulnti6, Span , Span-) Specifies the device No, and reads the device value. This can be specified with incansecutive device No, Reads value from the word devices in one-word units or two-word units public vote RescLocal0eviceInkore(ushort monttorsngriner, Tenunerablec{string devicetode, vint headDevice)> worddevics sea amicanyineeat nan 200 esa as0e0 Ccanpeitanas Dag adr Ma PLC asa LN Terumerablecstring devicetode, vint headDevice)> éwordevis fut usnore enacode, Spancurhert> waredata, Spancaint> dors Parameters onitoringtiner Ulnt16 ‘This timer sets the waiting time for the extemal device that received a request message to wait for the response after it issued a processing request tothe access destination, (00H (Unlimited wat (uti the processing is completed) (0TH to FFFFH (1 to 65535): Waiting time (Unit 250m) wordbevice lEnumerable «(tring deviceCode, Unt headDevice)> ‘wordbevicelEnumerable<(ting deviceCode, Unt32 headDevice)> Specity the device to be readin order fom the word access to the double-word acess devseeCode Sing Specify the typeof the target device of reading. Refer to Device Code for Local Device Access for details headoeice Ulni32 Specity the head No.of the targt device of reading ndcode Unt The command processing results stored wordéata Span ase amicanineeat nan 2780 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN The st rage location for data of word access rea from devices. The parameter can be null if sordoevice is nul wordéata: Span ‘The storage lacaton for data af double-word access re from devices. The parameter can be nul if suordoeviee is null Exceptions SLMPException ReadLocalDevicelnWord(Uintt6, Enumerable<(String, Uint32, UInt16)>,*lEnumerable<(String, Uine32, Unt)», ** out UInt6, Memory- [], Memory-() Reads data by treating n points of word devices orbit devices (one points equivalent to 16 bits) as ‘one block and specifying multiple blocks, This can be specified with inconsecutve device No publse vote RescLocsi0eviceTokore(ushort nonttorSngTiner, Tenunerablec{string devicecode, int NeadDevice, ushort dev Tenaerablec(string deviceCode, uint NeadDevice, ushort dev fut ushort endcode, Menorycushor®>[] wordoatableck, Menoryc Parameters imonitoringtiner Ulnti6 This timer sets the waiting time for the extemal device that received a request message to wait for the response after it issued a processing request tothe access destination, (0000H (9) Unlimited wait ntl the processing is completed) (0001H to FFFFH (1 to 65535): Waiting time (Unit: 250m) ase amicanineeat nan 280 oan as0e Ccanpenianis Sago dtr Ma PLC sae LN 35 ordbeviceblock Enumerable«(String deviceCode, Unt32 headDevice, Unt6 deviePoi DisbeviceBtock IEnumerable<(Sting deviceCode, Unt32 headDevice, Unt16 devicePoints}> Specify the target device of racing, (evteetade String Specify the typeof the target device of reading. Refer to Device Code for Local Device Access for details headdevice Ulnt32 Specify the head No.of the target device of reading devicePoints: UIntt6 Specify the number of target device points of reading sordoatabtock Memory1) ‘Te storage locaton for data read from specified word device blocks. The parameter can be null if sordoeviceblock is nul bitoatastock Memory1) The storage location for data read from specified bit device blocks. The parameter can be nul if bitbevicettock is nul endeode Uintt6 The command processing testis stored Exceptions SLMPException ase amicanineeat nan 20 oan as0e0 ‘canine ag Mth PLC son LE 1.53.2 ReadLocaDevesnBit Reads value from the bit devices (consecutive device No) in point units public vote RescLocaloevicernsit{ushort wonttordngTiner, string devicetode, vint headDevice, Parameters rmonitoringtiner Ulnt16 This timer sets the waiting time for the extemal device that received a request message to wait for the response after it issued » processing eequest tothe access destination, (0000H (0) Unlimited wait until the processing is completed) (0001H to FFFFH (1 to 65535): Waiting time (Unit 250m) eviceCode String Specly the type of the target device of reading. Refer to Device Code for Local Device Access for etal headbevice Ulnt32 Speciy the head No. of the target device of reading eviceboints UInt16 pacity the number of target device points of reading, ndcade Ut The command processing esut is stored, ase amicanineeat nan sens oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN ‘When normally completed, 0 stored. When failed, an error code ofthe access destination s stored. Refer to SLMP-Compatible Device Manual data SpancByte> ‘The storage locaton for data read from devices Data is stored as the specified number of device points from the specified head device from the upper bit Cone bit device data occupies one byte. ON is expressed as O1H (1) and OFF i expressed as OOH (0. Exceptions SUMPException 1-5: RentModuleAccesDevicenWord ‘Overloads ReadModuleAccessDevicelnWord(UInt, string, Unt32, Ulnt6, out UInti, Span ) Reads value from the butfer memory of SLMP-Compatible devices or intligent function modules {consecutive device No} in one-word units. public vote Aeoatodulenecessbeviceinvord(ushort monitoringtiner, string extensionSepesticatior Parameters imonitoringtiner UInt6 ase amicanineeat nan 20 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN This timer sets the waiting time for the external device that received a request message to walt for the response after it issued a processing request tothe access destination, (00004 (0): Unlimited wait (until the processing is completed) (00TH to FFFFH (1 to 65535): Waiting tie (Unit 250m) “extensionsepcification String Speciy the start VO number in hexadecimal (upper 3- ‘The storage location fo data ead rom devices. Exceptions SLMPE ception ReadModuleAccessDevicelnWord(UInti, numerable~(string, Uint32)>,lEnumerable (String, Uine32)>, out UInt, SpanUIntl6>, Span) ase amicanineeat nan a0 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN ‘Specifies the device No. and reads the device value. This can be specified with inconsecutive device No. Reads value from the butfer memory of SLMP-Compatible devices or intligent function modiles in ‘one-word units or two-word units public votd ReadiodulenccessDevicelrMord(ushort ronitoringTiner, TEnumerablec(steing extensSonspeciflestion, uint heat Enunerablec(sting extensionspecsfiestion, int hese Parameters ionttoringtiner Uinti6 This timer sets the waiting time for the extemal device that received a request message to walt for the response after it issued a processing request tothe access destination (00H (0: United wat (unl he processing is completed) (0TH to FFFFH (1 to 65535) Waiting time (Unit 250m) wordoevice lEnumerable<(trng exensionSpeciction, UInt32 headDevice)> ‘woraoevice lénumerable (String extensionSpectication, Unt32 headDeviee)> Specity the device to be readin order fom the word access to the double-word acess ‘ntenstonsepet fication Sting Specify the start /0 number in hexadecimal {upper 3-aigit ASCII code) starting with headoevice Ulnta2 ase amicanineeat nan sao oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Speci the head No, ofthe large device of reading ndcode Unt The command processing result i stored words SpancUinti6> ‘The storage location for data of word access read from devices. The parameter can be null sordbevice is nul wordéata, Span Ulnt32> ‘The storage lacaton for data af double-word access re from devices. The parameter can be nul if ‘suordoeviee is null Exceptions SLMPException ReadModuleAccessDevicelnWord(UInti6, Inumerable<(Sting, UInt82, Vint)», out UInt6, Memory(0) Reads the buffer memory of SLMP-Compatibie devices or intelligent function modules by treating n points of word devices as one block and specifying multiple blocks. Ths ean be specified with inconsecutive device No public votd ReadiodulonccessOevicelriord(ushort ronttoringTiner, Tenunerabiec(string extensionspecitication, uint headbevice, ushor! ‘out usnort endcode, Merorycushor’>{] wordDataBlock) Parameters ondtoringtinee Unt oxinescoseayineeatnaction a0 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN This timer sets the waiting time for the external device that received a request message to walt for the response after it issued a processing request tothe access destination, (2000H (9): Unlimited wait (until the processing is completed) (0001H to FFFFH (1 to 65535): Waiting time (Unit: 250ms) wordevice IEnumerable<(String extensionSpecification, Ulnt22 headDevice, Ulnt16 devicePoints)> “sroreoevice lEnumerable<(Stvng extensionSpecifiation, Ulnt32 headDevice, UInt16 vicePoints))> Specly the device to be read in order from the word access tothe double-word access. extenstonsepetftcation Sting Specify the start /O number in hexadecimal (upper 3-alit ASCII cod) starting with" headoevice Ulnt32 Specify the head No.of the target device of reading, devieerotnts UIntt6 Specify the number of target device points of reading endcode Uintt6 The command processing result stored sondoatabtock Memory1] ‘The storage location for data read from specified word device blocks. Exceptions SLMPException oxen eee naction 200 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Overloads WriteLocalDevicelnWord(UInt6, String, Uint32, UIntI, out UInt16, ReadOnlySpan-) Writes value to the bit device (consecutive device No) in 16-peint units. Writes value to the word devices (consecutive device No} in one-word units Public vote WrcteLocslDeviceTaord(ushort aonitoringTLoge, string devicecode, uint neadDevice, Parameters ronitoringtiner Ulnt6 This timer sets the waiting time for the extemal device that received a request message to walt for the response a eritissued a processing request tothe access destination, (00004 (0): Unlimited wait until the processing is completed) (0001H to FFFFH (1 to 65535): Waiting time (Unit 250m) ‘eviceCade String Specify the typeof the target device of writing. Refer to Device Code for Local Device Access for details headoevice Ulnt22 Specify the head No, ofthe target device of writing devicevoints UInt16 ase amicanineeat nan sno oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Specify the numberof target device points of writing ‘endcode UlntT6 ‘The command processing result is stored ‘When normally completed, 0s stored. When faleg, an error cade ofthe access destination is store Refer to SLMP-Compatible Device Manual ‘ata ReadOnhSpan ‘The storage location contains the data to be written to devices. Exceptions SLMPException ‘WriteLocalDevicelnWord{UInt6, Iénumerable-(string, UInt22, Unt16)>, IEnumerable<(string, Uints2, Uint32)>, out UIntt6) Specifies the device No, to bit device in 16-point units and writes value, Ths ean be spectfed with inconsecutive device No Specifies the device No. to word device in one-word units oF two-word units and writes value. This can be spacifed with inconsecutive device No, public vote hnsteLocaloeviceIniors(ushort onttorsngriner, enonerablec(string deviescode, vint neseoevice, ushort va enumarablec(string deviceCode, uint neacoevice, uint valu: fut short enecode) Parameters ase amicanineeat nan 70 oan as0e Ccanpenianis Sago dtr Ma PLC sae LN iondtoringtiner Ulnt6 This time sets the waiting time for the external device that received a request message to wat for the response after it issued a processing request tothe access destination, (00H (0: United wait (unl he processing is completed) (0011 to FFFFH (1 to 65535): Waiting time (Unit 250ms) sordoevice lenumerable<(Sting devieCode, UInt32 heaeDevice, Int16value)> ‘wordpevice lenumerable (String deviceCode, LInt32 headDevice,Unt32vals)> Specify the device and data valve to be written in order from the word access to the double-word “eviceCade String Specify the typeof the target device of writing. Refer to Device Code for Local Device Access for details headbevice Ulnt32 Specify the head No.of the target device of wring value Untt6 value Una? Specify the data of device value endcode Uintt6 The command processing result i stored Exceptions ase amicanineeat nan 20 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN SLMPException WriteLocalDevicelnWord(UInt6, Irumerable-(Strng, Ulnt32, UInt6}>, IEnumerable<(Strng, Uine22, Untt6, ReadOnlyMemory)>, IEnumerable (String, Uint32, Unt, ReadOnlyMemory)> out Uint6) ‘rites data by treating n points of word devices orbit devices (one points equivalent to 16 bits) as ‘one black and specifying multiple blocks. This ean be specified with inconsecutve device No. public void tritelocelbevicetrword(ushort wondtoringTiner, enunerablec(string devicetode, vint headDevice, ashort devicePoints, ReadOnls enunarablec(string aevicetode, vint headevice, ushore devicePoints, Reacnlyen cout ummert enacode) Parameters oniteringtiner Unt This timer sets the waiting time forthe external device that received a request message to wat for the response after it issued a pracessing request tothe access destination, (8000H (9: Unlimited wait (until the processing is completed) (0001H to FFFFH (¥ to 68535): Waiting time (Unit 250m) vordoevicebtack [Enumerable<(String deviceCode, UInt32 headDevice, UIntt6 devicePoints, ReadOnlyMemory data))> bitoevicestock_IEnumerable<(Strng deviceCode, UInt32 headDevice, Unt 16 devicePoints, ReadOnlyMemory data))> Specify the target device of writing evicecode Siting rea amicaninaeat nan a0 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Specly the typeof the target device of writing. Refer to Device Code for Local Device Access for details, headbevice Ulnt22 Speci the head No, ofthe target device of wring evicenoints UInti6 Specify the number of target device points of writing Jats, ReadOnlyMemory ‘The storage lacation contains the data to be written to specified word device blocks orbit device blocks. endgode Ulnt16 ‘he command processing result stored Exceptions SLMPException 1-5-5 WeteLocabevint Overloads WriteLocalDevicelnBit(Ulntt, string, Unt32, UlntI, out Ulntt6, ReadOnlySpan-) ‘Writes value tothe bit devices (consecutive device No) in 1-point units short nonttoringTiner, string devieecode, int headbevice, public votd writeLocalbeviceTn oxinesaosezyin easton oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Parameters ronitoringtiner Ulnti6 This timer sets the waiting time for the extemal device that received a request message to wait for the response after it ised a pracessing request tothe access destination, (0000H (0): Unlimited wait (until the processing is completed) (0001H to FFFFH (1 to 65535): Waiting time (Unit-250m5) devicecode String Specly the typeof the target device of writing. Refer to Device Code for Local Device Access for details, headdevice Ulne22 Specity the head No. ofthe target device of wring evicanoints UInt16 Speciy the numberof target device points of writing endeode Unt ‘he command processing result stored When normally completed, 0s stored. When failed, an eror code ofthe access destination is store. Refer to SLMP-Compatible Device Manual data ReadOnhSpan The storage location contains the data tobe writen to bit devices. ase amicanineeat nan 90 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Data should be stored asthe specified number of device points from the specified head device from the upper bit Cone bit device data occupies one byte, ON is express at O1H (1) and OFF is expressed as OOH (0) Exceptions SLMPException \WriteLocalDevicelnBit{Uint6, IEnumerable- (String, Unt32, Byte)», out Uint6) Specifies the device No, to bit device in I-point units and writes value. This can be specified with inconsecutive device No sLocalbevicelnsse(ashort monttorsngriner, Terumerablec(string deviceCade, uint neadDevice, byte value fut nore enacode) Parameters rondtoringtiner Ulnt6 This time sets the waiting time for the external device that received a request message to wat for the response after it issued a processing request tothe access destination, (00H (0: United wat (unl he processing is completed) (00011 to FFFFH (1 to 65535): Waiting time (Unit 250ms) bitbevice numerable<(Sting deviceCode, Ulnt32 headDevice,8yte value)> Speci the device and data vale to be writen devscekode Sting ase amicanineeat nan m0 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Device Code for Local Device Access for Specify the typeof the target device of writing. Refer te details headdevice Ulnt32 Specify the head No.of the target device of wring. vatue Byte Specify the data of device value One bit device data occupies one byte. ON is expressed as O1H (1) and OFF is expressed 35 00H 0) Exceptions endcode UIntt6 ‘The command processing result i stored, Exceptions SLMPE) \writes value to the buffer memory of SLMP-Compatible devices or inteligent function mediles (consecutive device No} in one-word unis ase amicanineeat nan a0 oan as0e Ccanpanianans Sago adr Ma PLC san LN public vote WnsteHaculenccessbevicetriord(ushart monstordngTiner, string extenstonsepct cath Parameters monitoringtiner Ulnti6 This timer sets the waiting time for the extemal device that received a request message to wait for the response after it issued 9 processing request tothe access destination, (00H (Unlimited wat (util he processing is completed) (00TH to FFFFH (1 to 65535): Waiting time (Unt 250m) ‘extenstonsepelfication String Speciy the start /0 number in hexadecimal (upper 3- ase amicanineeat nan 0 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN ‘The storage location contains the data tobe written to devices. Exceptions SLMPException WriteModuleAccessDevicelnWord(UIntl6, lEnumerable (String, Uint32, UIntI6)> , IEnumerable<(String, Uint32, Ulnt32)>, out Ulntt6) incansecutive device specifies the device No, and writes the device value. This can be specified No. ‘rites value to che butter memory of SLMP-Compatibie devices or intligent function modules in ‘one-ward units or two-word Units public vold lritehadulenccessbevicetriord(ushort monitoring iner, erareraolec(string extenssorspecstication, uint headbevt Lerurersolec(string extenstorspecsfication, wine headbevice, vint va out ashore enscode) Parameters onitoringtiner Unt This timer sets the waiting time forthe external device that received a request message to wat for the response after it issued a pracessing request tothe access destination, (000H (9: Unlimited wait (until the processing is completed) (0001H to FEFFH (¥ to 65535): Waiting time (Unit 250m) sordbevice IEnumerable<(String extensionSpecifiation, Ulnt32 headDevice, Ulnt16value)> riba anicanineeat nan 00 oan 0300 Ccanpenianis Sago dtr Ma PLC sae LN “roneoevice lEnumerable<{string extensionSpecification, UInt22 headDevice, Unt32 value)> Specify the device and data valve to be written in order from the word access to the double-word ‘exterstonspecification String Specify the start /O number in hexadecimal (upper 3-cigit ASCII code) starting with‘! headoevice Ulyi32 Specify the head No, ofthe target device of wring value Uintt6 value Unt32 Speciy the data of device value endeode Uinti6 ‘The command processing results stored Exceptions SUMPException \WriteModuleAccessDevicelnWord(UInt6, IEnumerable- (String, Unt32, UInt, ReadOnlyMemory)>, out Uint16) ‘rites the buffer memory of SLMP-Compatible devices or inteligent function modules by treating n points of word devices as ene block and specifying multiple blocks. Ths can be specified with inconsecutive device No public vote he Ltehodulenccessoevicerrord(ushort manttoringTiner, sea amicanyineeat nan 0 esa as0e0 Ccanpaninanas Sago adr Ma PLC nae LN enunerablec(string extenstonspecification, vint teadbevice, ushort devicePoints, Reacnlyten Parameters ronttoringtiner Ulnt6 ‘This timer sets the waiting time for the extemal device that received a request message to wait for the response after it sued a processing request tothe access destination, (000H (0): Unlimited wait (until the processing is completed) (0001H to FEFFH (1 to 65535): Waiting time (Unit: 250m) sordoeviceblack [Enumerable<(Stting extensionSpecification, Uint82 headDevice, Uti devicePoints, ReadOnlyMemary data))> Specify the target device of witng. ‘ntenstonspecification Sting Speciythe start VO number in hexadecimal (upper 3-digit ASCII code) starting with headdevice Ulnts2 Specily the head No. ofthe target device of wring evicaoints Ulnt16 Speciy the numberof target device points of witng (ata, ReadOnhMemory ‘he storage location contains the data to be writen to specified word device blacks. enacode Unt ase amicanineeat nan 790 Ccanpenianis Sago dtr Ma PLC sae LN ‘The command processing result i stored, Exceptions SLMPException 1-6 RemoteOperstionMaster Namespace: AMEC PCSoftware.CommunicationProtacol CrazyHein SLMP. Master Implements the Remote Operation client of SLMP, pubiie class Renoteoperationtaster Supported remote operation commands Operation Remote Run Remote Stop Remote Pause Remote Latch Clear Remote Reset ‘command Code oxtoat oxt002 oxt003 oxtoos oxio0s oxic eee nation Description This command executes the remote RUN to the access destination module This command executes the remote STOP tothe access destination module ‘This command executes the remote PAUSE to the access destination module ‘This command executes the remote latch clea to the access destination module This command executes the remote RESET to the access destination module. Remote RESET is used ta restore when an ‘error occurred in the module, eon as0e0 Ccanpaninanans Sago afr Ma PLC san LN Command Operation me Description Read Type ‘This command reads the model name and model code ofthe Name moron access destination module +61 Constructors RemoteOperationMaster(MESSAGE_FRAME,TYPE_T, MESSAGE_DATA_CODE.T, Boolean, Socketinterface, ref DESTINATION ADDRESS J, Int82, Int32, Object) Initializes a new instance ofthe RemoteOperation Master class, cteoperationtaster(RESSAGE_FRAME_TYPET franeType, MESSAGEDATA.COD_T eatatode, bot Parameters franetype MESSAGE FRAME_TYPET Specifies the frame type thatthe DeviceAccessMaster adopts Jatacade MESSAGE, DATA.CODE.T Species the communication data code thatthe DeviceAccessMaster adopts Jdadicationt Boolean Specifies whether to active R dedicated message format or nat ‘rue :R dedicated message format ‘2186 Q/L compatible message format. se Socketinterface oxiesaoseazneea nation oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Specifies the communication interface that the DeviceAccessMaster associates with. “destination DESTINATION ADDRESS. Species the remote controle station sendbfersize Ini32 ‘An Int32 that contains the siz, n bytes, ofthe send bute. recoivenutforsize In ‘An Int32that contains the sie, n bytes, ofthe receive buffer. syne Object ‘This objec is used asa mutex variable that prevents data corruption by simultaneous device access. IFthis parameter is null the constructor will create a new instance fo you. Exceptions SiPEception 14.2 Properties 1e21c0M Seta socket interface thatthe RemoteOperationMaster associates with, abide Socketinterface COM {sets} Property Value Socketinterface ase amicanineeat nan sono oan as0e Ccanpenianis Sago dtr Ma PLC sae LN 16.3 Methods 163-1 Run Executes the remote RUN to the access destination module, ubise vote un(ushort manttoringTiner, REMOTE CONTROL_MOOE_T controlMode, REMOTE CLEAR MODE.’ Parameters ionttoringtiner Ut6 This timer sets the waiting time for the external device that received a request message to walt for the response after it issued a processing request tothe access destination (0000H (0): Unlimited wait (until the processing is completed) (0001H to FFFFH (¥ to 65535): Waiting time (Unit: 250m) controltode REMOTE_CONTROL_MODE.T ‘Specty whether the remote RUN can be executed forcibly by the device other than the extemal device which performed the remote STOP/remote PAUSE Ifthe forced execution isnot allowed, remote RUN can be executed only by the external device hich performed the remote STOP/remote PAUSE. Forced execution is used when the extemal device whic performed the remote operation cannot ‘execute the remote RUN because of 2 trouble on the device. clesrtode REMOTE CLEAR MODE.T Specify whether the clear initialization) processing of device i executed or not when starting the Wort nly apply to R dedicated ‘message format w Wort only apply to R dedicated message format The following code example demonstrates how to create a DevicenccessMaster instance and how to ead devices with it var destination ~ DESTINATION ADDRESS_T.COMECTED_ OW STATION); /Vet the access aadress of © ‘short end = ‘ var se = neu UOP(rew IPEndPotne(IPaddress.Any, $836), //bind £0 Toe31 WP pore S630 row IPEndPoin(2PAddress.Porse(*382.168.2.258"), $810), //ronote sestins| 200,208); var devicekccesshuster = now Devicenccesstester(HESSAGE_FRAME_IYPL_T.NC2E, sea amicanyineeat nan false, //0/L-Conpatibie message format ref destination, 4096, 4096); Ccanpanianans Sago dtr Ma PLC san LN {13a value fron the bit devices (consecutive device No.) Sn 1-potnt units bytel] bitourter = new byte[et]s evicenccesstaster jeadiocaldeviceinsit(t, "H", 325 64, out end, bitbufferd; //Mead M {1head valve fron the bit devices (consecutive device No.) Sn 26-point units venort{] wordbatfer = new ushort[#)s deviconecessmaster.Reaslscaioevicelowors(1, "M", 32, &, out end, worabuffer); //Road M2 {183d valve fron the word devices (consecutive device No.) in one-word units doviconccassmasterfeadlocalbevicetrMord(l, "0", 32, &, out end, wordbutfer); //Road O[32 ee este eel teeter ferent eter ated unite(inconsecutive devi var wonedevices = few YalueTuplecstring, vint>(] (C2 360), "180, m, 16)}5 var dhorddevices = new ValueTuplecstring, uint>{] {(", 200), Co", 202), nr, 200), or, 3a) nt(] ouordbutter = new vine ‘imesd of}, vfser], [480-115], Wf336-132], pf2ee-z01}, [262-203], [200-281], W232i devicedccessmaster asl ocalbevicelrword(1, worddevices, derddevices, out end, wordbuffe! ‘1head cata by treating 9 points of wore devices or bit devices (one point is equivalent 1 var worddeviceblocks « ew ValueTuplecstring, wint, ushorts[] ((°0", 32, 2), Ow, 48, 25 var bitbdevicelocks = nou ValueTuplecstring, ulnt, ushorts[] (CH, 16, 2), 8", 32, 2): var wordoufferbdocks = ew Menorycushorts(2] { new ushort(2], new ushort(2) 24 var bitbutferblocks ~ new Renorycushorts[2] ( neu ushort{2], new ushort(2] Js ‘ymasd (2-22) w[30-34) M26-47) 629-3") devicenccessmastereaslocaldevicelrword(1, wordéeviceblocks, bitbdevicelocks, oUt end, wt ‘1mead value fron the betfer nenory of LntelLigent function sodules (consecutive device Ne devicenccessmaster ReadtodulenccessbeviceImord(2, "UBOR", 8, 4, oXt end, werdbutfer); // sea canicananeeat nan ‘0 esa as0e0 Ccanpanianans Sago dtr Ma PLC san LN {1/30 one-wors anses or swo-vord unies(incansecitave device No). ‘var woncbuffernanorys ~ new ValusTuplecstring, wint>TT (("us var dhordouffernenorys = neu ValueTuplecstring, uint>[] (("U880" [7hesa c2000\e2, 0200062, LeeEE\eI2-22, UOBBD\GE2-23 dovicenccarstastereastioiyletscessbeviceiniord(3, wondbuffersenarys, duordbufternenorys, 2), Cee", 2095 38), ("¥888", 12935 var butfernenoryblocks = new ValueTuplecstring, uint, ushorto{] {("ueee", [1hesa v20eo\ea-3, y0088\G26-17 dovicenecorstasterjoasioduokccessbeviceiniord(2, butfermenoryblocks, out end, wordbutfer 2), (0900 ? Catch(StNPenception €) ‘ Console sce note. Tosersne()9s > ‘The following code example demonstrates how to create a DeviceAccassMaster instance ang how to write devices with it var destination = DESTINATION ADDRESS_T.CONVECTED_ChNSTATION();//est the access address of short end = ‘ var se = neu UOP(rew IPEnPotne(sPAddress.Any, $836), //bind £0 Toea1 WP pore Sexe row IPEndPoine(2PAddress.Parse("382.168.2.258"), S@18), //ronote aestins| false, //0/t-Conpat ref destination, 4096, 4096); sea amicanyineeat nan 80 Ccanpanianans Sago dtr Ma PLC san LN bytel] bitbuffer = new bytelet]s evicenccesstaster WriteLocalbevicelnsit(t, “h", 32, 64, out end, bitouffer); //hrite [firsts value to the word devices in 1-point mitstinconses var bitéevices = new valueTuplecstring, vints tyte>t] (C ve device Wo.) 8 De (OH, 189, 9), (one, 200, 2), Con", 300, 035 doviconccesstaster britelocalbeviceinbit(l, bitdevices, out end); //hrite M8] Hlse@] MX ‘purse value to the bit devices (consecutive device No.) in 16-point units Ushort{] worebutfer = neu ushore {#15 devicenccessHasterieiteLocalDevicel*wordC 1 32, &, out end, wordbutfer); arses {1weste value to the word devices (consecutive device No.) Sn ane-nord units devicedccessmasterriteLocalDevicerrWord(2, "O°, 32, 4, out end, wordbuffer)s //urite O {fire value to the word devices in one-vrd units or two-word units(inconsecutive devi var worddevices = new ValueTuplecstring, int, ushort>[] {(°0", 208, 108), (Cor, 201, 209), Cw", 200, 3009, (Hr, 336, 4009}: 208, 1000600), 202, 2006006), 200, 30002), 232, 400eeee)}; now ValueTuplecsteing, unt, uint>[] (C lnt(] ouordbuster = new vine Zpweste {200}, 0[363], (200-135), M[s16-231], 0[209-201, 0(262-203], 200-252), W232 evicenccessmaster sieLocolDevicetrmord(2, worddevices, duorddevices, ut end); Hand specifying multiple blocks - var wordoufferblocks = na Menorycushorts(2] { new vshort(2], new ushort(2} 24 var bitbutferblocks ~ new Menorycushorts(2] { now vshort{2], new ushort[2] )3 ar wonddeviceslocks « ew ValueTuplecstring, uint, ushort, ReadOniytencrycashart>>{) (Ct a sea amicanyineeat nan 00 esa as0e0 Ccanpanianis Sago dtr Ma PLC seen LN var bithdevicelocks = rew valueTuplecstring, vint, ushort, Readoniyrenorycustort>>(] (CM ce owes 092-38) [30-31] M2647] 9[20-34] doviconccesstasterhritelocalbeviceinword(i, wordéeviceblocks, bitbdevicelocks, out end); {/ueste value fron the buffer nenory of intelligent function nodules (consecutive device deviconecerstasterinitodulekccosabevicernacrdt3, "UO", 8 4, out end, wordoutter); 1139 one-word units or ‘wo-tord untes(incansecutive device No.) var wordouffernenorys = new ValueTuplecstring, uint, ushorto{] ¢ ("weee", 1, 169), ("uee! var dwordouffernenorys = new Valuetuplecstring, uint, uinto[] { ("u@ee", 18, 1880002), (% ‘Hhacite veeve\ei, v290e\62, veeeE\ci8-s1, veewe\or2-13 devicedccessMasteriitoduetccessbevicernaord(s, wanduffernanorys, shordbuffernenarys, Ipecste the buffer nenory of Intelligent function aodules by cresting m points of word det var buffernenoryblecks = new ValueTuplecstring, uint, ushort, ReagonlyMenorycusnort>>[] { (Cubee", @, 2, wordbutfersiocks{01), (CuB0e", 36, 2, worabutfersiocks[2]} 3: {1 iwekve vaebo\ce-s, vasee\eie-17 devicedecessMasterliitotoduekccessbevicelnaord(a, buffernesorybloeks, out end); » ‘ateh(Stnexception «) ‘ console.secteLine(e. Testrsng())s > 1.8.2.2 Remote Operation ‘The folowing code example demonstrates how to create a RemoteOperstionMaster instance and hhow to execute remote operation with it ase amicanineeat nan 00 oan as0e Ccanpanianans Sago adr Ma PLC san LN ‘var destination ~ DESTINATION ADDRESS_T.COMVECTED_ OWL STATIONG wy ‘ var se = new UOP(rew ZPEndPotnt(ZPAddress.Any, $830), //bind to local WOP port $030 new IPEndPoint(GPAddress.Parse(*292.168.2.258"), $@18),_//newote cestinat 200, 229); var renoteoperationtaster = new Renotedperationtaster(MESSAGE_FRANE_TYPE_T-MC_36, false, //9/t-Conpatible message fort ret destination, 1096, 4096); renotedperattontaster.on(2, REMOTE_CONTROL_YOOE_T. FORCED_ELECLTION ALLOK, REMOTE_CLEAR_POOE_T.00_NOT_CLEAG_DFVICE, ut end) renoteoperationtaster. sso, out end); renoteoperationtaster.Puse(2, REMOTE,CONTROL_PODE_T.FORCED_EXECUTION ALLOKED, out end); [henote ten Clear renotegperationtaster.\stchclesr(3, ovt ends renateoperationtaster.fesot(2, out end): 11234 Type Name string modeane; snort mode2Code = 03 renatedperationkaster.feadTypehare(1, out end, out madetNane, out modelCade); > Catch(stnenception «) ‘ Consote.secte ne(e. Tostesng())s ? ase amicanineeat nan 780 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN 2 Mevein 2-1 Introduction ‘Mevein sa container of SLMP based diagnostic tool for Mitsubishi PLC. Figure 2.1 Mevein Main Window You can manage the connection targets in “Target” sheet, please refer to 2-4 Target Management for details You can manage the avalable tools “Navigation” sheet, please refer to 2-5 Tool Management for details ‘The caption of main window shows the path of the current projec ‘The properties of current state, which are always shown in the status bar of main window, from left to Fight ate "Project dy flag’, “Online/Otflne flag”, "Communication loop time indicator’ “Data ‘exchanging indicator, “Program state, "Detal exception information 2-2 Install Plug-in To install a new plug-in (toa, please copy the whole folder ofthe plug-in to the folder “toolkit ‘exists the same directory as Mevein.exe before you launch too. ‘The compatible plug-ins (tool) will be shown in "Navigation" sheet, please refer to 2-5 Tool Management for detail 2-3 Project Management You can create a new project by a menuitem of shortcut key, ase amicanineeat nan 90 eon as0e Ccanpenianis Sago dtr Ma PLC sae LN Project => New cite 23:2 Open You can open an existing project fle by a menu item or shortcut key Project -> Open You can save the project you are working on by 8 menu item or shorteut key. Project-> Save cles 254 sae hs You can save the project you are working on as another separate file by a menuitem or shorteut key. Project-> Save As teleshites 2-4 Target Management aie anicanyneeat neon 80 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Figure 24 Target Management aad You can ad new connection target by a menu item of shortcut key. Target > Ada tele shiteea ‘A connection propery calog will show: Figure 24.1 Target Property Please refer to °SLMP Reference Manual for the detail information ofthe target property Please click the "OK" button to ade the target tothe available targets list Please click the "Communication Test’ button to conduct a communication test withthe current settings: Notes * You can not conduct the communication test or add new connection target if the console isin Online tate; + You can not have two targets withthe same name, please specity another name for your target if a target with same name has already been in existence; 2-4-2 Remove ase amicanineeat nan 780 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN You can remove the specifed connection target by a menu item of shortcut key Target -> Remove teteshitter Notes + You can not remove the activated connection target i the console isin Online State; 2-4-5 Property You can review or revise the property ofthe specified connection target by a menu item of shortcut ey. Target > Property teteshitter Notes: + You can not conduct the communication test or revise the property ofthe specified connection “arget i the console isn Online State: 2ab Actas You can activate the specified connection target by a menuitem of shortcut key. Target > Activate celeshitteE rae amicaryineeat nan oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Notes + You can not activate the specified connection target ifthe console isin Online State: + You must actvate one connection target before going online: 2.5 Tool Management ase amicanineeat nan 70 oan as0e canpeninana Dag dtr Ma PLC sae LN Q64TCAutoTuning vaio \ an ERRNO @ DeviceNetMasterutility -acr0 ‘viet Master norman an Davee Matesine SiSgnami ae! amponanie ws AVION mater an UTTONSI acter) a SoftDeviceMonitor 2010 =n ase amicanineeat nan 780 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN Figure 25 Tool Navigation All compatible plug-ins(tools) are shown here You can also review the plug-in name, version and detal description here. 2 Ande lick the plus icon to instantiate the corresponding tool. You can instantiate the same tool multiple times 2-5-2 Remove Yu can remove the tool by losing the corresponding tab. Notes 1 The layout of tool tabs will be saved to the project fle 2-6 Operation 2 A connect You can cannect tothe activated connection target by a menu item of shortcut key. Online > Connect tele shitere Notes ase amicanineeat nan 70 oan as0e0 Ccanpenianis Sago dtr Ma PLC sae LN + You must actvate one connection target before going online; 2-62 Disconnect You can disconnect from the activated connection target by a menuitem of shorteut key Online -> Disconnect CteleshitteD 3 Numeros 3-1 Introduction ‘Numeros (Q64TCAuto Tuning) isan auto-tuning uty for Q6ATCTTN, QB4TCTTBWN, QGETCRTN and Q6eTcRTBWN, 3-2 Enable Figure 32 Enable Numeros You should input the correct module(Q6¢TCTTN, QG¢TCTTBWN, QGATCRTN Q64TCRTBWN) adress and click the “Enable” button to enable the tool. The module adress must be start with "U* and follow by three hexadecimal digits 43-3 Device Control ase amicanineeat nan 700 eon as0e0 Ccanpeianans Sago dtr Ma PLC san LN Figure 33 Device Control Field Content \Write data errr code or alarm cose, The error code is always given priority FrrorCode ver the alam code, Error Cause Detail information about the “Errar Code’ Operation wae ‘The curtent device operation mode(SETTING MODE/OPERATION MODE}, ‘lick the "lear Error button to clear “Error Code’ Click the “SETTING MODE" button to set the device to SETTING. MODE, Click the “OPERAITION MODE” button to set the device to OPERATION, MODE ‘lick the "CH" button to switch the contr panel to corresponding channel 3-4 Channel Control Panel 5:1 Monitor ase amicanineeat nan 7680 eon as0e Ccanpeianin Sago dtr Ma PLC nae LN Figure 3.4.1 Channel Monitor Click “Auto Mode" button to set the channel to automatic mode and dick "Manual Mode" button to set the channel to manual mode, 344-2 PID Auto Tuning Figure 34.2 Channel Auto Tuning Field Content Set Value Setting Set the target temperature value of PID contol [AT Bias Setting The point set as the set value (SV) inthe auto tuning can be rearanged by this value. The auto tuning is performed with having the AT point (the point rearranged by the setting) as its center. When the auto tuning is aie imicanyneeat nan 780 Feld AT Loop Disconnection Detection Flag AT Loop Disconnection Detection Setting AT Mode Selection Ccanpaninanans Sago afr Ma PLC san LN Content ‘completed, AT bias is not added and o controls performed toward the set value (Sv. This function detects loop aisconnections during auto tuning (AT. With this function, a channel that is not controlled can be detected during auto ‘tuning, thus the error channels detected more than two hours before the auto tuning error occurs. The auta tuning continues even ifn alert is ‘output for the loop disconnection detection Using this function detects an errr occurring within a control system (contro! loop) due to reasons such asa load (heater) disconnection, an ‘extemaly-operable device such as a magnetic relay failure, and input disconnection Select the auto tuning made from the following two modes according to the controlled object to be used Standard mode: The standard mode is appropriate for most controlled ‘objects. This mode is especially suitable for controlled objects that have an ‘extremely slow response speed or can be affected by nose or disturvance, However PID constants of slow response (low gain) may be calculated from ‘controlled objects whose ON time of OFF time in the auto tuning is only around 105 In this ease, PID constants of fast response can be calculated by selecting the high response made and performing the auto tuning ‘High response mode: This mode i suitable for controlled objects whose (ON time or OFF time in the auto tuning is enly around 10s. PID constants ‘of fast response (high gain can be calculated, However, the temperature process value (PV) may osclates near the set value (SV) because ofthe too high gain of the PID constants calculate, In ths case, select the normal mode and perform the auto tuning, ase amicanineeat nan 780 eon as0e0 Ccanpaninanans Sago afr Ma PLC san LN Fela Content Backup of the By enable the field atthe start of auto tuning, the calculated value is Calculated Value automatically backed up into E2PROM on completion of auto tuning AT Status Indicate the auto tuning status, {lick "ON" button to request the channel to do PID auto tuning. Ifthe PID auto tuning is complete normally or any error occurred while doing tuning, please cick “OFF” button ta withdraw the request: Note: + You can post the auto tuning request ony ifthe device operation mode is “OPERATION MODE" and the channel operation mode is “Auto Mode” 5:4.5 PID Constants Figure 343 Channel PID Constants Field Content Set proportional band (P/heating proportional band (Ph)/cooling proportional band (Pe) Ph to perform PID contro. Heating proportional band (Ph) setting: 0 to 10000 0.0% to 1000.0%) ase amicanineeat nan 780 fiona as0e Ccanpaninanan Sago dtr Ma PLC san LN Feld Content ‘Set proportional band (P/heating proportional band (Phi/cooling proportional band (Pc) Pe to perform PID contro. Cooling proportional band (Pc) setting: 1 to 10000 (0.1% to 1000.0%) Set integral time () to perform PID contr. The setting range is Oto 3600 (0 to 36008), Set derivative time (0) to perform PID contra P The setting range is 0 to 3600 (0 to 3600), ors such as disconnection of resistors, malfunction of an external controle, and cerors ofthe control system due to troubles such as disconnection ofthe sensor can be up &etected by the loop disconnection detection function. Iftempeature does ot change by °C () or more in the Loop disconnection detection judgment time, a loop cisconnection is detected The setting range is 0 to 7200 (5) ‘lick “Backup PID Constants” button to save the PID constants af all channels into E2PROM at once, sea amicanineeat nan 80

You might also like