UNPKG

@ali-pay/node-red-contrib-s7

Version:

A Node-RED node to interact with Siemens S7 PLCs

130 lines (129 loc) 5.2 kB
{ "s7": { "in": { "label": { "name": "s7 in", "endpoint": "PLC", "mode": "输出模式", "variable": "变量", "diff": "当数据有变化时才输出消息", "variable-select": "请选择一个变量", "variable-novar": "没有变量,请先定义变量" }, "mode": { "single": "单个变量", "all-split": "所有变量,每个变量皆输出为一条消息", "all": "所有变量" } }, "out": { "label": { "name": "s7 out", "endpoint": "PLC", "variable": "变量", "variable-select": "请选择一个变量" }, "disclaimer": "生产环境中,请谨慎使用!" }, "control": { "label": { "name": "s7 control", "function": "Function", "endpoint": "PLC" }, "function": { "cycletime": "Cycle time", "trigger": "Trigger read" } }, "endpoint": { "label": { "transport": "Transport", "address": "Address", "port": "Port", "connmode": "Mode", "rack": "Rack", "slot": "Slot", "tsap-local": "Local TSAP", "tsap-remote": "Remote TSAP", "cycletime": "循环读取周期", "timeout": "连接超时时间", "rewritetimes": "失败重写次数", "rewriteinterval": "失败重写间隔", "verbose": "Debug", "adapter": "Adapter", "adapterplaceholder": "Please install 'node-red-contrib-mpi-s7' for MPI/PPI/DP support", "busaddr": "Address", "search": "Search", "flash-led": "Flash LED", "tabs": { "connection": "连接设置", "variables": "变量设置" }, "variables": { "list": "变量列表", "add": "添加", "clean": "删除所有", "del": "删除", "name": "变量名", "addr": "地址", "export": "导出", "import": "导入" } }, "placeholder": { "address": "IP Address or FQDN (plc01.example.com)" }, "transport": { "iso-on-tcp": "Ethernet (ISO-on-TCP)", "mpi-s7": "MPI/PPI/DP Adapter" }, "connmode": { "rack-slot": "Rack/Slot", "tsap": "TSAP" }, "status": { "online": "在线", "badvalues": "失败", "offline": "离线", "unknown": "未知", "connecting": "连接中" } }, "label": { "name": "名称", "select": "Select a device" }, "error": { "onconnect": "Error connecting to PLC: ", "missingconfig": "Missing configuration", "varunknown": "Unknown variable '__var__'", "valmismatch": "Amount of variables and data mismatch", "noresponse": "No response from PLC, restarting communication", "invalidconntype": "Invalid configuration type \"__connmode__\"", "invalidtransport": "Invalid transport \"__transport__\"", "invalidtsap": "Invalid TSAP configuration", "invalidtimeinterval": "Invalid time interval for cycle time of \"__interval__\"", "invalidcontrolfunction": "Invalid control function \"__function__\"" }, "info": { "connect": "Initiating connection to PLC", "disconnect": "Closing connection to PLC", "novars": "No variables configured, skipping cyclic reading", "cycletimetooshort": "Cycle time too short, enforcing minimum of __min__ ms" }, "validation": { "ERR_PARSE_EMPTY": "Address cannot be empty", "ERR_PARSE_UNKNOWN_FORMAT": "Unknown address format, check node's help section", "ERR_PARSE_ADDR_OFFSET": "Byte offset is invalid", "ERR_PARSE_DB_NUMBER": "Number of DB is unknown or invalid", "ERR_PARSE_DB_DATATYPE": "Data type of DB area is unknown or invalid", "ERR_PARSE_AREA": "Area addressed is unknown or invalid", "ERR_PARSE_DATATYPE": "Data type is unknown or invalid", "ERR_PARSE_BIT_OFFSET": "Bit offset is missing or is invalid", "ERR_PARSE_STRING_LEN": "String length is missing or is invalid", "ERR_PARSE_INVALID_BIT_OFFSET": "Bit offset not supported for this type", "ERR_PARSE_INVALID_ARR_LEN": "Array length specified is invalid" } } }