User manual
Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
217
Appendix - IEC Compliant Register Names
IEC Register Naming Conventions
The IEC-61131.3 standard specifies register names in the following format:
% (type) (size) (address)
type: I = input, Q = output, M = memory
size: X = bit, B = byte (8 bit), W = word (16 bit), D = double word (32 bit), L = long word (64 bit)
address: can be any number of fields, separated by periods (.)
Only Input, Output, and Memory types are allowed in the naming convention. There is no facility for
differentiating between Network Registers or System Registers, or any explicit way of differentiating between
Analogs and Digitals (other than by size). For greater flexibility an extra address field is used to distinguish
between the different Memory register types, and to give them unique IEC 61131.3 compatible names.
IEC Kingfisher Registers
The table below shows the corresponding IEC-compliant name for all register types. For example, #R13
corresponds to %MW13; #DO3.16 corresponds to %QX3.16, etc. (ch denotes channel number).
Kingfisher Name IEC-1131.3 Name Description
#AI(module).(ch) %IW(module).(ch) Analog Input (16 bit)
#AO(module).(ch) %QW(module).(ch) Analog Output
#DI(module).(ch) %IX(module).(ch) Digital Input (1 bit)
#DO(module).(ch) %QX(module).(ch) Digital Output
#DI(module) %IW(module) Digital Input (as 16 bit word)
#DO(module) %QW(module) Digital Output (as 16 bit word)
#R(number) %MW1.(number) Local Register
#R(number).(ch) %MX1.(number).(ch) Local Register Bit
#NR(rtu).(number) %MW2.(rtu).(number) Network Register
#NR(rtu).(number).(ch) %MX2.(rtu). (number).(ch) Network Register Bit
#NA(rtu).(module).(ch) %MW3.(rtu).(module).(ch) Network Analog
#ND(rtu).(module).(ch) %MX4.(rtu).(module).(ch) Network Digital
#ND(rtu).(module) %MW4.(rtu).(module) Network Digital (as 16 bit word)
#T(number) %MW5.(number) Timer Register
#Y(sys reg type) %MW6.(sys reg #) System Register (Note 1)
#Y(sys reg type).(ch) %MX6.( sys reg #).(ch) System Register Bit (Note 1)
#YMTYPE(module) %MW7.(module).1 System Register : Module Type
#YMVER(module) %MW7.(module).2 System Register : Module Version
#YP(type)(port #) %MW8.(port #).(type #) Port Register (Note 2)
#YP(type)(port #).(ch) %MW8.(port #).(type #).(ch) Port Register Bit (Note 2)
#YL(type)(link #) %MW9.(link #).(type #) Network Link Register (Note 3)
#YL(type)(link #).(ch) %MW9.(link #).(type #).(ch) Network Link Reg. Bit (Note 3)
#Y(type) %MW10.(type #) Time/date Register (Note 4)
#YTICK.(type) %MW10.8.(type #) Timer Tick Bit (Note 5)