Mitsubishi Electric NZ2FTGN User Manual page 184

Slice remote i/o module
Table of Contents

Advertisement

Option handling program example
The following shows an example of a program that executes Option handling for general purposes.
Set the slot number (1 to 64) whose operation is to be stopped or restarted to D100, and turn on M10 to read, create, and
write Dataset.
Operating procedure
1.
Read Dataset from the NZ2FT-PN. ( Page 183 Program example of Dataset read)
2.
For the read Dataset, create Dataset that includes the I/O module(s) whose operation is to be stopped or restarted. If
Dataset cannot be read in procedure 1, create Dataset that makes slot numbers 1 to 64 operational but one that
excludes I/O modules whose operation is to be stopped. ( Page 185 Program example of Dataset creation)
3.
Write Dataset to the NZ2FT-PN. ( Page 189 Program example of Dataset write)
■Device to be used
Device
M10
M20
M25
M30
M40
M50
M60
M65
D100
D110
D120
D1000
D2000
D3000
Z1
U0\G17000.0
U0\G17118.0
U0\G17153.1
U0\G17057.0
U0\G17144.0
U0\G17144.8
U0\G50000
U0\G50002
U0\G50003
U0\G50004
U0\G50006
U0\G50008
U0\G50009
U0\G50010
U0\G50011
U0\G50030
U0\G57003
U0\G57020
9 NZ2FT-PN
182
9.4 Functions
Description
Execution signal
Dataset read
Dataset read execution
Dataset creation signal
Dataset creation signal (stop or return)
Dataset creation signal (remaining slot setting)
Dataset write
Dataset write execution
Slot number of a stopped or returned I/O module (Enter the slot number of the stopped/restarted I/O module.)
Slot setting number of a stopped or returned I/O module
Slot setting number of a registered I/O module
Dataset storage location (1)
Dataset storage location (2)
Dataset storage location (3)
For address specification
I/O data communication start request
Parameter setting status
IO device communication status
Service execution request 1
Service request area 1 execution request completion bit
Service request area 1 execution request acceptance bit
Service request area 1: RequestID
Service request area 1: ServiceID
Service request area 1: Status
Service request area 1: DeviceID
Service request area 1: API
Service request area 1: SlotNumber
Service request area 1: SubslotNumber
Service request area 1: Index
Service request area 1: Data length
Service request area 1: Dataset to be written to the NZ2FT-PN
Service response area 1: Status
Service response area 1: Dataset read from the NZ2FT-PN

Advertisement

Table of Contents
loading

Table of Contents