SYSMAC CS/CJ/CP Series SYSMAC One NSJ Series Communications Commands Reference Manual
PRECAUTIONS
1 Intended Audience
2 General Precautions
3 Safety Precautions
4 Operating Environment Precautions
5 Application Precautions
SECTION 1 Introduction
1-1 Overview of Communications Commands
1-2 C-mode Commands
1-3 FINS Commands
SECTION 2 Overview of C-mode Commands
2-1 C-mode Commands
2-2 Command/Response Formats
2-3 Application Example
2-4 Precautions when Reusing Programs from Earlier Models
2-4-1 C-series Host Link Units with 1:N Host Link Format Selected
2-4-2 C-series Host Link Units with 1:1 Host Link Format Selected
2-4-3 C-mode Command Support
SECTION 3 Overview of FINS Commands
3-1 FINS Commands
3-2 Using FINS Commands
3-2-1 Issuing and using any command (CMND (490) instruction)
3-2-2 Using with respect to a host computer connected by Host Link
3-3 FINS Command and Response Frames
3-3-1 FINS Command Frame Configuration
3-3-2 FINS Response Frame Configuration
3-3-3 Individual Items in Command/Response Frames
3-4 Settings for Sending FINS Commands
3-4-1 FINS Command and Response Formats
3-4-2 Addresses in FINS Commands
3-4-3 Other FINS Command Settings
3-4-4 CMND(490) Setting Example
3-5 FINS Commands with Host Link Protocol
3-5-1 Connection Configurations
3-5-2 Overview of Command and Response Frames
3-5-3 Sending Commands from the Computer to the CPU Unit
3-5-4 Sending FINS Commands to the Host Computer from the CPU Unit
3-5-5 Sending Commands from the CPU Unit
3-5-6 Command Format Received by the Host Computer
3-5-7 Response Format Returned by the Host Computer
3-5-8 Flags for Network Communications
3-5-9 Timing of Commands to Host Computers
3-5-10 Programming Example
3-6 Serial Gateway Overview
3-6-1 Overview
3-6-2 Types of Protocol Conversion
3-6-3 Converting FINS to CompoWay/F
3-6-4 Converting FINS to Modbus-RTU
3-6-5 Converting from FINS to Modbus-ASCII
3-6-6 Converting from FINS to Host Link FINS
3-6-7 Treating Serial Communications Paths as Networks
3-6-8 Using a PLC as the Target
3-6-9 Using a non-PLC Component as the Target
3-6-10 Explanation
3-7 Communications Frames
3-7-1 CompoWay/F
3-7-2 Modbus-RTU
3-7-3 Modbus-ASCII
3-7-4 Host Link FINS
3-7-5 Sending Commands Using the CMND(490) Instruction
SECTION 4 C-mode Commands
4-1 C-mode Command List
4-2 End Codes
4-3 C-mode Command Details
4-3-1 About this Section
4-3-2 CIO AREA READ - - RR
4-3-3 LR AREA READ - - RL
4-3-4 HR AREA READ - - RH
4-3-5 TIMER/COUNTER PV READ - - RC
4-3-6 TIMER/COUNTER STATUS READ - - RG
4-3-7 DM AREA READ - - RD
4-3-8 AR AREA READ - - RJ
4-3-9 EM AREA READ - - RE
4-3-10 CIO AREA WRITE - - WR
4-3-11 LR AREA WRITE - - WL
4-3-12 HR AREA WRITE - - WH
4-3-13 TIMER/COUNTER PV WRITE - - WC
4-3-14 DM AREA WRITE - - WD
4-3-15 AR AREA WRITE - - WJ
4-3-16 EM AREA WRITE - - WE
4-3-17 TIMER/COUNTER SV READ 1 - - R#
4-3-18 TIMER/COUNTER SV READ 2 - - R$
4-3-19 TIMER/COUNTER SV READ 3 - - R%
4-3-20 TIMER/COUNTER SV CHANGE 1 - - W#
4-3-21 TIMER/COUNTER SV CHANGE 2 - - W$
4-3-22 TIMER/COUNTER SV CHANGE 3 - - W%
4-3-23 STATUS READ - - MS
4-3-24 STATUS CHANGE - - SC
4-3-25 ERROR READ - - MF
4-3-26 FORCED SET - - KS
4-3-27 FORCED RESET - - KR
4-3-28 MULTIPLE FORCED SET/RESET - - FK
4-3-29 FORCED SET/RESET CANCEL - - KC
4-3-30 PLC MODEL READ - - MM
4-3-31 TEST- - TS
4-3-32 PROGRAM READ - - RP
4-3-33 PROGRAM WRITE - - WP
4-3-34 I/O TABLE GENERATE - - MI
4-3-35 REGISTER I/O MEMORY - - QQMR
4-3-36 READ I/O MEMORY - - QQIR
4-3-37 ABORT - - XZ
4-3-38 INITIALIZE - - **
4-3-39 Undefined Command - - IC
SECTION 5 FINS Commands
5-1 Command Lists
5-1-1 FINS Commands
5-1-2 FINS Command Restrictions
5-1-3 End Codes
5-2 Designating Command Parameters
5-2-1 Designating I/O Memory (Variable) Area Addresses
5-2-2 I/O Memory Address Designations
5-3 FINS Commands
5-3-1 About this Section
5-3-2 MEMORY AREA READ: 01 01
5-3-3 MEMORY AREA WRITE: 01 02
5-3-4 MEMORY AREA FILL: 01 03
5-3-5 MULTIPLE MEMORY AREA READ: 01 04
5-3-6 MEMORY AREA TRANSFER: 01 05
5-3-7 PARAMETER AREA READ: 02 01
5-3-8 PARAMETER AREA WRITE: 02 02
5-3-9 PARAMETER AREA CLEAR: 02 03
5-3-10 PROGRAM AREA READ: 03 06
5-3-11 PROGRAM AREA WRITE: 03 07
5-3-12 PROGRAM AREA CLEAR: 03 08
5-3-13 RUN: 04 01
5-3-14 STOP: 04 02
5-3-15 CPU UNIT DATA READ: 05 01
5-3-16 CONNECTION DATA READ: 05 02
5-3-17 CPU UNIT STATUS READ: 06 01
5-3-18 CYCLE TIME READ: 06 20
5-3-19 CLOCK READ: 07 01
5-3-20 CLOCK WRITE: 07 02
5-3-21 MESSAGE READ: 09 20
5-3-22 MESSAGE CLEAR: 09 20
5-3-23 FAL/FALS READ: 09 20
5-3-24 ACCESS RIGHT ACQUIRE: 0C 01
5-3-25 ACCESS RIGHT FORCED ACQUIRE: 0C 02
5-3-26 ACCESS RIGHT RELEASE: 0C 03
5-3-27 ERROR CLEAR: 21 01
5-3-28 ERROR LOG READ: 21 02
5-3-29 ERROR LOG CLEAR: 21 03
5-3-30 FINS WRITE ACCESS LOG READ: 21 40
5-3-31 FINS WRITE ACCESS LOG CLEAR: 21 41
5-3-32 FILE NAME READ: 22 01
5-3-33 SINGLE FILE READ: 22 02
5-3-34 SINGLE FILE WRITE: 22 03
5-3-35 FILE MEMORY FORMAT: 22 04
5-3-36 FILE DELETE: 22 05
5-3-37 FILE COPY: 22 07
5-3-38 FILE NAME CHANGE: 22 08
5-3-39 MEMORY AREA-FILE TRANSFER: 22 0A
5-3-40 PARAMETER AREA-FILE TRANSFER: 22 0B
5-3-41 PROGRAM AREA-FILE TRANSFER: 22 0C
5-3-42 CREATE/DELETE DIRECTORY: 22 15
5-3-43 MEMORY CASSETTE TRANSFER (CP-series CPU Units Only): 22 20
5-3-44 FORCED SET/RESET: 23 01
5-3-45 FORCED SET/RESET CANCEL: 23 02
5-3-46 CONVERT TO COMPOWAY/F COMMAND: 28 03
5-3-47 CONVERT TO MODBUS-RTU COMMAND: 28 04
5-3-48 CONVERT TO MODBUS-ASCII COMMAND: 28 05
Index
Revision History