background image

Table of Contents 

5.3.3

 

SEND Instruction (When MEWTOCOL-COM is Used)...........................5-8

 

6.

General-Purpose Communication ..................................... 6-1

6.1

 

Operation of General-Purpose Communication ..................................... 6-2

 

6.1.1

 

Read Data from an External Device........................................................6-2

 

6.1.2

 

Write Data into an External Device .........................................................6-2

 

6.2

 

Sending Operation ................................................................................. 6-3

 

6.2.1

 

Overview of Sending Operation ..............................................................6-3

 

6.2.2

 

Contents of Sent Data .............................................................................6-5

 

6.2.3

 

GPSEND (General-Purpose Communication Sending Instruction) ........6-6

 

6.2.4

 

Precautions on Sending Data .................................................................6-7

 

6.3

 

Receiving Operation............................................................................... 6-8

 

6.3.1

 

Overview of Receiving Operation............................................................6-8

 

6.3.2

 

Contents of Received Data ...................................................................6-10

 

6.3.3

 

Precautions on Receiving Data.............................................................6-10

 

6.3.4

 

Operations of the "Reception done copy" flag and multiplex reception 6-11

 

6.3.5

 

GPRECV (General-Purpose Communication Receiving Instruction) ...6-12

 

6.4

 

Sending/Receiving Flag Operation....................................................... 6-13

 

6.4.1

 

No Header (Start Code), Terminator (End Code) "CR": .......................6-13

 

6.4.2

 

Start Code "STX", End Code "ETX": .....................................................6-14

 

7.

Specifications...................................................................... 7-1

7.1

 

Specifications ......................................................................................... 7-2

 

7.1.1

 

Communication .......................................................................................7-2

 

7.2

 

MEWTOCOL-COM Format .................................................................... 7-4

 

7.2.1

 

MEWTOCOL-COM Command Format ...................................................7-4

 

7.2.2

 

MEWTOCOL-COM Response Format....................................................7-6

 

7.3

 

MEWTOCOL7-COM Format .................................................................. 7-8

 

7.3.1

 

MEWTOCOL7-COM Command Format .................................................7-8

 

7.3.2

 

MEWTOCOL7 Response Format .........................................................7-10

 

Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]

Содержание AFP7CPS Series

Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 2: ...mance that are assured in these specifications Do not dismantle or remodel the product It could cause excessive exothermic heat or smoke generation Do not touch the terminal while turning on electricity It could lead to an electric shock Use the external devices to function the emergency stop and interlock circuit Connect the wires or connectors securely The loose connection could cause excessive ...

Страница 3: ... COM Port FP7 Extension Cassette Communication RS 232C RS485 type FP7 series Users Manual SCU communication WUME FP7COM FP7 Extension Cassette Communication Ethernet type FP7 series Users Manual Communication cassette Ethernet type WUME FP7CCET FP7 Extension Function Cassette Analog Cassette FP7 Analog Cassette Users Manual WUME FP7FCA FP7 Digital Input Output Unit FP7 Digital Input Output Unit Us...

Страница 4: ...ster Slave Communication 1 5 1 3 2 General Purpose Communication 1 6 1 4 Terms 1 7 2 Installation and Wiring 2 1 2 1 Attaching a Communication Cassette 2 2 2 1 1 Setting of Switches 2 2 2 1 2 Attachment Instructions 2 2 2 2 Installation Environment and Wiring for LAN Ports 2 3 2 2 1 Before Installation and Wiring 2 3 2 2 2 Installation Environment and Noise Control Measures 2 3 2 3 Wiring the LAN ...

Страница 5: ...eneral Communication 4 16 4 4 1 Specified using FPWINGR7 4 16 4 4 2 Specified using Configuration WD 4 16 4 5 Example of System connection 4 18 4 5 1 Specified using Configuration WD 4 18 4 5 2 Specified using FPWIN GR7 4 19 5 MEWTOCOL Master Slave Communication 5 1 5 1 List of MEWTOCOL MEWTOCOL7 Supporting Commands 5 2 5 1 1 List of MEWTOCOL Commands 5 2 5 1 2 List of MEWTOCOL7 Commands 5 2 5 2 M...

Страница 6: ... 8 6 3 2 Contents of Received Data 6 10 6 3 3 Precautions on Receiving Data 6 10 6 3 4 Operations of the Reception done copy flag and multiplex reception 6 11 6 3 5 GPRECV General Purpose Communication Receiving Instruction 6 12 6 4 Sending Receiving Flag Operation 6 13 6 4 1 No Header Start Code Terminator End Code CR 6 13 6 4 2 Start Code STX End Code ETX 6 14 7 Specifications 7 1 7 1 Specificat...

Страница 7: ...1 Communication Functions of CPU Unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 8: ...U unit It is equipped with power supply terminals 5V DC and 24V DC to which a GT series display can be connected 3 LAN port This is equipped to a standard model of CPU unit This is used for connection to Ethernet 4 USB port This is equipped to a standard model of CPU unit This is used for connecting tool software REFERENCE See the FP7 CPU unit User s manual LAN port communication for the detailed ...

Страница 9: ...xternal equipment 2 ACK Flashes when some communication is in progress with a connected device e g sending receiving a command or response 1 1 3 Types of communication cassette Communication ports that can be allocated Model no Communication interface COM 1 COM 2 User connection AFP7CCET1 System connection Note See 1 2 for the information of User connection or System connection 1 1 4 Configurator ...

Страница 10: ... Only 1 connection is available COM 2 is allocated and communication conditions are fixed Parameters are set using the software Configurator WD 1 2 2 Restrictions Behavior after the power has been turned on It takes approx 5 seconds to Initialize communication cassette AFP7CCET1 after the power has been turned on Data transfer cannot be executed during initialzaition process Please program to star...

Страница 11: ...d executing SEND RECV instructions Slave communication is performed when the computer or display connected to PLC has the sending right and sends commands and PLC returns responses In slave communication PLC responds automatically so no program concerning communication is necessary on the PLC side The data size that can be sent or received in a single communication is up to 507 words for register ...

Страница 12: ...ing them into a given data register and executing GPSEND instruction Response received from the partner device is temporarily saved in the buffer Based on the reception done flag GPRECV instruction is executed The ASCII strings can be converted into numerical data etc as necessary by the user program The data size that can be sent or received in a single communication is up to 4 096 bytes includin...

Страница 13: ...r communication PLC sends commands and receives responses In slave communication commands are received from an external device and responses are returned In a system using FP7 whether server connection or client connection is selected once connection is opened and a virtual communication line is connected commands and responses can be sent and received from both sides FP7 CPU server connection Ext...

Страница 14: ...Communication Functions of CPU Unit Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 15: ...2 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 16: ...erved Please turn OFF during nomal use REFERENCE See 4 2 6 for initialization of communication conditions 2 1 2 Attachment Instructions When an optional communication cassette is to be used attach it in the following procedures PROCEDURE 1 Using a flathead screwdriver remove the cover on the side of the CPU unit 2 Attach a desired communication cassette Phone 800 894 0412 Fax 888 723 4773 Web www ...

Страница 17: ...m of clearance should be allowed when installing the equipment Ethernet LAN 100mm or more 100mm or more 100mm or more Noise generating device cable When a device must be installed or a cable must be laid near a noise generating device for special reasons take measures such as install a programmable controller and a hub within a metal panel laying a communication cable inside a metal duct attaching...

Страница 18: ... occur attach a ferrite core near the CPU unit on the UTP cable It is also recommended to use a shielded cable NOTE For installation of 100BASE TX or 10BASE T hub laying of cables etc please consult a specialized construction company If this construction work is done incorrectly it can adversely affect the entire network and can cause accidents Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr co...

Страница 19: ...3 I O Number Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 20: ... 1 Reading completed 1 No data to be read 0 General purpose communication X5 X7 Not used Do not use this X8 For COM 1 Port General purpose communicatio n Clear to send flag It turns on 1 when the unit is set to the general purpose communication mode It turns off 0 in other modes General purpose communication X9 XB Not used Do not use this XC For COM 1 Port Master communicatio n Clear to send flag ...

Страница 21: ...cured Normally X29 For COM 2 Port DHCP acquisition flag 0 Normal 1 Acquisition error occurred Normally X2A For COM 2 Port Ver up error flag 0 Normal 1 Ver up error occured Normally X2B X2F Not used Do not use this X30 For COM 1 Port Connection status flag User connection 0 Disconnected 1 Connected Normally X31 For COM 1 Port TCP Server connection Full flag User connection 0 Not full 1 Full Normall...

Страница 22: ...used Do not use this Y10 For COM 1 Port Request to reset CH By turning on 1 Y10 the communication channel can be reset Without a request to reset 0 With a request to reset 1 After ON 1 is output and the completion of the reset is confirmed by X10 return to OFF 0 The reset is performed only once when this signal rises This function can be used to delete unnecessary received data or to clear errors ...

Страница 23: ...4 Setting Communication Conditions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 24: ...ens 2 Select Built in SCU Setting items for Built in SCU appear 3 Press OK after setting for communication conditions of COM 1 port Set conditions are incorporated into the project that is being edited KEY POINTS Select the Built in SCU for the Communication cassette AFP7CCET1 to recognised as serial communication in the internal system Settings for the COM 2 ports is not available for the Communi...

Страница 25: ...ed regardless of the settings in the FPWINGR7 Send waiting time 0 100ms Terminator setting CR CR LF Time CR is fixed for the MEWTOCOL mode CR CR LF or Time can be selected to match the settings of Configurator WD Terminator judgement time 0 10000 0 01ms It is avallable if terminator setting is Time Set the time to match the settings of Configurator WD Header STX N A Modem initialization Not initia...

Страница 26: ...cassette AFP7CCET1 The setting is saved in the Communication cassette AFP7CCET1 PROCEDURE 1 Start Configurator WD 2 Click Search unit icon after confirmation to connect the PLC to the PC via the communication cassette AFP7CCET1 Connected units are indicated if they are connected correctly If FP7 CCET is not indicated please reconfirm the connection Phone 800 894 0412 Fax 888 723 4773 Web www clrwt...

Страница 27: ...matically an IP address is obtained from the DHCP server When selecting Use the following IP address an IP address is set manually Use the following IP address Unit name Unit name for can be specified to identify iCommunication cassette AFP7 CCET1 in the Configurator WD FP7 CCET1 IP address Note1 IP address of Communication cassette AFP7 CCET1 Set an IP address other than 0 0 0 0 and 255 255 255 2...

Страница 28: ...me when connected unit is indicated The unit name will be highlighted 2 Select Edit Communication Setting from the menu bar Communication Setting dialigbox will open 3 Enter the desired items See the next page for the details 4 Press OK The message box Unit communication setting was completed will appear 5 Press OK Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 29: ... with a destination device during this setting time seconds in the state that connection is established connection will be cut Range 0 to 1800s When 0 is set the connection will not be cut 15 Destination IP Address Specify IP address of destination Set an IP address other than 0 0 0 0 and 255 255 255 255 192 168 1 100 Destination Port No Specify port number of destination Range 502 to 32767 9094 S...

Страница 30: ...d 2 Select Edit Communication Setting from the menu bar Communication Setting dialigbox will open 3 Press Option Option dialigbox will open 4 Enter the desired items See the next page for the details 5 Press OK Communication Setting dialigbox will open 6 Press OK in the Communication Setting dialigbox The message box Unit communication setting was completed will appear 7 Press OK Phone 800 894 041...

Страница 31: ...transmitted to the connected destination 20ms Destination unit number and IP address is specified A command is transmitted to the IP address corresponding to the unit number N A Unit Number Specify a station number Specify a value between 1 and 99 in decimal format N A Target IP Address for unit number IP Address Specify IP address 192 168 1 100 Action Mode Server Mode is fixed for the System conn...

Страница 32: ...ion Mode Client Mode Communication Mode MEWTOCOL PROCEDURE 1 Press Option Option dialigbox will open 2 Check the checkbox Destination unit number and IP address is specified 3 Double click the line of the desired unit number Target IP address for unit number setting dialigbox will open 4 Enter IP Address for unit number 5 Press OK Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info c...

Страница 33: ...rt Configrator WD 4 Press Search Unit icon in the Configrator If FP7CCET1 is detected it has sucessfully initialized 5 Turn off the power supply of the FP7 CPU unit Remove the AFP7CCET1 6 Turn off the SW1 at the back of the AFP7CCET1 7 Install the AFP7CCET1 on the FP7 CPU unit KEY POINTS The Ethernet communication setting including the IP address cannot be changed when the SW1 of the AFP7CCET1 is ...

Страница 34: ...or COM 1 port AFP7CCET1 Setting item Setting descripyion Communication Mode MEWTOCOL COM Station No 1to99 4 3 2 Specified using Configuration WD TCP Client Mode Parameter Default Protocol Mode TCP Action Mode Client Mode Communication Mode MEWTOCOL Destination IP Address 192 168 1 100 Destination Port No 9094 Source Port No 9095 Timeout 15 sec Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com...

Страница 35: ...d after confirming the connection status flag X30 is ON Timeout value of respons reception for AFP7CCET1 is the same as connection termination timeout during no communication Set the timeout of SEND RECV instruction longer than the timeout during no communication to judge the timeout of response reception Enter the Time setting filed of CPU Configuration in the FP7 configuration dialig box of FPWI...

Страница 36: ... 0 255 255 255 0 IP Address Default Gateway 192 168 1 1 192 168 1 1 192 168 1 1 Protocol Mode TCP TCP TCP Action Mode Client Mode Server Mode Server Mode Communication Mode MEWTOCOL MEWTOCOL MEWTOCOL Destination IP Address 192 168 1 11 N A N A Destination Port No 9094 N A N A Source Port No 0 9094 9094 Communication Setting Timeout 0 0 0 Destination unit number and IP address is specified Activate...

Страница 37: ...tion unit number and IP address is specified Activated N A N A No 1 192 168 1 11 N A N A Option IP Address for unit no No 2 192 168 1 12 N A N A 3 MEWTOCOL Master Communicationin the UDP BROADCAST mode Parameter Example Dialogbox Field Home Slave1 Slave2 IP Address 192 168 1 5 192 168 1 11 192 168 1 12 Subnet Mask 255 255 255 0 255 255 255 0 255 255 255 0 IP Address Default Gateway 192 168 1 1 192...

Страница 38: ...cription Communication mode General Communication Terminator setting CR CR LF Time Terminator judgement time 0 to 100ms 4 4 2 Specified using Configuration WD TCP Client Mode Parameter Default Protocol Mode TCP Action Mode Client Mode Communication Mode General Communication Send type UNICAST Destination IP Address 192 168 1 100 Destination Port No 9094 Source Port No 9095 Timeout 15 sec Phone 800...

Страница 39: ...100 Source Port No 9095 Timeout 15 sec UDP mode Parameter Default Protocol Mode UDP Action Mode Client Mode Communication Mode General Communication Destination IP Address 192 168 1 100 Destination Port No 9094 Source Port No 9095 Timeout 15 sec Note The parameter Destination IP Addres is not available if BROADCAST is selected Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwt...

Страница 40: ... used via LAN port Settings are necessary in the IP Address dialogbox and Option dialogbox for the System connection Setting IP Address dialogbox Option dialogbox KEY POINTS Select Server Mode TCP and MEWTOCOL for the System connection And it need not set in the Communication Setting dialog box Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 41: ...OCEDURE 1 Select Online Communications settings from the menu bar Communication Settings dialogbox will open 2 Select LAN 3 Enter the same IP Address and the same Source Port no into Connection destination field as the setting in the Configurator WD 4 Press OK 5 Select Online Switch to Online Mode from the menu bar Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 42: ...Setting Communication Conditions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 43: ...5 MEWTOCOL Master Slave Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 44: ...g start MG Monitors a registered contact or data using MC and MD Preset contact area fill command SC Embeds the area of a specified range in a 16 point on off pattern Preset data area fill command SD Writes the same contents to the data area of a specified range Read the status of PLC RT Reads the specifications of the programmable controller and error codes if an error occurs Abort AB Aborts rece...

Страница 45: ...data area of an external device station no 1 DT400 DT401 and write the content into PLC s data register DT100 DT101 Confirm that the unit is in the master mode XC and that the sending process is not in progress for the same port YC and start up the SEND instruction In the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the RECV instruction specify and execute the partner stati...

Страница 46: ...sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Note 1 Each contact is used for reading the operation status Do not write over it with a user program KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before SEND RECV instruction Master communication is only valid when MEWTOCOL is selected Con...

Страница 47: ... data Note 3 1 509 words or 1 bit D1 Specify the device initial address of the receiver node data area in the source node Note1 Note1 D2 Specify the device area in the source node to save the execution result code one word Note 4 Note 1 Transmission methods vary by the type of device to be specified for the operands S2 and D1 Device to be specified for S2 and D1 Transmission method 16 bit device W...

Страница 48: ... the content of PLC s data register DT100 DT101 into the data area of an external device station no 1 DT400 DT401 Confirm that the unit is in the master mode XC and that the sending process is not in progress for the same port YC and start up the SEND instruction In the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the SEND instruction specify and execute the sender initial ...

Страница 49: ... of sending data in general purpose communication or master communication Normal completion 0 Abnormal completion 1 Note 1 Each contact is used for reading the operation status Do not write over it with a user program KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before SEND RECV instruction Master communication is only valid when MEWTOCOL is selected...

Страница 50: ... in the partner node Note 4 0 99999 D3 Specify the device area in the source node to save the execution result code one word Note 5 Note 1 Transmission methods vary by the type of device to be specified for the operands S and D2 Device to be specified for S2 and D1 Transmission method 16 bit device WX WY WR WL DT LD Register transmission 1 bit device X Y R L DT n LD n Bit transmission Note 2 The N...

Страница 51: ...6 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 52: ...rite Data into an External Device Write data into a partner device In general purpose communication communication is executed by sending commands that suit the partner device and receiving responses Command messages are sent by formulating a data table for message in accordance with the protocol on the given data register and subsequently executing GPSEND instruction External device ABCD 1 2 CR Se...

Страница 53: ... message to be sent from the data register DT101 In the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the GPSEND instruction specify and execute the header of the table where the message to be sent is saved DT101 and the No of characters DT100 R0 DF SSET DT100 ABCDE R100 R100 R100 UNITSEL U1 U0 GPSEND US DT101 DT0 DT100 X8 Y8 GPSEND execution conditions Clear to send flag ON...

Страница 54: ...n X8 General purpose communication Clear to send flag Turns ON when the unit is set to the general purpose communication mode Y8 General purpose communication Sending active flag Turns ON during sending data based on general purpose communication GPSEND Turns OFF when the sending process is completed Y0 Sending done result flag Reports completion result of sending data in genera purpose communicat...

Страница 55: ...on are sent in ascending order from lower bytes DT100 H42 B H41 A H44 D H43 C H45 E DT101 DT102 DT103 DT104 After executing SSET instruction the No of characters is set U5 KEY POINTS The start code and the end code specified in the configuration menu are automatically added to the sent data Do not include the start code or the end code into sent data The maximum volume of data that can be sent is ...

Страница 56: ...ed the end code is not automatically added to the sent data Where SCU is targeted Note 4 Device that can be specified for D are WX WY WR WL DT LD Once the sending process is completed the sent bytes are saved When an error occurs FFFFH is saved KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before GPSEND instruction Maintain the ON conditions for GPSEN...

Страница 57: ...g S Header of Sent Data DT101 n No of Sent Characters DT100 D Execution Result Code DT0 General purpose communication Clear to send flag General purpose communication Sending active flag R100 Data conversion S1 Sent Data S2 Save Sent Data DT100 No of Sent Characters DT101 onward Sent Data R101 DF DF Y8 R101 DF Confirm sending completion Reset GPSEND execution conditions R100 UNITSEL U1 U0 Settings...

Страница 58: ...n the UNITSEL instruction specify the slot No U0 and the COM port No U1 In the GPRECV instruction specify and execute the header of the data table where the received message is saved DT200 and the final address DT209 GPRECV US DT209 DT200 R100 UNITSEL U1 U0 X0 DF R100 GPRECV processing S1 Header of Received Data DT200 S2 Terminator of Received Data DT209 GPRECV execution conditions Reception done ...

Страница 59: ...en the I O refresh is executed at the beginning of the subsequent scans Execute GPRECV Reception done flag X0 Reception done flag X0 When reception has been done ON When copying of received data has been done based on GPRECV instruction OFF Cr Reception buffer Received data Cr Saving method for received data When data are saved in a given data register from the reception buffer based on GPRECV ins...

Страница 60: ... receive binary data based on the GPRECV instruction In this case the terminator should be specified using Time 6 3 3 Precautions on Receiving Data Reset communication ports If a communication abnormality has occurred communication ports can be reset by turning on the Request to reset signal Y10 by the user program Once reset is completed X10 turns ON Subsequently turn OFF the Request to reset Y10...

Страница 61: ...is high it is possible that the reception done flag X0 remains ON and cannot detect sequential receptions In cases where it is necessary to process sequentially received data constantly execute the GPRECV instruction in combination with the reception done copy flag X4 Referring to the reception done copy flag X4 you can confirm whether there are lately received data Reception done flag X0 Execute ...

Страница 62: ... WL DT LD Note 2 Device that can be specified for D2 are WX WY WR WL DT LD KEY POINTS Specify the port targeted for communication using UNITSEL instruction immediately before GPRECV instruction When the general purpose communication reception done flag is ON for the targeted COM port execute GPRECV When multiplex reception is carried out the reception done flag X0 remains ON after the received dat...

Страница 63: ... pointer Data can be received until eight receive bu ffers are all filled up even if the reception done flag is turned on After GPRECV instruction is executed reception done flag turns off at the beginning of next scan or later No of bytes received The COM port has eight reception buffers The reception process is continued after the reception done flag X0 turns ON The reception done flag X0 does n...

Страница 64: ... flag X0 Upon reception of the start code the reception pointer is initialized Upon reception of the start code the reception pointer is initialized Even in a reception done status received data is continued into another buffer because there are 4 096 x 8 reception buffers Stored When the start code is set to STX the data are saved in the reception buffer When the start code is received the receiv...

Страница 65: ...tive flag Y8 Header STX and terminator ETX are automatically added to the data to be sent The data are transmitted to an external device After GPSEND instruction is executed data transmission is started in several μs to several tens of ms For time before transmission is started please refer to the communication cycle time SM208 SM210 using the system monitor function After GPSEND instruction is ex...

Страница 66: ...General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 67: ...7 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 68: ...tialization Invalid Invalid Note1 Permissible communication condtions depend on communication mode MEWTOCOL or General perpose Communication COM 2 port System connection Communication port Setting range Default Station no 1 99 MEWTOCOL COM slave 1 999 MEWTOCOL7 COM slave 1 Baud rate 230400 bps 230400 Data length 8 bits 8 bits Parity Odd Odd Stop bit 1 bit 1 bit End code CR CR Communicati on format...

Страница 69: ...d on communication mode MEWTOCOL COM Master 1 connection MEWTOCOL COM Slave 3 connection MEWTOCOL7 COM Slave 3 connection General Communication 1 connection MEWTOCOL COMSlave 1 connection MEWTOCOL7 COMSlave 1 connection Note 1 Switching between different speeds is done automatically by auto negotiation function Note 2 The standards cite 100 m as the maximum but noise resistance measures such as at...

Страница 70: ...e of the FP7 CPU unit the station no is specified in the FPWIN GR7 configuration menu In 1 1 communication specify 01 ASCII code H3031 or EE ASCII code H4545 3 Text The content of this varies depending on the type of command The content should be noted in all upper case characters following the fixed formula 4 Check code This is a BCC block check code for error detection using horizontal parity Th...

Страница 71: ...n several times When the message contains a large number of characters the response is sent divided in several times KEY POINTS An expansion header is supported to send and receive single frames of up to 2048 characters as well as general Type of header No of characters that can be sent in 1 frame Max 118 characters Max 2048 characters Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email i...

Страница 72: ...he command 3 Text The content of this varies depending on the type of command If the processing is not completed successfully an error code will be stored here so that the content of the error can be checked 4 Check code This is a BCC block check code for error detection using horizontal parity The BCC starts from the header and checks each character in sequence using the exclusive OR operation an...

Страница 73: ...match If the response contains an instead of a the command was not processed successfully The response will contain a communication error code Check the meaning of the error code Station no and command name are always identical in a command and its corresponding response see below This makes the correspondence between a command and a response clear 0 1 R C C R 0 1 R C C R Command Response Same Sam...

Страница 74: ...the PLC is specified by the system register In the case of the FP7 CPU unit the station no is specified in the FPWIN GR7 configuration menu In 1 1 communication specify 001 ASCII code H303031 or EEE ASCII code H45H4545 3 Frame No This indicates the sending frame No Make sure to use consecutive frame numbers E g Commands for multiple frames EEE00 00MMRDD001G0DT0000000001000 CR EEE01 CR Make sure to...

Страница 75: ...erminator end code Messages must always end with a CR ASCII code H0D KEY POINTS The method for writing text segments in the message varies depending on the type of command When the message to be sent contains a large number of characters send the command divided in several times When the message contains a large number of characters the response is sent divided in several times In MEWTOCOL7 comman...

Страница 76: ...ata abnormal status error code R 1 Header start code A ASCII code H3E must be at the beginning of a message The response must start with the same header start code 2 Station no This is the station no of the PLC that processed the command 3 Frame No This is the frame number where the command was processed 4 Text The content of this varies depending on the type of command If the processing is not co...

Страница 77: ...may not be correct or the command may not have arrived at the PLC or the PLC may not be functioning Check to make sure all of the communication specifications e g baud rate data length and parity match between the computer and the PLC If the response contains an instead of a the command was not processed successfully The response will contain a communication error code Check the meaning of the err...

Страница 78: ...Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Страница 79: ...Record of changes Manual No Date Record of Changes WUME FP7CCET 01 DEC 2013 First Edition Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Отзывы: