background image

1  COMMON ITEMS

1.3  MELSEC Data Link Functions

41

1

*1 For Q12DCCPU-V, it is categorized as the device type for Q bus interface.

(It is not accessible in CC-Link communication, CC-Link IE Controller Network communication and CC-Link IE Field Network 
communication.)

*2 The devices cannot be used for the mdRandREx, mdRandWEx, mdDevSetEx, and mdDevRstEx functions.
*3 Even if a non-existent device is specified in the mdRandREx function, the function may end normally.

(All of the bits turn ON in read data. For word devices, the read data is '-1'.)

*4 Only the mdRandRLabelEx and mdRandWLabelEx functions can be used.
*5

: indicates a network number.

Edge relay (V)

30

1EH

DevQV

Refresh data register (RD)

39

27H

DevRD

Global label (GV)

*4

For word, double word, and quad word size

600

258H

DevGV

For bit 0

601

259H

DevGV_0

For bit 1

602

25AH

DevGV_1

For bit 2

603

25BH

DevGV_2

For bit 3

604

25CH

DevGV_3

For bit 4

605

25DH

DevGV_4

For bit 5

606

25EH

DevGV_5

For bit 6

607

25FH

DevGV_6

For bit 7

608

260H

DevGV_7

For bit 8

609

261H

DevGV_8

For bit 9

610

262H

DevGV_9

For bit A

611

263H

DevGV_A

For bit B

612

264H

DevGV_B

For bit C

613

265H

DevGV_C

For bit D

614

266H

DevGV_D

For bit E

615

267H

DevGV_E

For bit F

616

268H

DevGV_F

Link direct device

*3*5

Argument value of device name (1 to 255): 
Network number

Link input (J

\X)

1001 to 1255

3E9H to 4E7H

DevLX(1) to 
DevLX(255)

Link output (J

\Y)

2001 to 2255

7D1H to 8CFH

DevLY(1) to 
DevLY(255)

Link relay (J

\B)

23001 to 23255

59D9H to 5AD7H

DevLB(1) to 
DevLB(255)

Link register (J

\W)

24001 to 24255

5DC1H to 5EBFH

DevLW(1) to 
DevLW(255)

Link special relay (J

\SB)

25001 to 25255

61A9H to 62A7H

DevLSB(1) to 
DevLSB(255)

Link special register (J

\SW)

28001 to 28255

6D61H to 6E5FH

DevLSW(1) to 
DevLSW(255)

Intelligent function module device

*3

, module access device

*3

Argument value of device name (0 to 255): Start I/O No. divided by 16

29000 to 29255

7148H to 7247H

DevSPG(0) to 
DevSPG(255)

SEND function (with arrival confirmation) and RECV function

101

65H

DevMAIL

SEND function (without arrival confirmation)

102

66H

DevMAILNC

Device (Device name)

Device type

Code

Device name

Decimal

Hexadecimal

Summary of Contents for MELSEC iQ-R C

Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...

Page 2: ......

Page 3: ... INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT Railway companies or Public ser...

Page 4: ...f the Wind River Systems product refer to the corresponding manual or consult Wind River Systems Inc Contact information is available on the following website Wind River Systems Inc www windriver com INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC iQ R series programmable controllers This manual describes the functions required for programming Before using this product please read this...

Page 5: ...Controller module dedicated functions for ISR 46 2 2 MELSEC Data Link Functions 47 CHAPTER 3 DETAILS OF FUNCTION 48 3 1 C Controller Module Dedicated Functions 48 C Controller module dedicated functions 48 C Controller module dedicated functions for ISR 125 3 2 MELSEC Data Link Functions 146 CHAPTER 4 ERROR CODE LIST 174 4 1 Common Error Codes 174 4 2 C Controller Module Dedicated Functions 178 4 ...

Page 6: ...94 C Controller module dedicated functions 194 C Controller module dedicated function for ISR 194 Bus interface functions 195 Bus interface functions for ISR 196 MELSEC data link functions 197 INDEX 198 FUNCTION INDEX 200 REVISIONS 202 WARRANTY 203 TRADEMARKS 204 ...

Page 7: ...e Programming Manual SH 081371ENG this manual Explains the programming specifications and dedicated function library of a C Controller module e Manual PDF MELSEC iQ R C Controller Module User s Manual Startup SH 081367ENG Explains the performance specifications procedure before operation and troubleshooting of a C Controller module Print book e Manual PDF MELSEC iQ R C Controller Module User s Man...

Page 8: ...oller module dedicated function and MELSEC data link function Existing product A generic term for Q12DCCPU V Basic mode Extended mode High Performance model QCPU A generic term for Q02CPU Q02HCPU Q06HCPU Q12HCPU and Q25HCPU Intelligent function module A generic term for modules which has functions other than input and output such as A D converter module and D A converter module MELSEC data link fu...

Page 9: ...IDE Dedicated function libraries offered by a C Controller module are as follows C Controller module dedicated function MELSEC Data Link Functions For the execution procedure of user programs refer to the following manual MELSEC iQ R C Controller Module User s Manual Startup 1 1 Header Files Include the following header files in a user program to use the dedicated function library A header file is...

Page 10: ...put when a user WDT error occurs When a user WDT error occurs the output turns OFF Considerations for the dedicated instructions Considerations for argument are shown below For the first argument pcInstName categorizing the dedicated instructions D DP J JP G GP M is not required Devices of the own station cannot be specified Reserve the required area with a user program and specify the start addre...

Page 11: ...vices Device type can be specified to the argument sDevType of the CCPU_WriteDevice CCPU_ReadDevice CCPU_SetDevice CCPU_ResetDevice CCPU_WriteDevice_ISR CCPU_ReadDevice_ISR CCPU_SetDevice_ISR CCPU_ResetDevice_ISR functions Device Device name Device type Code Device name Decimal Hexadecimal Direct link input LX 1000 3E8H Dev_LX Direct link output LY 2000 7D0H Dev_LY Direct link relay LB 23000 59D8H...

Page 12: ...sk 2 Open a communication line mdOpen function 3 Acquire device information label assignment information from a target CPU module mdGetLabelInfo function 4 Access the target CPU module by using the acquired device information label assignment information mdRandRLabelEx mdRandWLabelEx function 5 Check if there is no change in the device information label assignment information of the target CPU mod...

Page 13: ...ation needs to be acquired The succeeding processing time can be shortened by performing dummy access at the first time Access to other stations on the same task Accessing 33 or more other stations simultaneously on the same task of C Controller module using a user program may decrease the communication performance To access other stations simultaneously on the same task limit it to 32 or less sta...

Page 14: ...ormal The bits of the own station baton pass status SB47 is OFF normal The bits of the own station data link status SB49 is OFF data linking CC Link module When the following conditions are met The module error Xn0 is OFF normal Module READY XnF is ON activated The bits of the own station data link status Xn1 is ON data linking Module to be routed Condition that requires interlock CC Link IE Contr...

Page 15: ... a label name mdRandWLabelEx function random read by using a label name mdRandRLabelEx function Bit devices can be accessed by using bit set mdDevSetEx function and bit reset mdDevRstEx function The fixed cycle communication area can be accessed only when the multiple CPU setting is configured Device extension specifications digit specification bit specification and index specification cannot be u...

Page 16: ...atch random Long counter Current value LC Batch random Data register D Batch random Special register SD Batch random Index register Z Batch random Long index register LZ Batch random File register R Batch random ZR Batch random Refresh data register RD Batch random Link relay B Batch random Link register W Batch random Link special relay SB Batch random Retentive timer Contact ST Batch random Long...

Page 17: ...cial relay SB Batch random Link special register SW Batch random CPU buffer memory U3En G Batch Random Fixed cycle communication area U3En HG Batch Random Global label GV Batch Random Safety input SA X Batch random Safety output SA Y Batch random Safety internal relay SA M Batch random Safety link relay SA B Batch random Safety timer SA T Batch random Safety retentive timer SA ST Batch random Safe...

Page 18: ...Controller Network module Accessible range The system configuration in the accessible range and the accessibility of each access target CPU via a CC Link IE Controller Network module are shown below Connected network C Controller module Module to be routed Connected station CPU Connected module Network to be routed Access target CPU Target module via the network System configuration ...

Page 19: ...ersonal computer MELSEC iQ R series MELSEC Q series MELSEC L series MELSEC iQ R series MELSEC Q series MELSEC Q series CC Link IE Controller Network MELSEC iQ R series programmabl e controller CC Link IE Controller Network CC Link IE Field Network 1 MELSECNET H network MELSECNET 10 network Ethernet Serial communication CC Link MELSEC iQ R series C Controller module CC Link IE Controller Network CC...

Page 20: ... specifications digit specification bit specification and index specification cannot be used Accessing the own station The accessible devices when accessing the CC Link IE Controller Network module controlled by C Controller module are shown in the following table Accessible Not accessible For details on replacement from the device types specified with an existing product refer to the following se...

Page 21: ...LC Batch random Counter Coil C Batch random Long counter Coil LC Batch random Timer Current value T Batch random Long timer Current value LT Batch random Counter Current value C Batch random Long counter Current value LC Batch random Data register D Batch random 1 Special register SD Batch random 1 Index register Z Batch random Long index register LZ Batch random File register R Batch random 2 ZR ...

Page 22: ... random 1 CPU shared memory CPU buffer memory CPU No 1 area U3E0 G Batch Random CPU shared memory CPU buffer memory CPU No 2 area U3E1 G Batch Random CPU shared memory CPU buffer memory CPU No 3 area U3E2 G Batch Random CPU shared memory CPU buffer memory CPU No 4 area U3E3 G Batch Random Fixed cycle communication area CPU No 1 area U3E0 HG Batch Random Fixed cycle communication area CPU No 2 area...

Page 23: ...C Link IE Controller Network module Access to a multiple CPU system when a logical station number is specified is not available Safety link relay SA B Batch random Safety timer SA T Batch random Safety retentive timer SA ST Batch random Safety counter SA C Batch random Safety data register SA D Batch random Safety link register SA W Batch random Safety special relay SA SM Batch random Safety speci...

Page 24: ...IE Field Network module Accessible range The system configuration in the accessible range and the accessibility of each access target CPU via a CC Link IE Field Network module are shown below Connected network C Controller module Module to be routed Connected station CPU Connected module Network to be routed Access target CPU Target module via the network System configuration ...

Page 25: ...d 4 Access target CPU Programmable controller C Controller module WinCPU module Interface board for personal computer MELSEC iQ R series MELSEC Q series MELSEC L series MELSEC iQ R series MELSEC Q series MELSEC Q series CC Link IE Field Network 1 MELSEC iQ R series programmabl e controller CC Link IE Controller Network CC Link IE Field Network 2 MELSECNET H network MELSECNET 10 network Ethernet Se...

Page 26: ...on and index specification cannot be used Accessing the own station The accessible devices when accessing the CC Link IE Field Network module controlled by C Controller module are shown in the following table Accessible Not accessible For details on replacement from the device types specified with an existing product refer to the following section Page 190 Replacement of device type For other than...

Page 27: ... Long counter Coil LC Batch random Timer Current value T Batch random Long timer Current value LT Batch random Counter Current value C Batch random Long counter Current value LC Batch random Data register D Batch random 1 Special register SD Batch random 1 Index register Z Batch random Long index register LZ Batch random File register R Batch random 2 ZR Batch random 2 Refresh data register RD Bat...

Page 28: ... G Batch Random CPU shared memory CPU buffer memory CPU No 4 area U3E3 G Batch Random Fixed cycle communication area CPU No 1 area U3E0 HG Batch Random Fixed cycle communication area CPU No 2 area U3E1 HG Batch Random Fixed cycle communication area CPU No 3 area U3E2 HG Batch Random Fixed cycle communication area CPU No 4 area U3E3 HG Batch Random Other station buffer memory Batch random Other sta...

Page 29: ...sible Q12DCCPU V with a serial number of which the first 5 digits are 12042 or later Q24DHCCPU V Q24DHCCPU LS Q24DHCCPU VG and Q26DHCCPU LS 2 Q00JCPU is not accessible 3 The following CPUs are accessible Q12DCCPU V Extended mode Q24DHCCPU V Q24DHCCPU LS Q24DHCCPU VG and Q26DHCCPU LS ...

Page 30: ...rk module Accessible range The system configuration in the accessible range and the accessibility of each access target CPU via a MELSECNET H network module are shown below C Controller module System configuration Connected network Module to be routed Connected station CPU Connected module Network to be routed Access target CPU Target module via the network RQ extension base unit ...

Page 31: ... computer MELSEC iQ R series MELSEC Q series MELSEC L series MELSEC iQ R series MELSEC Q series MELSEC Q series MELSECN ET H network MELSECN ET 10 network MELSEC iQ R series programmabl e controller CC Link IE Controller Network CC Link IE Field Network 1 MELSECNET H network MELSECNET 10 network Ethernet Serial communication CC Link MELSEC iQ R series C Controller module CC Link IE Controller Netw...

Page 32: ...e extension specifications digit specification bit specification and index specification cannot be used Accessing the own station The accessible devices when accessing the MELSECNET H network module controlled by C Controller module are shown in the following table Accessible Not accessible For details on replacement from the device types specified with an existing product refer to the following s...

Page 33: ...m Long counter Coil LC Batch random Timer Current value T Batch random Long timer Current value LT Batch random Counter Current value C Batch random Long counter Current value LC Batch random Data register D Batch random 1 Special register SD Batch random 1 Index register Z Batch random Long index register LZ Batch random File register R Batch random 2 ZR Batch random 2 Refresh data register RD Ba...

Page 34: ... U3E2 G Batch Random CPU shared memory CPU buffer memory CPU No 4 area U3E3 G Batch Random Fixed cycle communication area CPU No 1 area U3E0 HG Batch Random Fixed cycle communication area CPU No 2 area U3E1 HG Batch Random Fixed cycle communication area CPU No 3 area U3E2 HG Batch Random Fixed cycle communication area CPU No 4 area U3E3 HG Batch Random Other station buffer memory Batch random Othe...

Page 35: ...U V Q24DHCCPU LS Q24DHCCPU VG and Q26DHCCPU LS 2 Q00JCPU is not accessible 3 The following CPUs are accessible Q12DCCPU V Extended mode Q24DHCCPU V Q24DHCCPU LS Q24DHCCPU VG and Q26DHCCPU LS 4 A message is send to a network module on the other station via a MELSECNET H network module Access to a multiple CPU system when a logical station number is specified is not available ...

Page 36: ...iveEx function Random Random write mdRandWEx function random read mdRandREx function bit set mdDevSetEx function bit reset mdDevRstEx function random write by using a label name mdRandWLabelEx function random read by using a label name mdRandRLabelEx function Bit devices can be accessed by using bit set mdDevSetEx function and bit reset mdDevRstEx function Device extension specifications digit spe...

Page 37: ...er Coil LC Batch random Timer Current value T Batch random Long timer Current value LT Batch random Counter Current value C Batch random Long counter Current value LC Batch random Data register D Batch random 1 Special register SD Batch random 1 Index register Z Batch random Long index register LZ Batch random File register R Batch random 2 ZR Batch random 2 Refresh data register RD Batch random L...

Page 38: ...ed memory CPU buffer memory CPU No 1 area Batch 1 Random CPU shared memory CPU buffer memory CPU No 2 area Batch 1 Random CPU shared memory CPU buffer memory CPU No 3 area Batch 1 Random CPU shared memory CPU buffer memory CPU No 4 area Batch 1 Random Fixed cycle communication area CPU No 1 area Batch Random Fixed cycle communication area CPU No 2 area Batch Random Fixed cycle communication area C...

Page 39: ...ws Channel number Network Communication route 12 Bus interface Used for communication via a bus 151 to 158 CC Link IE Controller Network Used for communication via a CC Link IE Controller Network module controlled by a C Controller module 181 to 188 CC Link IE Field Network Used for communication via a CC Link IE Field Network module controlled by a C Controller module 51 to 54 MELSECNET H network...

Page 40: ...rmance should be ensured such as control program 4 The group number and all stations specification is valid when the SEND function mdSendEX message send function with no arrival confirmation specification is used 5 The group number can be specified when CC Link IE Controller Network and MELSECNET H network are used 6 125 7DH is valid when CC Link IE Field Network master station station number 0 is...

Page 41: ... Own station 255 FFH Other stations 0 0H to 63 3FH 65 41H to 239 EFH 4 5 Upper lower Setting item Setting value Description Upper Network number 1 1H to 239 EFH Set this to specify other stations in the own network or each station on other networks Set this to issue a sending request to any of CC Link IE Field Network CC Link IE Controller Network MELSECNET H network or MELSECNET 10 network Lower ...

Page 42: ...B2 CPU No 3 area U3E2 HG 513 201H DevHSPB3 CPU No 4 area U3E3 HG 514 202H DevHSPB4 Annunciator F 6 6H DevF Timer Contact T 7 7H DevTT Coil T 8 8H DevTC Current value T 11 BH DevTN Long timer Contact LT 41 29H DevLTT Coil LT 42 2AH DevLTC Current value LT 43 2BH DevLTN Counter Contact C 9 9H DevCT Coil C 10 AH DevCC Current value C 12 CH DevCN Long counter Contact Contact LC 44 2CH DevLCT Coil LC 4...

Page 43: ...7 25FH DevGV_6 For bit 7 608 260H DevGV_7 For bit 8 609 261H DevGV_8 For bit 9 610 262H DevGV_9 For bit A 611 263H DevGV_A For bit B 612 264H DevGV_B For bit C 613 265H DevGV_C For bit D 614 266H DevGV_D For bit E 615 267H DevGV_E For bit F 616 268H DevGV_F Link direct device 3 5 Argument value of device name 1 to 255 Network number Link input J X 1001 to 1255 3E9H to 4E7H DevLX 1 to DevLX 255 Lin...

Page 44: ...es shown in the following table can be specified in the user program For sending receiving message Device Device type Code Device name Decimal Hexadecimal SEND function with arrival confirmation and RECV function 101 65H DevMAIL SEND function without arrival confirmation 102 66H DevMAILNC Device Device type Code Device name Decimal Hexadecimal SEND function with arrival confirmation and RECV funct...

Page 45: ...ne which is executed in an interrupt service routine ISR InterruptServiceRoutine To use another dedicated function by synchronizing it to an interrupt implement the notification processing in a user program and perform it in a task Setting an inappropriate value or executing a function other than a C Controller module dedicated function for ISR from an interrupt service routine may cause the VxWor...

Page 46: ...ryWDTInt CCPU_FromBuf To read data from the CPU buffer memory of the CPU module and the buffer memory of the intelligent function module which are mounted on the specified module position FROM instruction Page 67 CCPU_FromBuf CCPU_FromBufHG To read data from the fixed cycle communication area of the CPU module mounted on the specified module position Page 68 CCPU_FromBufHG CCPU_GetCCIEFBDiagnostic...

Page 47: ... WDT of a C Controller module Page 105 CCPU_StopWDT CCPU_SysClkRateGet To read the system clock rate specified with the CCPU_SysClkRateSet function from the backup RAM Page 106 CCPU_SysClkRateGet CCPU_SysClkRateSet To store the specified system clock rate in the backup RAM Page 107 CCPU_SysClkRateSet CCPU_ToBuf To write data to the CPU buffer memory of the CPU module host CPU and the buffer memory...

Page 48: ...SR CCPU_RegistEventLog_ISR To register an event log in the event history of a C Controller module Page 134 CCPU_RegistEventLog_ISR CCPU_ResetDevice_ISR To reset internal user devices and internal system devices bit devices of C Controller module Page 133 CCPU_ReadDevice_ISR CCPU_SetDevice_ISR To set internal user devices and internal system devices bit devices of C Controller module Page 136 CCPU_...

Page 49: ...o mdInit To initialize the communication route information Page 153 mdInit mdOpen To open a communication line channel Page 154 mdOpen mdRandREx To read devices randomly Page 155 mdRandREx mdRandRLabelEx To read devices corresponding to labels randomly Page 158 mdRandRLabelEx mdRandWEx To write devices randomly Page 161 mdRandWEx mdRandWLabelEx To write devices corresponding to labels randomly Pag...

Page 50: ...hangeCCIEFBCycPrm function set the parameters of CC Link IE Field Network Basic with CW Configurator Otherwise an error response will be returned The timeout time usTimeout of the specified slave station operates in tick units The parameters set with the CCPU_ChangeCCIEFBCycPrm function are applied in the next link scan The CCPU_ChangeCCIEFBCycPrm function waits for the completion of the operation...

Page 51: ...ge the file access mode sMode use the security password Return value Relevant function Page 76 CCPU_GetFileSecurity Argument Name Description IN OUT sMode File access mode Specify the file access mode When Reserved is specified this function ends normally without processing 0 Access restriction clear mode 1 Access restriction mode Others Reserved IN pcPass Password Specify the security password IN...

Page 52: ...le When no error occurs this function ends normally When a stop error has occurred the error cannot be cleared This function ends normally Return value Relevant function Page 75 CCPU_GetErrInfo Argument Name Description IN OUT plErrorInfo Error information Unused Even if a value is specified the operation is not affected IN Return value Description 0 0000H Normal Other than 0 Error For details on ...

Page 53: ... operation However since the remote operation by this function is effective even when the RUN STOP RESET switch is put in the STOP state a C Controller module operates according to the last specified remote operation once the RUN STOP RESET switch is switched from STOP to RUN Return value Argument Name Description IN OUT sCpuNo CPU number Specify the target CPU module number Specify 0 to perform t...

Page 54: ...o be executed in word units Specify 0 if there is no setting data IN psArg4 Setting data 4th 1 Specify the fourth setting data for the dedicated instruction to be executed Specify NULL if there is no setting data IN OUT sArg4Size Setting data size 4th 1 Specify the size of the fourth setting data for the dedicated instruction to be executed in word units Specify 0 if there is no setting data IN ps...

Page 55: ...nexpected operation Make sure to refer to the manual for dedicated instruction to specify the argument Return value Relevant functions Page 54 CCPU_DedicatedGInst Page 56 CCPU_DedicatedJInst Page 58 CCPU_DedicatedMInst Instruction name Description Instruction CHGA To request a motion CPU to change the current value D CHGA DP CHGA CHGAS To request a motion CPU to change the current value D CHGAS DP...

Page 56: ...cuted in word units Specify 0 if there is no setting data IN psArg4 Setting data 4th 1 Specify the fourth setting data for the dedicated instruction to be executed Specify NULL if there is no setting data IN OUT sArg4Size Setting data size 4th 1 Specify the size of the fourth setting data for the dedicated instruction to be executed in word units Specify 0 if there is no setting data IN psArg5 Set...

Page 57: ... may be normal even if wrong argument or size is specified Make sure to check the completion status by referring to the manual of the dedicated instruction Specifying an incorrect argument may result in unexpected operation Make sure to refer to the manual for dedicated instruction to specify the argument Return value Relevant functions Page 52 CCPU_DedicatedDInst Page 56 CCPU_DedicatedJInst Page ...

Page 58: ...y 0 if there is no setting data IN psArg4 Setting data 4th 1 Specify the fourth setting data for the dedicated instruction to be executed Specify NULL if there is no setting data IN OUT sArg4Size Setting data size 4th 1 Specify the size of the fourth setting data for the dedicated instruction to be executed in word units Specify 0 if there is no setting data IN psArg5 Setting data 5th 1 Specify th...

Page 59: ...d instruction the return value of this function may be normal even if wrong argument or size is specified Make sure to check the completion status by referring to the manual of the dedicated instruction Specifying an incorrect argument may result in unexpected operation Make sure to refer to the manual for dedicated instruction to specify the argument Return value Relevant functions Page 52 CCPU_D...

Page 60: ...d instruction to be executed in word units Specify 0 if there is no setting data IN psArg4 Setting data 4th 1 Specify the fourth setting data for the dedicated instruction to be executed Specify NULL if there is no setting data IN OUT sArg4Size Setting data size 4th 1 Specify the size of the fourth setting data for the dedicated instruction to be executed in word units Specify 0 if there is no set...

Page 61: ...e to refer to the manual for dedicated instruction to specify the argument Return value Relevant functions Page 52 CCPU_DedicatedDInst Page 54 CCPU_DedicatedGInst Page 56 CCPU_DedicatedJInst Instruction name Description Instruction GINT Issues an interrupt to motion CPU and C Controller module M GINT MP GINT MCNST To request a motion CPU to start a machine program operation M MCNST MP MCNST BITWR ...

Page 62: ...nction The routine is not executed when an interrupt occurs Specify the interrupt pointer number sSINo specified in the CCPU_EntryInt function to Interrupt pointer number sSINo Return value Relevant functions Page 64 CCPU_EntryInt Page 61 CCPU_EnableInt Argument Name Description IN OUT sSINo Interrupt pointer number Specify the interrupt pointer number IN Return value Description 0 0000H Normal Ot...

Page 63: ...SINo specified in the CCPU_EntryInt function to Interrupt pointer number sSINo Since an interrupt does not occur while a stop error is occurring in a C Controller module the routine registered with the CCPU_EntryInt function will not be executed even if it is enabled Return value Relevant functions Page 64 CCPU_EntryInt Page 60 CCPU_DisableInt Argument Name Description IN OUT sSINo Interrupt point...

Page 64: ...can of CC Link IE Field Network Basic for the specified group When the CCPU_EndCCIEFBDataAssurance function is executed the cyclic transmission of the CC Link IE Field Network Basic function is restarted Return value Relevant function Page 103 CCPU_StartCCIEFBDataAssurance Argument Name Description IN OUT usGroupNo Group No Specify a group number to end data assurance 1 to 4 IN Return value Descri...

Page 65: ...where the CC Link IE Field Network Basic function operates Do not perform processing which causes a block or long processing which occupies a CPU because these processings can affect link scan time Execute a long processing which occupies a CPU for a long time on another task The affect on link scan time can be checked with a maximum link scan time of a buffer memory Do not call the CCPU_ChangeCCI...

Page 66: ...ine ISR Register minimal processing of a routine so that the processing time is as short as possible Only the C Controller module dedicated function for ISR can be used for a routine to be registered Do not use any other function An error of a function to be registered is not checked When the CCPU_EntryInt function is executed multiple times by specifying the same interrupt pointer number sSINo th...

Page 67: ...specify 0 to the cycle and then register the cycle specify the cycle again Otherwise an error will be returned The registered timer event can be placed into the wait state with the CCPU_WaitTimerEvent function All the timer events are cleared at the initial status Return value Relevant function Page 114 CCPU_WaitTimerEvent Argument Name Description IN OUT plEvent Registered event Specify a timer e...

Page 68: ...d in the registered routine pFuncPtr note the following A routine to be registered must not have an argument Do not pass an argument from an interrupt When registering a routine observe the considerations on the interrupt service routine ISR Register minimal processing of a routine so that the processing time is as short as possible Only the C Controller module dedicated function for ISR can be us...

Page 69: ...ory of an intelligent function module To access the CPU buffer memory of the module in a multiple CPU system CPU No 1 to No 4 specify 3E0H to 3E3H CPU No 1 to No 4 to the module position usIoNo However the CPU buffer memory can be accessed only when the multiple CPU setting is configured Precautions Note that the size of data storage destination ulBufSize should be equal to or bigger than the data...

Page 70: ...communication area can be accessed only when the fixed cycle communication area setting under the multiple CPU setting is configured Precautions Note that the size of data storage destination ulBufSize should be equal to or bigger than the data size ulSize Return value Relevant functions Page 67 CCPU_FromBuf Page 108 CCPU_ToBuf Page 109 CCPU_ToBufHG Argument Name Description IN OUT usIoNo Module p...

Page 71: ...1 Diagnostic information 1 Number of occupied stations Number of occupied stations of the specified slave station psStatusBuf 2 Group No Group number of the specified slave station psStatusBuf 3 IP address lower IP address lower of the specified slave station psStatusBuf 4 IP address upper IP address upper of the specified slave station psStatusBuf 5 to psStatusBuf 10 Reserved psStatusBuf 11 Accum...

Page 72: ...functions refer to the following manual MELSEC iQ R C Controller Module User s Manual Application Return value Relevant function Page 75 CCPU_GetErrInfo Argument Name Description IN OUT pusStatusBuf Fixed cycle processing status storage destination Specify the fixed cycle processing status storage destination OUT ulBufSize Fixed cycle processing status storage destination size Specify the fixed cy...

Page 73: ... value in the 1μs counter value storage destination pulMicros The 1 μs counter value increases by 1 every 1 μs after the power is turned ON The count cycles between 0 and 4294967295 Return value Relevant function Page 72 CCPU_GetCounterMillis Argument Name Description IN OUT pulMicros 1μs counter value storage destination Specify the storage destination of the 1μs counter value OUT Return value De...

Page 74: ...alue in the 1 ms counter value storage destination pulMillis The 1 ms counter value increases by 1 every 1 ms after the power is turned ON The count cycles between 0 and 4294967295 Return value Relevant function Page 71 CCPU_GetCounterMicros Argument Name Description IN OUT pulMillis 1 ms counter value storage destination Specify the storage destination of the 1 ms counter value OUT Return value D...

Page 75: ...reserved in the operating status storage destination in double word units When 0 is specified this function ends normally without processing IN plStatusBuf Description Storage position Status plStatusBuf 0 bit31 to 8 Reserved bit7 to 4 Cause of STOP PAUSE 0 RUN STOP RESET switch 1 Reserved 2 Reserved 3 Execution of the CCPU_Control function from a user program 4 Error 5 Remote operations Others Re...

Page 76: ...ach column Bit pattern in which 0 is for the upper one bit and 1 when LED is ON or 0 when LED is OFF is for lower seven bits Ex The bit pattern shown below is displayed on the dot matrix LED 1st column 0000 0111b 07H pcData 0 0x07 2nd column 0000 1100b 0cH pcData 1 0x0c 3rd column 0001 0100b 14H pcData 2 0x14 4th column 0010 0100b 24H pcData 3 0x24 5th column 0111 1111b 7fH pcData 4 0x7f 6th colum...

Page 77: ...e error information storage destination OUT ulBufSize Error information storage destination size Specify the error information storage destination size in word units When 0 is specified this function ends normally without processing IN pusErrorInfo Description pusErrorInfo 0 Self diagnostics error code 1 pusErrorInfo 1 Self diagnostics error code 2 pusErrorInfo 2 Self diagnostics error code 3 pusE...

Page 78: ...tion acquires the current file access mode and stores it to the file access mode psMode Return value Relevant function Page 49 CCPU_ChangeFileSecurity Argument Name Description IN OUT psMode File access mode Stores the file access mode 0 Access restriction clear mode 1 Access restriction mode OUT Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the follo...

Page 79: ...ation storage destination pucGetData is as follows Return value Relevant function Page 83 CCPU_GetSerialNo Argument Name Description IN OUT pucGetData Individual identification information storage destination Specify the individual identification information storage destination OUT ulBufSize Individual identification information storage destination size Specify the individual identification inform...

Page 80: ...ified the specified LED status is stored in pusLedInfo 0 Argument Name Description IN OUT lLed Target LED Specify the target LED When Reserved is specified this function ends normally without processing 0 READY LED 1 ERROR LED 2 BUS RUN LED 3 CARD RDY LED 4 USER LED 5 USB RDY LED 6 RS SD RD LED 1 All of the LEDs above Others Reserved IN pusLedInfo LED status storage destination Specify the storage...

Page 81: ...roller Module Dedicated Functions 79 3 Return value Relevant function Page 75 CCPU_GetErrInfo Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the following chapter Page 174 ERROR CODE LIST ...

Page 82: ... Name Description IN OUT lModeInfo Mode information Specify the mode information 1 Operation selection mode when the MODE SELECT switch is held in the SELECT position 2 Display mode of a dot matrix LED Others Reserved IN plSelectMode Operation selection mode Specify the storage destination of the acquired operation mode OUT plSelectMode Description 1 Notifies event to the user program 2 Unmounts S...

Page 83: ...n the power status storage destination plStatusBuf is as follows Return value Relevant function Page 75 CCPU_GetErrInfo Argument Name Description IN OUT plStatusBuf Power status storage destination Specify the storage destination of the power status OUT ulBufSize Power status storage destination size Specify the power status storage destination size in double word units When 0 is specified this fu...

Page 84: ...en information is acquired Return value Relevant function Page 101 CCPU_SetRTC Argument Name Description IN OUT psGetData Clock data storage destination Specify the storage destination of the clock data local time OUT ulBufSize Clock data storage destination size Specify the clock data local time storage destination size in word units When 0 is specified this function ends normally without process...

Page 85: ...res the information for the size specified to the serial number storage destination size ulDataSize Return value Relevant function Page 77 CCPU_GetIDInfo Argument Name Description IN OUT pcGetData Serial number storage destination Specify the serial number storage destination OUT ulDataSize Serial number storage destination size Specify the serial number storage destination in byte units When 0 is...

Page 86: ...StatusBuf is as follows Return value Argument Name Description IN OUT plStatusBuf Switch status storage destination Specify the switch status storage destination OUT ulBufSize Switch status storage destination size Specify the switch status storage destination size in double word units When 0 is specified this function ends normally without processing IN plStatusBuf Description Storage position St...

Page 87: ...storage destination of module configuration information 1 OUT pusUnitInfo2 Module configuration information 2 Specify the storage destination of module configuration information 2 OUT pusUnitInfo3 Module configuration information 3 Specify the storage destination of module configuration information 3 OUT pusUnitInfo1 0 pusUnitInfo1 1 pusUnitInfo1 63 pusUnitInfo1 64 pusUnitInfo2 0 pusUnitInfo2 1 pu...

Page 88: ... 0010 Output module 0011 Base unit 0100 Reserved 0101 Reserved 0110 I O combined module 0111 Empty 1000 Intelligent function module 1001 CPU 1010 Bus extension module 1011 Reserved 1100 Reserved 1101 Reserved 1110 Reserved 1111 Module other than above bit3 0 Input output point information 0000 16 points 0001 32 points 0010 48 points 0011 64 points 0100 128 points 0101 256 points 0110 512 points 01...

Page 89: ...ints 111 1024 points pusUnitInfo2 0 64 bit15 0 Reserved pusUnitInfo3 0 64 bit15 0 Reserved Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the following chapter Page 174 ERROR CODE LIST pusUnitInfo1 0 pusUnitInfo1 1 pusUnitInfo1 63 pusUnitInfo1 64 pusUnitInfo2 0 pusUnitInfo2 1 pusUnitInfo2 63 pusUnitInfo2 64 pusUnitInfo3 0 pusUnitInfo3 1 pusUnitInfo3 63...

Page 90: ...n ends normally without processing Use this function to access an SD memory card again without removing it after unmounting the SD memory card with the CCPU_UnmountMemoryCard function while the power is ON This function does not need to be executed since an SD memory card is automatically mounted when it is replaced Precautions The USB Mass Storage Class compliant device cannot be mounted using th...

Page 91: ...ns Note that the size of data storage destination ulBufSize should be equal to or bigger than the data size ulSize Return value Relevant function Page 117 CCPU_WriteDevice Argument Name Description IN OUT sDevType Device type Specify the device type Page 9 Argument specification IN ulDevNo Start device number Specify the start device number Only multiples of 16 can be specified for bit devices IN ...

Page 92: ...k module which are specified to the module position usIoNo and stores it in the data storage destination pusDataBuf Precautions Note that the size of data storage destination ulBufSize should be equal to or bigger than the data size ulSize Return value Relevant function Page 118 CCPU_WriteLinkDevice Argument Name Description IN OUT usIoNo Module position Specify the module position as follows Star...

Page 93: ...the event history IN pcEventMsg Detailed information Specify detailed information character string data of an event to be registered in the event history The detailed information character string data of an event can be specified up to 200 bytes When NULL is specified the detailed information is not registered IN Item Description Occurrence Date Event registered date and time Event Type Operation ...

Page 94: ...ting status of a C Controller module refer to the following manual MELSEC iQ R C Controller Module User s Manual Application When this function is executed no value is returned because a C Controller module is restarted from an operating system All programs are forcibly terminated Return value Relevant functions Page 110 CCPU_UnmountMemoryCard Page 102 CCPU_ShutdownRom File access destination Desc...

Page 95: ...n resets turns OFF the device of a C Controller module specified to the device type sDevType and the start device number ulDevNo Return value Relevant function Page 96 CCPU_SetDevice Argument Name Description IN OUT sDevType Device type Specify the device type Page 9 Argument specification IN ulDevNo Start device number Specify the start device number IN Return value Description 0 0000H Normal Oth...

Page 96: ...n is executed without starting the user WDT an error will be returned Return value Relevant functions Page 104 CCPU_StartWDT Page 105 CCPU_StopWDT Page 66 CCPU_EntryWDTInt Argument Name Description IN OUT sType WDT type Specify the WDT type If reserve is specified an error is returned 0 User WDT Others Reserved IN Return value Description 0 0000H Normal Other than 0 Error For details on the error ...

Page 97: ...nction restores the all group operation parameters of cyclic transmission to their default value which are set in the parameter The parameters set with the CCPU_RestoreDefaultCCIEFBCycPrm function are applied in the next link scan The CCPU_RestoreDefaultCCIEFBCycPrm function waits for the completion of the operation parameter application Return value Relevant function Page 48 CCPU_ChangeCCIEFBCycP...

Page 98: ...ion sets turns ON the device of a C Controller module specified to the device type sDevType and the start device number ulDevNo Return value Relevant function Page 93 CCPU_ResetDevice Argument Name Description IN OUT sDevType Device type Specify the device type Page 9 Argument specification IN ulDevNo Device number Specify the device number IN Return value Description 0 0000H Normal Other than 0 E...

Page 99: ...and 1 when LED is ON or 0 when LED is OFF is for lower seven bits Ex The bit pattern shown below is output to the dot matrix LED 1st column 0000 0111b 07H pcData 0 0x07 2nd column 0000 1100b 0cH pcData 1 0x0c 3rd column 0001 0100b 14H pcData 2 0x14 4th column 0010 0100b 24H pcData 3 0x24 5th column 0111 1111b 7fH pcData 4 0x7f 6th column to 20th column 0000 0000b 00H pcData 5 to pcData 19 0x00 Arg...

Page 100: ...put mode usLedMode Precautions To display data on the dot matrix LED selecting USER in the operation selection mode is required MELSEC iQ R C Controller Module User s Manual Startup When checking an operation or checking the selected operation with the MODE SELECT switch an error occurs at the time of executing the CCPU_SetDotMatrixLED function even when USER is selected in the operation selection...

Page 101: ...tion usLedInfo Return value Relevant function Page 78 CCPU_GetLEDStatus Argument Name Description IN OUT lLed Target LED Specify the target LED When Reserved is specified this function ends normally without processing 0 USER LED Others Reserved IN usLedInfo LED status information Specify the LED status information IN usLedInfo Description 0 OFF 1 ON Red 2 Flashing at low speed Red 3 Flashing at hi...

Page 102: ...CCPU_GetOpSelectMode Argument Name Description IN OUT lModeInfo Mode information Specify the mode information IN lSelectMode Operation selection mode Specify the operation selection mode IN lModeInfo lSelectMode Description 1 1 Notifies event to the user program when holding the MODE SELECT switch in the SELECT position 2 Unmounts SD memory card forcibly when holding the MODE SELECT switch in the ...

Page 103: ...stered When the daylight saving time function is enabled an error is returned if clock data less than one hour from the start date and time of daylight saving time is set Precautions The clock data local time set with this function are not reflected to the clock of the operating system VxWorks Return value Relevant function Page 82 CCPU_GetRTC Argument Name Description IN OUT psSetData Clock data ...

Page 104: ...and data memory is possible When calling this function make sure to stop accessing files in the program memory and data memory and close all files Otherwise data corruption or a file system error may occur Always turn the power of the system OFF or reset the CPU module after checking that a shutdown is completed If operation is continued an error occurs when accessing files in the program memory a...

Page 105: ... the CCPU_EndCCIEFBDataAssurance function only for the thread where the data assurance has been started using the CCPU_StartCCIEFBDataAssurance function When the CCPU_StartCCIEFBDataAssurance function is executed in multiple threads the function executed later waits for the completion of the previously executed data assurance function waits until the timeout value ulTimeout reaches the time set wi...

Page 106: ...r When a user WDT error occurs a C Controller module will be in the stop error state The BUS RUN LED turns OFF and the ERROR LED starts flashing When this function is executed while the WDT is running an error will be returned Return value Relevant functions Page 94 CCPU_ResetWDT Page 105 CCPU_StopWDT Page 66 CCPU_EntryWDTInt Argument Name Description IN OUT sType WDT type Specify the WDT type If ...

Page 107: ...ction is executed without starting the user WDT it ends normally Return value Relevant functions Page 104 CCPU_StartWDT Page 94 CCPU_ResetWDT Page 66 CCPU_EntryWDTInt Argument Name Description IN OUT sType WDT type Specify the WDT type If reserve is specified an error is returned 0 User WDT Others Reserved IN Return value Description 0 0000H Normal Other than 0 Error For details on the error refer...

Page 108: ...up RAM Precautions The read value may not correspond to the system clock rate in operation To check the system clock rate in operation use the sysClkRateGet function of VxWorks Return value Relevant function Page 107 CCPU_SysClkRateSet Argument Name Description IN OUT psTicks Clock rate Stores the system clock rate in the unit of clock frequency Hz per one second 0 Default value 60 Hz 60 to 1000 S...

Page 109: ...by specifying the same clock rate value as the first time the restart necessity flag psRestart will be 0 restart is not required regardless of the system clock rate value in operation Use this function to change the system clock rate If the sysClkRateSet function of VxWorks is used the operation of VxWorks will be unstable Return value Relevant function Page 106 CCPU_SysClkRateGet Argument Name De...

Page 110: ...igent function module To access the CPU buffer memory host CPU of the module in a multiple CPU system CPU No 1 to No 4 specify 3E0H CPU No 1 to 3E3H CPU No 4 to the module position usIoNo However the CPU buffer memory host CPU can be accessed only when the multiple CPU setting is configured When executing this function while the operating status of a CPU module is not RUN the STOP PAUSE error 2864...

Page 111: ...xed cycle communication area can be accessed only when the fixed cycle communication area setting under the multiple CPU setting is configured When executing this function while the operating status of a CPU module is not RUN the STOP PAUSE error 28640 occurs Return value Relevant functions Page 67 CCPU_FromBuf Page 108 CCPU_ToBuf Page 68 CCPU_FromBufHG Argument Name Description IN OUT usIoNo Modu...

Page 112: ...ed to the target drive sDrive is Inserted mounted The status can be checked with the CCPU_GetCpuStatus function When the drive specified to the target drive sDrive has already been unmounted this function ends normally without processing Precautions Design a program so that accessing files in the target drive is stopped and all files are closed before calling this function If this function is call...

Page 113: ...ecify the programmable controller CPU or C Controller module to the CPU number Otherwise an error will be returned Design a program so that this function is not called simultaneously by specifying the same event number interrupt pointer number from multiple tasks Otherwise the execution of the interrupt event notified task is unpredictable Argument Name Description IN OUT psEvent Interrupt event s...

Page 114: ... event 10 for CPU No 2 occurs 2 and 10 are returned to psSetEventNo 0 and psSetEventNo 1 respectively Precautions Do not set the clock data of a C Controller module while executing this function Otherwise this function does not operate properly This function may not be completed Return value Relevant function Page 115 CCPU_WaitUnitEvent Return value Description 0 0000H Normal Other than 0 Error Fo...

Page 115: ...e the switch interrupt event by holding the MODE SELECT switch in the SELECT position selecting EVENT in the operation selection mode is required MELSEC iQ R C Controller Module User s Manual Startup For the SELECT switch interrupt event an event issuance status cannot be judged from the appearance To check the issued status of SELECT switch interrupt event implement the processing such as receivi...

Page 116: ...ration variation depends on the specified value of synchronization type of the timer event number with the CCPU_EntryTimerEvent function When the synchronization type is batch synchronization the wait state of all tasks that are waiting for an event is canceled However if there is no task in the wait state at event occurrence the wait state will not be canceled even if the CCPU_WaitTimerEvent func...

Page 117: ... The specified timeout value is rounded to tick unit Specify a timeout value of one tick or more Design a program so that this function is not called simultaneously by specifying the same interrupt event interrupt pointer number from multiple tasks Otherwise the execution of the interrupt event notified task is unpredictable When an interrupt event is notified return value of this function is norm...

Page 118: ...e as follows Precautions Do not set the clock data of a C Controller module while executing this function Otherwise this function does not operate properly This function may not be completed Return value Relevant function Page 111 CCPU_WaitEvent Event number Interrupt pointer number Interrupt factor Notes 0 to 15 Interrupt by module 16 to 49 Reserved 50 to 1023 Interrupt by module Set with CW Conf...

Page 119: ...ified to the device type sDevType and the start device number ulDevNo Return value Relevant functions Page 89 CCPU_ReadDevice Argument Name Description IN OUT sDevType Device type Specify the device type Page 9 Argument specification IN ulDevNo Start device number Specify the start device number Only multiples of 16 can be specified for bit devices IN ulSize Data size Specify the write data size i...

Page 120: ...E Controller Network module CC Link IE Field Network module Ethernet module when CC Link IE Field Network is selected and MELSECNET H network module which are specified to the module position usIoNo Return value Relevant functions Page 90 CCPU_ReadLinkDevice Argument Name Description IN OUT usIoNo Module position Specify the module position as follows Start I O number divided by 16 0H to FFH IN sD...

Page 121: ...nt When the specified area is empty this function ends normally without processing read data 0 When it is output module the I O assignment error occurs Return value Relevant functions Page 120 CCPU_X_In_WordEx Page 123 CCPU_Y_Out_BitEx Page 124 CCPU_Y_Out_WordEx Page 121 CCPU_Y_In_BitEx Page 122 CCPU_Y_In_WordEx Argument Name Description IN OUT sFlg Access flag Specify an access flag 0 Normal acce...

Page 122: ...is stored in the data storage destination pusDataBuf in ascending order from the lower bit as shown below Precautions Note that the size of data storage destination usBufSize should be equal to or bigger than the read data size usSize Return value Relevant functions Page 119 CCPU_X_In_BitEx Page 123 CCPU_Y_Out_BitEx Page 124 CCPU_Y_Out_WordEx Page 121 CCPU_Y_In_BitEx Page 122 CCPU_Y_In_WordEx Argu...

Page 123: ...ead data 0 When it is input module the I O assignment error occurs No error will occur even if this function is executed when the operating status of a CPU module is STOP or PAUSE An output signal Y is read at execution of this function Return value Relevant functions Page 119 CCPU_X_In_BitEx Page 120 CCPU_X_In_WordEx Page 123 CCPU_Y_Out_BitEx Page 124 CCPU_Y_Out_WordEx Page 122 CCPU_Y_In_WordEx A...

Page 124: ...e is STOP or PAUSE An output signal Y is read at execution of this function Read data is stored in the data storage destination pusDataBuf in ascending order from the lower bit as shown below Precautions Note that the size of data storage destination usBufSize should be equal to or bigger than the read data size usSize Return value Relevant functions Page 119 CCPU_X_In_BitEx Page 120 CCPU_X_In_Wor...

Page 125: ...r occurs When this function is executed to input module the I O assignment error occurs Do not specify an output module controlled by other CPUs to the output signal usYNo If it is specified no operation is performed to the output module Return value Relevant functions Page 119 CCPU_X_In_BitEx Page 120 CCPU_X_In_WordEx Page 124 CCPU_Y_Out_WordEx Page 121 CCPU_Y_In_BitEx Page 122 CCPU_Y_In_WordEx A...

Page 126: ...o operation is performed to the output module Store output data in the data storage destination pusDataBuf in ascending order from the lower bit as shown below Return value Relevant functions Page 119 CCPU_X_In_BitEx Page 120 CCPU_X_In_WordEx Page 123 CCPU_Y_Out_BitEx Page 121 CCPU_Y_In_BitEx Page 122 CCPU_Y_In_WordEx Argument Name Description IN OUT sFlg Access flag Specify an access flag 0 Norma...

Page 127: ...nction The routine is not executed when an interrupt occurs Specify the interrupt pointer number sSINo specified in the CCPU_EntryInt function to Interrupt pointer number sSINo WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module Return value Relevant function Page 64 CCPU_EntryInt Page 126 CCPU_Enabl...

Page 128: ..._EntryInt function to Interrupt pointer number sSINo Since an interrupt does not occur while a stop error is occurring in a C Controller module the routine registered with the CCPU_EntryInt function will not be executed even if it is enabled WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module Return ...

Page 129: ... module position usIoNo However the CPU buffer memory can be accessed only when the multiple CPU setting is configured Do not execute this function in a routine other than an interrupt routine WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified argument When...

Page 130: ...ne other than an interrupt routine WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified argument When creating a program note the following An address specified to the read data is a multiple of 2 A data area for the size words of the read data is reserved A ...

Page 131: ... and stores the value in the 1μs counter value storage destination pulMicros The 1 μs counter value increases by 1 every 1 μs after the power is turned ON The count cycles between 0 and 4294967295 Do not execute this function in a routine other than an interrupt routine Return value Relevant function Page 130 CCPU_GetCounterMillis_ISR Argument Name Description IN OUT pulMicros 1μs counter value st...

Page 132: ...nd stores the value in the 1 ms counter value storage destination pulMillis The 1 ms counter value increases by 1 every 1 ms after the power is turned ON The count cycles between 0 and 4294967295 Do not execute this function in a routine other than an interrupt routine Return value Relevant function Page 129 CCPU_GetCounterMicros_ISR Argument Name Description IN OUT pulMillis 1 ms counter value st...

Page 133: ...a of the dot matrix LED 7 20 The value displayed in the following format is acquired Data format for each column Bit pattern in which 0 is for the upper one bit and 1 when LED is ON or 0 when LED is OFF is for lower seven bits Ex The bit pattern shown below is displayed on the dot matrix LED 1st column 0000 0111b 07H pcData 0 0x07 2nd column 0000 1100b 0cH pcData 1 0x0c 3rd column 0001 0100b 14H p...

Page 134: ...nctions WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module Return value Relevant function Page 137 CCPU_SetDotMatrixLED_ISR Return value Description 0 0000H Normal ...

Page 135: ... WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified argument When creating a program note the following A data area for the size words of the read data is reserved A device which is out of the range is not specified Return value Relevant function Page 142 C...

Page 136: ...not specified Return value Argument Name Description IN OUT lEventCode Detailed code Specify a detailed event code to be registered in the event history IN pcEventMsg Detailed information Specify detailed information character string data of an event to be registered in the event history The detailed information character string data of an event can be specified up to 200 bytes When NULL is specif...

Page 137: ...t execute this function in a routine other than an interrupt routine WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified argument When creating a program note the following A device which is out of the range is not specified Return value Relevant function Pa...

Page 138: ... execute this function in a routine other than an interrupt routine WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified argument When creating a program note the following A device which is out of the range is not specified Return value Relevant function Pag...

Page 139: ...1b 7fH pcData 4 0x7f 6th column to 20th column 0000 0000b 00H pcData 5 to pcData 19 0x00 Description This function displays the value specified to the LED data pcData on the dot matrix LED Do not execute this function in a routine other than an interrupt routine Do not execute this function when a mode other than USER is selected in the operation selection mode An unintended value may be displayed...

Page 140: ...nctions WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module Return value Relevant function Page 131 CCPU_GetDotMatrixLED_ISR Return value Description 0 0000H Normal ...

Page 141: ...this function in a routine other than an interrupt routine WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module Return value Relevant functions Page 99 CCPU_SetLEDStatus Argument Name Description IN OUT lLed Target LED Unused Even if a value is specified the operation is not affected IN usLedInfo LED ...

Page 142: ... is not RUN the STOP PAUSE error 28640 occurs Do not execute this function in a routine other than the one registered in the interrupt When data is written to the same CPU buffer memory host CPU from a routine other than an interrupt routine the output value may be overlapped resulting in an invalid value Manage the resource so that data is not written to the same CPU buffer memory host CPU WARNIN...

Page 143: ...upt routine When data is written to the same fixed cycle communication area from a routine other than an interrupt routine the output value may be overlapped resulting in an invalid value Manage the resource so that data is not written to the same fixed cycle communication area WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may...

Page 144: ...lapped resulting in an invalid value Manage the resource so that data is not written to the same device WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified argument When creating a program note the following An address specified to the write data is a multip...

Page 145: ...below Do not execute this function in a routine other than an interrupt routine Do not execute this function to an I O assignment on which an intelligent function module or an interrupt module is mounted WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified ar...

Page 146: ...low Do not execute this function in a routine other than an interrupt routine Do not execute this function to an I O assignment on which an intelligent function module or an interrupt module is mounted WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not check the specified argu...

Page 147: ...output to the same output signal Y from a routine other than an interrupt routine the output value may be overlapped resulting in an invalid value Manage the resource so that data is not output to the same output signal Y WARNING If any function in which an invalid argument is specified is executed an error such as hardware failure 3C02H may occur on C Controller module This function does not chec...

Page 148: ...ong lPath Argument Description This function closes the channel opened by the mdOpen function When using multiple channels close the channel one by one Return value Relevant functions Page 154 mdOpen Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the follow...

Page 149: ...nnot be executed for C Controller module PC CPU module and WinCPU module Return value Relevant functions Page 154 mdOpen Page 146 mdClose Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN sStNo Station number Specify the network number and station number of the target module Page 9 Argument specification IN sCode Instruction code Specify the contents ...

Page 150: ...al relay M Return value Relevant functions Page 154 mdOpen Page 146 mdClose Page 149 mdDevSetEx Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN lNetNo Network number Specify the network number of target module IN lStNo Station number Specify the station number of target module Page 9 Argument specification IN lDevType Device type Specify the device ...

Page 151: ... relay M Return value Relevant functions Page 154 mdOpen Page 146 mdClose Page 148 mdDevRstEx Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN lNetNo Network number Specify the network number of target module IN lStNo Station number Specify the station number of target module Page 9 Argument specification IN lDevType Device type Specify the device ty...

Page 152: ...r of target module Page 9 Argument specification IN lLbCnt Number of labels Specify the number of labels Up to 10240 Number of labels can be specified up to 10240 IN pLbLst Label name array Specify the storage address of label name for each label Specify a label name in Unicode UTF 16 IN plDevLst Device name array Specify a device to store device information which is acquired Device information as...

Page 153: ...ication of word device or the digit specification of label the device information cannot be acquired When a label to which a device is not assigned is specified DevGV is stored in the device type DevGV can be specified only with the functions supporting label access mdRandRLabelEx mdRandWLabelEx For accessible CPU modules refer to the following manual MELSEC iQ R C Controller Module User s Manual ...

Page 154: ... 163 mdRandWLabelEx pLbLst Specified value Description pLbLst 0 First Label1 label name storage address Label name pLbLst 1 Second Label2 label name storage address Label name pLbLst 2 Third Label3 label name storage address Label name pLbLst 3 Fourth Label4 label name storage address Label name pLbLst 4 Fifth Label5 label name storage address Label name plDev Read value Description plDev 0 4 Numb...

Page 155: ...ction clears communication route information using the path of the specified channel Return value Relevant functions Page 154 mdOpen Page 146 mdClose Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the following chapter Page 174 ERROR CODE LIST ...

Page 156: ...ith the mdClose function When using multiple channels open the channel one by one Return value Relevant function Page 146 mdClose Argument Name Description IN OUT sChan Channel Specify a communication line channel Page 9 Argument specification IN sMode Mode Specify 1 IN plPath Path of channel Specify the storage destination address of the path of the channel The path of the opened channel is store...

Page 157: ... device plDev To reduce communication time use the mdReceiveEx function To access the own station set the station number to 255 When the actual station number is used an error will occur Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN lNetNo Network number Specify the network number of target module Page 9 Argument specification IN lStNo Station num...

Page 158: ...Block 1 M100 to M115 plDev 2 100 Start device number 100 plDev 3 16 Number of read points 16 plDev 4 DevD Device type D Block 2 D10 to D13 plDev 5 10 Start device number 10 plDev 6 4 Number of read points 4 plDev 7 DevM Device type M Block 3 M0 to M13 plDev 8 0 Start device number 0 plDev 9 14 Number of read points 14 plDev 10 DevTN Device type T Block 4 T10 plDev 11 10 Start device number 10 plDe...

Page 159: ...nk Functions 157 3 Return value Relevant functions Page 154 mdOpen Page 146 mdClose Page 161 mdRandWEx Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the following chapter Page 174 ERROR CODE LIST ...

Page 160: ...nts or less Otherwise a size error 5 occurs When 0 is specified to the label code ullLbCode the device is read without checking the label code Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN lNetNo Network number Specify the network number of target module Page 9 Argument specification IN lStNo Station number Specify the station number of target mod...

Page 161: ...ber of blocks 5 plDev 1 DevM Device type M Block 1 M100 plDev 2 100 Start device number 100 plDev 3 1 Number of read points 1 plDev 4 DevD Device type D Block 2 D10 to D13 plDev 5 10 Start device number 10 plDev 6 4 Number of read points 4 plDev 7 DevM Device type M Block 3 M0 plDev 8 0 Start device number 0 plDev 9 1 Number of read points 1 plDev 10 DevTN Device type T Block 4 T10 plDev 11 10 Sta...

Page 162: ... the manual for the programmable controller CPU MELSEC iQ R CPU Module User s Manual Application Relevant functions Page 154 mdOpen Page 146 mdClose Page 150 mdGetLabelInfo Page 163 mdRandWLabelEx Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the following chapter 1 Page 174 ERROR CODE LIST ...

Page 163: ...ter Also note that sub 2 or sub 3 program will be deleted when data is written to a block extension file register overlapping with the program setting area for sub 2 or sub 3 Argument Name Description IN OUT lPath Channel Specify the path of the channel IN lNetNo Network number Specify the network number of target module Page 9 Argument specification IN lStNo Station number Specify the station num...

Page 164: ...x10000 in LCN101 plDev Specified value Description plDev 0 3 Number of blocks 3 plDev 1 DevM Device type M Block 1 M100 to M115 plDev 2 100 Start device number 100 plDev 3 16 Number of write points 16 plDev 4 DevD Device type D Block 2 D10 to D13 plDev 5 10 Start device number 10 plDev 6 4 Number of write points 4 plDev 7 DevLCN Device type LCN Block 3 LCN100 to LCN101 plDev 8 100 Start device num...

Page 165: ... assigned extension file register Also note that sub 2 or sub 3 program will be deleted when data is written to a block extension file register overlapping with the program setting area for sub 2 or sub 3 When 0 is specified to the label code ullLbCode the device is written without checking the label code Argument Name Description IN OUT lPath Channel Specify the path of the channel IN lNetNo Netw...

Page 166: ...OFF D10 to D13 Stores 10 in D10 200 in D11 300 in D12 and 400 in D13 LCN100 to LCN101 Stores 0x1 in LCN100 and 0x10000 in LCN101 plDev Specified value Description plDev 0 3 Number of blocks 3 plDev 1 DevM Device type M Block 1 M100 plDev 2 100 Start device number 100 plDev 3 1 Number of write points 1 plDev 4 DevD Device type D Block 2 D10 to D13 plDev 5 10 Start device number 10 plDev 6 4 Number ...

Page 167: ...channel IN lNetNo Network number Specify the network number of target module Page 9 Argument specification IN lStNo Station number Specify the station number of target module Page 9 Argument specification IN lDevType Device type Specify the device type for device to be read in batch IN lDevNo Start device number Specify the start device number for device to be read in batch For bit devices specify...

Page 168: ...ion psData 3 or higher and the data size of the received message is returned to the receive message size plSize When the actual size of a received message is bigger than the value specified to the receive message size plSize data up to the specified size is stored in the receive data storage destination psData 3 or higher A received message is stored in the receive data storage destination psData ...

Page 169: ...return value 0 Error completion type 1 Completion status sRet 2 Own station storage channel lDevNo 3 Channel used by send station psData 2 4 Send station network number psData 0 5 Send station number psData 1 6 Not used 7 Not used 8 Arrival monitoring time 9 Receive data length plSize 10 Not used 11 Clock setting flag 12 Clock data Set only in an abnormal state 13 14 15 16 Error detection network ...

Page 170: ...evice batch read function Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN lNetNo Network number Specify the network number of target module Page 9 Argument specification IN lStNo Station number Specify the station number of target module Page 9 Argument specification IN lDevType Device type Specify the device type for device to be written in batch I...

Page 171: ... specified to the station number lStNo and the device type lDevNo For more advanced SEND functions use the C Controller module dedicated functions An error occurs if a message data is sent to a channel currently in use Argument Name Description IN OUT lPath Path of channel Specify the path of the opened channel IN lNetNo Network number Specify the network number of target module A logical station ...

Page 172: ...d return value 0 Execution error completion type lDevType 1 Completion status sRet 2 Own station channel lDevNo 3 Target station storage channel lDevNo 4 Target station network number lNetNo 5 Target station number lStNo 6 Not used 7 Number of retransmission retry 8 Arrival monitoring time 9 Send data length plSize 10 Not used 11 Clock setting flag 12 Clock data 13 14 15 16 Error detection network...

Page 173: ...the target module Page 9 Argument specification IN psCode Model code Specify the storage destination address of the model code Stores the read model code OUT Model code hexadecimal CPU module 0041H Q02CPU Q02HCPU 0042H Q06HCPU 0043H Q12HCPU 0044H Q25HCPU 0049H Q12PHCPU 004AH Q25PHCPU 004BH Q12PRHCPU 004CH Q25PRHCPU 004DH Q02PHCPU 004EH Q06PHCPU 0250H Q00JCPU 0251H Q00CPU 0252H Q01CPU 0260H Q00UJCP...

Page 174: ...72DSCPU 2019H Q173DSCPU 2043H Q12DCCPU V 2044H Q24DHCCPU V 2045H Q24DHCCPU LS 2046H Q24DHCCPU VG 2047H Q26DHCCPU LS 4800H R04CPU 4801H R08CPU 4802H R16CPU 4803H R32CPU 4804H R120CPU 4805H R04ENCPU 4806H R08ENCPU 4807H R16ENCPU 4808H R32ENCPU 4809H R120ENCPU 4820H R12CCPU V 4C00H R16MTCPU 4C01H R32MTCPU 4C02H R64MTCPU 4841H R08PCPU 4842H R16PCPU 4843H R32PCPU 4844H R120PCPU 4891H R08SFCPU 4892H R16...

Page 175: ...C Data Link Functions 173 3 Return value Relevant functions Page 154 mdOpen Page 146 mdClose Return value Description 0 0000H Normal Other than 0 Error For details on the error refer to the following chapter Page 174 ERROR CODE LIST ...

Page 176: ... function performing error An unsupported function in the target station was performed Check the path of the channel network number and station number Check if the function performed in the target station is supported 70 0046H Station number error The specified station number is incorrect The request for other stations was issued to the own station or the network number was not 0 even though the s...

Page 177: ... down error The target CPU module is down Check the operating status of the target CPU and troubleshoot the error according to the user s manual of the CPU module 28414 9102H Target CPU abnormal start error A request was issued to the CPU module which is not operating normally Check the operating status of the target CPU and troubleshoot the error according to the user s manual of the CPU module 2...

Page 178: ...e specified I O number and the slot Check the mounting condition of the target CPU module 28636 9024H Control bus error The control bus to the intelligent function module has an error Check if an error occurs in the bus master CPU CPU No 1 in the multiple CPU system Check the mounting condition of the target CPU module Replace the intelligent function module or base unit 28638 9022H Multiple CPU u...

Page 179: ...ea number offset address and mode are out of range Review the area number offset address and mode 28671 9001H Module identification error Review the parameters Check the specified module Reset the C Controller module or turn the power OFF and ON 28672 9000H Processing code error Reset the C Controller module or turn the power OFF and ON Error code 1 Description Corrective action Decimal Hexadec im...

Page 180: ...eck the specified I O number and the slot Check the mounting condition of the target CPU module 217 FF27H Driver not started The driver is not started Check if the driver is started 219 FF25H Program name error The specified program name is unavailable e g the specified program does not exist or the parameters are not registered Check the specified program name 220 FF24H WDT type error The specifi...

Page 181: ...unction was executed from interrupt service routine without specifying 1 ISR to the call source flag Specify 1 to the call source flag ISR and execute the function again 246 FF0AH Timer event registration error Registering a timer event failed Retry Check if the C Controller module is running normally Reset the C Controller module or turn the power OFF and ON 247 FF09H Program number specification...

Page 182: ...ion number is out of range Check the specified target station number 279 FEE9H File specification error The specified file does not exist A file with the same name already exists The existing file is overwrite protected A file cannot be created in the specified path or the specified path does not exist Check the specified file Check if the existing file is overwrite protected Check if no files exi...

Page 183: ...Input output number network number incorrect specification A network number out of the range other than 1 to 239 was specified 302 FED2H Input output number network number incorrect specification A network number which does not exist was specified 303 FED1H Input output number network number incorrect specification An I O module or intelligent function module controlled by other CPU modules was sp...

Page 184: ... your local Mitsubishi representative 322 FEBEH System bus error An error was detected on the system bus Check the connection status of the extension cable Take measures to reduce noise Reset the CPU module If the same error code is displayed again the possible cause is a hardware failure of the CPU module Please consult your local Mitsubishi representative 323 FEBDH System bus error An error was ...

Page 185: ...tation timeout time specification error Check the timeout time for the disconnection detection of the specified slave station 335 FEB1H Assurance of link scan data waiting time timed out The specified waiting time elapsed Increase the timeout time specified to the argument 336 FEB0H Slave station number specification error The specified slave station number does not exist in the slave station Chec...

Page 186: ...ion for reading writing device randomly is out of range Check the number of the specified blocks 8 FFF8H Channel number error The channel number specified with the mdOpen function is unavailable Check the specified channel number 11 FFF5H Insufficient buffer area error The area size of the read data storage destination is smaller than the read data size Check the area size of the read data storage...

Page 187: ...r module or turn the power OFF and ON 42 FFD6H Close error Communications cannot be closed Retry Check if the C Controller module is running normally Reset the C Controller module or turn the power OFF and ON 43 FFD5H ROM operation error A TC setting value was written to the CPU module during ROM operation Change the TC setting value during RAM operation 52 FFCCH MELSEC data link function service ...

Page 188: ...LSEC Q CC Link IE Controller Network Reference Manual 8193 to 12288 DFFFH to D000H Refer to the following manuals MELSEC iQ R CC Link IE Field Network User s Manual Application MELSEC Q CC Link IE Field Network Master Local Module User s Manual MELSEC L CC Link IE Field Network Master Local Module User s Manual 16385 to 20480 BFFFH to B000H Refer to the following manuals MELSEC iQ R CC Link System...

Page 189: ... 187 4 4 4 Error Codes Different From Conventional Functions Error code return value for replaced functions may differ from the one for conventional functions Be sure to refer to the list of error code in this manual Page 174 ERROR CODE LIST to perform the troubleshooting ...

Page 190: ...r 1 target station System configuration example The CPU module is a programmable controller CPU Example for using the ladder program Precautions For a programmable controller CPU in the program example the data for five words D0 to D4 is written since the start address of the buffer memory is specified with a device psData 0 0 0H 4 4H 0000H psData 4 REMTO instruction request source Own station REM...

Page 191: ...psCmp 2 0 0 10 11 sRet CCPU_DedicatedJInst pcInstName sNetNo 1 sChan 1 sStNo 1 sIoNo 1 sAdd 1 psData 5 sSize 1 psCmp 2 NULL 0 NULL 0 return sRet 1 Return value of the CCPU_DedicatedJInst function 2 Instruction 3 Target network No 1 to 239 4 Own station channel 1 to 32 5 Target station number 1 to 120 6 Start input output number of an intelligent function module 0x0000 to 0x00FE 7 Start address of ...

Page 192: ...nctions is used in the user program replace the function 1 1 Check the specifications of the function before replacement since changing arguments may be required for the replacement in some case Replacement of device type The device types listed on the following table are deleted from R12CCPU V If any of the following device type is used in the user program to be replaced perform the alternative m...

Page 193: ...ther station buffer memory DevRBM The area device corresponding to the device type deleted from R12CCPU V can be accessed with the following method Page 192 Module access device The access target is a network module on the own station Other station random access buffer DevRAB Other station remote input DevRX The area device corresponding to the device type deleted from R12CCPU V can be accessed wi...

Page 194: ...network module on the own station Page 192 CCPU_ReadLinkDevice CCPU_WriteLinkDevice Own station direct link special register 2 SW DevSD DevQSW DevLSW 0 Buffer memory DevSPB The area device corresponding to the device type deleted from R12CCPU V can be accessed with the following method Page 192 Module access device The access target is a network module on the own station Access target Alternative ...

Page 195: ...APPX Appendix 2 How to Replace an Existing Product 193 A Compilation of replaced project Compile the replaced project in CW Workbench ...

Page 196: ...tended mode CCPU_GetConstantProcessStatus CCPU_GetRTC Extended mode CCPU_GetSwitchStatus Extended mode CCPU_MountMemoryCard Extended mode CCPU_ReadSRAM Extended mode CCPU_ReadDevice 1 CCPU_RegistEventLog Extended mode CCPU_ResetWDT Extended mode CCPU_Set7SegLED Extended mode CCPU_SetDotMatrixLED CCPU_SetLEDStatus Extended mode CCPU_SetRTC Extended mode CCPU_StartWDT Extended mode CCPU_StopWDT Exte...

Page 197: ...mode Extended mode CCPU_DedicatedGInst CCPU_DedicatedJInst QBF_SetDevice Basic mode Extended mode CCPU_SetDevice QBF_ToBuf Basic mode Extended mode CCPU_ToBuf CCPU_ToBufHG QBF_UnitInfo Basic mode Extended mode CCPU_GetUnitInfo QBF_WaitEvent Basic mode Extended mode CCPU_WaitEvent QBF_WaitUnitEvent Basic mode Extended mode CCPU_WaitUnitEvent QBF_WriteDevice Basic mode Extended mode CCPU_WriteDevice...

Page 198: ... mode Extended mode CCPU_WriteDevice 1 Function name conventional Mode type Availability in R12CCPU V Function name replaced QBF_DisableCpuInt_ISR Basic mode Extended mode Not available QBF_DisableMultiCPUSyncInt_ISR Basic mode Extended mode CCPU_DisableInt_ISR QBF_DisableUnitInt_ISR Basic mode Extended mode CCPU_DisableInt_ISR QBF_EnableCpuInt_ISR Basic mode Extended mode Not available QBF_Enable...

Page 199: ...ction Basic mode Extended mode mdReceiveEx Message receive function Basic mode Extended mode mdSendEx Device batch write function Basic mode Extended mode mdSendEx Message send function Basic mode Extended mode mdTypeRead Basic mode Extended mode mdDevRst Basic mode mdDevRstEx mdDevSet Basic mode mdDevSetEx mdRandR Basic mode mdRandREx mdRandW Basic mode mdRandWEx mdReceive Device batch read funct...

Page 200: ...mmunication 10 16 CC Link IE Field Network communication 10 22 Channel 37 CW Workbench 6 CW Sim 6 D Dedicated function library 6 7 Device type 9 40 Dummy access 10 11 H Header file 7 9 40 64 66 I ISR 43 M MELSEC data link function 6 7 MELSECNET H network communication 10 28 T Task 11 U User watchdog timer 8 V VxWorks 6 VxWorks standard API function 7 ...

Page 201: ...I 199 MEMO ...

Page 202: ...eadDevice_ISR 133 CCPU_ReadLinkDevice 90 CCPU_RegistEventLog 91 CCPU_RegistEventLog_ISR 134 CCPU_Reset 92 CCPU_ResetDevice 93 CCPU_ResetDevice_ISR 135 CCPU_ResetWDT 94 CCPU_RestoreDefaultCCIEFBCycPrm 95 CCPU_SetDevice 96 CCPU_SetDevice_ISR 136 CCPU_SetDotMatrixLED 97 CCPU_SetDotMatrixLED_ISR 137 CCPU_SetLEDStatus 99 CCPU_SetLEDStatus_ISR 139 CCPU_SetOpSelectMode 100 CCPU_SetRTC 101 CCPU_ShutdownRo...

Page 203: ...I 201 MEMO ...

Page 204: ...D Added or modified parts INTRODUCTION TERMS Section 1 2 Section 1 3 Section 2 2 Section 3 2 Section 4 3 September 2016 SH NA 081371ENG E Added or modified parts TERMS Section 1 3 Section 3 1 Section 3 2 Section 4 3 October 2017 SH NA 081371ENG F Added or modified parts Section 2 1 Section 3 1 Section 4 2 This manual confers no industrial property rights of any other kind nor does it confer any pa...

Page 205: ...been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fir...

Page 206: ...s or trademarks of Intel Corporation in the United States and or other countries Ethernet is a registered trademark of Fuji Xerox Co Ltd in Japan The SD and SDHC logos are trademarks of SD 3C LLC Tornado VxSim VxWorks and Wind River are either registered trademarks or trademarks of Wind River Systems Inc The company names system names and product names mentioned in this manual are either registere...

Page 207: ......

Page 208: ...e When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN ...

Reviews: