Toyopuc Driver Addressing

Addresses for the Toyopuc PLC driver take the form of PX-RRYYY\B

This can be specified using an Address Assist dialog, as shown:

Where:

  • PX- is an optional specification of program number for several register ranges (values between 1 and 3).

  • R represents the register type (either 1 or 2 characters).

  • YYY the register number in hexadecimal (to allow mapping from outputs from the PLC programming software).

  • \B is an optional bit-specifier to read a specific bit from a word based address.
    (Note: specific bit writing of word based addresses is NOT supported currently).

 

The following registers can be prefixed with a Program Number between 1 and 3

K, V, T, C, L, X, Y, M, S, N, R, D, B

The following registers are read as unsigned word by default and use the word addressing scheme

S, N, R, D, B, ES, EN, H, U, EB

The following register types are read as bits by default and use the bit addressing scheme

K, V, T, C, L, X, Y, M, EK, EV, ET, EC, EL, EX, EY, EM, GX, GY, GM

 

The maximum value for a register is based on the following defined data types:

"K" = 0x2FF

"V" = 0x0FF

"T" = 0x1FF

"C" = 0x1FF

"L" = 0x7FF

"X" = 0x7FF

"Y" = 0x7FF

"M" = 0x7FF

"S" = 0x3FF

"N" = 0x1FF

"R" = 0x7FF

"D" = 0x2FFF

"B" = 0x1FFF

"EK" = 0x0FFF

"EV" = 0x0FFF

"ET" = 0x07FF

"EC" = 0x07FF

"EL" = 0x1FFF

"EX" = 0x07FF

"EY" = 0x07FF

"EM" = 0x1FFF

"ES" = 0x07FF

"EN" = 0x07FF

"H" = 0x07FF

"U" = 0x7FFF

"GX" = 0xFFFF

"GY" = 0xFFFF

"GM" = 0xFFFF

"EB" = 0x1FFFF